Update FOSSA configuration for new requirements layout (#10848)
* Update FOSSA configuration * test FOSSA failure * Update FOSSA files changed regex * Revert "test FOSSA failure" This reverts commit a97213db785a24a372e8f60e4f10af79de21bf1e. * pre-commit linting * remove docker.txt check
This commit is contained in:
parent
281305e0cf
commit
d74044c2e6
|
|
@ -28,13 +28,9 @@ analyze:
|
||||||
type: npm
|
type: npm
|
||||||
target: superset-frontend
|
target: superset-frontend
|
||||||
path: superset-frontend
|
path: superset-frontend
|
||||||
- name: docs
|
- name: base
|
||||||
type: pip
|
|
||||||
target: docs
|
|
||||||
path: docs
|
|
||||||
- name: .
|
|
||||||
type: pip
|
type: pip
|
||||||
target: .
|
target: .
|
||||||
path: .
|
path: .
|
||||||
options:
|
options:
|
||||||
requirements: ./requirements/testing.txt
|
requirements: ./requirements/base.txt
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ jobs:
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
if [[ "${FILES}" =~ (.*package*\.json|requirements/*\.txt|setup\.py) ]]; then
|
if [[ "${FILES}" =~ (.*package*\.json|requirements\/[a-z_-]+\.txt|setup\.py) ]]; then
|
||||||
echo "Detected dependency changes... running fossa check"
|
echo "Detected dependency changes... running fossa check"
|
||||||
|
|
||||||
./scripts/fossa.sh
|
./scripts/fossa.sh
|
||||||
|
|
|
||||||
|
|
@ -18,10 +18,12 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# This is the recommended way to install FOSSA's cli per the docs:
|
# This is the recommended way to install FOSSA's cli per the docs:
|
||||||
# https://docs.fossa.com/docs/travisci#section-add-fossa-steps-to-travisyml
|
# https://docs.fossa.com/docs/generic-ci
|
||||||
curl -s -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | sudo bash
|
curl -s -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | sudo bash
|
||||||
|
|
||||||
# This key is a push-only API key, also recommended for public projects
|
# This key is a push-only API key, also recommended for public projects
|
||||||
# https://docs.fossa.com/docs/api-reference#section-push-only-api-token
|
# https://docs.fossa.com/docs/api-reference#section-push-only-api-token
|
||||||
export FOSSA_API_KEY="${FOSSA_API_KEY:-f72e93645bdfeab94bd227c7bbdda4ef}"
|
export FOSSA_API_KEY="${FOSSA_API_KEY:-f72e93645bdfeab94bd227c7bbdda4ef}"
|
||||||
|
fossa init
|
||||||
fossa analyze
|
fossa analyze
|
||||||
|
fossa test
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue