Commit c25d49cf authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'da/move-debug-env-var' into 'master'

Move debug variable as a workaround to an artifact upload bug

See merge request gitlab-org/gitlab!78569
parents 1afb0102 f87112fe
...@@ -112,7 +112,6 @@ yarn-audit-dependency_scanning: ...@@ -112,7 +112,6 @@ yarn-audit-dependency_scanning:
name: registry.gitlab.com/gitlab-com/gl-security/security-research/package-hunter-cli:1.1.0 name: registry.gitlab.com/gitlab-com/gl-security/security-research/package-hunter-cli:1.1.0
entrypoint: [""] entrypoint: [""]
variables: variables:
DEBUG: '*'
HTR_user: '$PACKAGE_HUNTER_USER' HTR_user: '$PACKAGE_HUNTER_USER'
HTR_pass: '$PACKAGE_HUNTER_PASS' HTR_pass: '$PACKAGE_HUNTER_PASS'
needs: [] needs: []
...@@ -121,7 +120,7 @@ yarn-audit-dependency_scanning: ...@@ -121,7 +120,7 @@ yarn-audit-dependency_scanning:
- rm -r spec locale .git app/assets/images doc/ - rm -r spec locale .git app/assets/images doc/
- cd .. && tar -I "gzip --best" -cf gitlab.tgz gitlab/ - cd .. && tar -I "gzip --best" -cf gitlab.tgz gitlab/
script: script:
- node /usr/src/app/cli.js analyze --format gitlab --manager ${PACKAGE_MANAGER} gitlab.tgz | tee ${CI_PROJECT_DIR}/gl-dependency-scanning-report.json - DEBUG=* node /usr/src/app/cli.js analyze --format gitlab --manager ${PACKAGE_MANAGER} gitlab.tgz | tee ${CI_PROJECT_DIR}/gl-dependency-scanning-report.json
artifacts: artifacts:
paths: paths:
- gl-dependency-scanning-report.json - gl-dependency-scanning-report.json
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment