mirror of https://github.com/apache/superset.git
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 a97213db78
.
* pre-commit linting
* remove docker.txt check
This commit is contained in:
parent
281305e0cf
commit
d74044c2e6
|
@ -28,13 +28,9 @@ analyze:
|
|||
type: npm
|
||||
target: superset-frontend
|
||||
path: superset-frontend
|
||||
- name: docs
|
||||
type: pip
|
||||
target: docs
|
||||
path: docs
|
||||
- name: .
|
||||
- name: base
|
||||
type: pip
|
||||
target: .
|
||||
path: .
|
||||
options:
|
||||
requirements: ./requirements/testing.txt
|
||||
requirements: ./requirements/base.txt
|
||||
|
|
|
@ -33,7 +33,7 @@ jobs:
|
|||
|
||||
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"
|
||||
|
||||
./scripts/fossa.sh
|
||||
|
|
|
@ -18,10 +18,12 @@
|
|||
#
|
||||
|
||||
# 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
|
||||
|
||||
# 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
|
||||
export FOSSA_API_KEY="${FOSSA_API_KEY:-f72e93645bdfeab94bd227c7bbdda4ef}"
|
||||
fossa init
|
||||
fossa analyze
|
||||
fossa test
|
||||
|
|
Loading…
Reference in New Issue