Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fossa scan to ensure we can release under apache v2 #2893

Merged
merged 7 commits into from
Sep 26, 2018

Conversation

plonergan
Copy link
Contributor

@plonergan plonergan commented Aug 24, 2018

TODO:

  • get the scan green
  • whitelist things we want to ignore and document how to do that

/cc @zendesk/samson

@grosser
Copy link
Contributor

grosser commented Aug 24, 2018

what is this and why is it needed ?

.travis.yml Outdated
@@ -4,7 +4,7 @@ cache:
directories:
- tmp/rubocop_cache
- node_modules
sudo: false
sudo: required
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only switch for the new job

.travis.yml Outdated
@@ -25,3 +25,13 @@ before_script:
- mysql -u root -e 'set GLOBAL innodb_file_format = "barracuda"'
- mysql -u root -e 'GRANT ALL ON *.* TO 'travis'@'localhost';'
script: bundle exec rake $TASK
jobs:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jobs -> matrix

.travis.yml Outdated
script:
- fossa init
- fossa analyze --branch master
env: ""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

put something like TASK=FOSSA here so that it shows nicely in the build overview page

.travis.yml Outdated
jobs:
include:
- stage: fossa
before_script: curl -H 'Cache-Control:no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | bash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe better to put init here since we only want the analyze output in the job output

@grosser grosser changed the title WIP: Initial Fossa configuration Add fossa scan to ensure we can release under apache v2 Aug 27, 2018
@grosser
Copy link
Contributor

grosser commented Aug 28, 2018

/tmp/install-fossa-cli/fossa test
No output has been received in the last 10m0s, 

... so ask the fossa guys how long scans usually take ...
we can add some kind of progressbar to the test to make it not crash, but if it takes too long than that would slow down our CI :(

@grosser
Copy link
Contributor

grosser commented Aug 31, 2018

need fossas/fossa-cli#247 to be resolved first :(

@grosser
Copy link
Contributor

grosser commented Sep 26, 2018

@ragurney looks good ?

@grosser grosser merged commit 378fe38 into master Sep 26, 2018
@grosser grosser deleted the plonergan/fossa branch September 26, 2018 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants