File: /home/cafsindia/snap.cafsinfotech.in/node_modules/@cattr/gitlab-integration/.gitlab-ci.yml
stages:
- test
- deploy
sast:
variables:
SAST_EXCLUDED_ANALYZERS: bandit, brakeman, flawfinder, gosec, kubesec, phpcs-security-audit,
pmd-apex, security-code-scan, sobelow, spotbugs
stage: test
deploy:
image: node:gallium
only:
- tags
stage: deploy
before_script:
- export DOCKER_TAG=$(echo "$CI_COMMIT_REF_NAME" | sed 's/^v//g')
- yarn
- yarn version "$DOCKER_TAG"
script:
- yarn npm publish
include:
- template: Security/SAST.gitlab-ci.yml
- template: Security/Dependency-Scanning.gitlab-ci.yml
- template: Security/Secret-Detection.gitlab-ci.yml
- template: Security/License-Scanning.gitlab-ci.yml