UNPKG

keyupdateddtscript

Version:

Generate DDT2k scripts for provisionning many keys

53 lines (44 loc) 1.83 kB
# You can override the included template(s) by including variable overrides # SAST customization: https://docs.gitlab.com/ee/user/application_security/sast/#customizing-the-sast-settings # Secret Detection customization: https://docs.gitlab.com/ee/user/application_security/secret_detection/#customizing-settings # Dependency Scanning customization: https://docs.gitlab.com/ee/user/application_security/dependency_scanning/#customizing-the-dependency-scanning-settings # Container Scanning customization: https://docs.gitlab.com/ee/user/application_security/container_scanning/#customizing-the-container-scanning-settings # Note that environment variables can be set in several places # See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence njsscan: image: python before_script: - pip3 install --upgrade njsscan script: - njsscan . image: node:latest stages: - test sast: stage: test test_ci: before_script: - set WITH_NODEJS=y - echo "%path%" - set path="C:/Program Files/Git/bin;%path%" script: - sh.exe -c "npm run test" stages: - deploy deploy: stage: deploy before_script: - set CI_SERVER_HOST=registry.npmjs.org - set CI_JOB_TOKEN=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 - set CI_USER_ID=rcohenscali - set shell=C:\Program Files\Git\bin\sh.exe - set python=C:/Users/a047461/AppData/Local/Microsoft/WindowsApps/python3.exe - echo "registry=https://registry.npmjs.org/">.npmrc - echo "user=rcohenscali">>.npmrc - echo "//${CI_SERVER_HOST}/:_authToken=${CI_JOB_TOKEN}">>.npmrc - echo "shell=C:\Program Files\Git\bin\sh.exe">>.npmrc - echo "python=C:/Users/a047461/AppData/Local/Microsoft/WindowsApps/python3.exe">>.npmrc script: - npm publish include: - template: Security/SAST.gitlab-ci.yml