From c135b7d0b4bf58bb0c21e0625f1e089893addc3f Mon Sep 17 00:00:00 2001 From: Sean Sube Date: Sun, 18 Apr 2021 21:14:57 +0000 Subject: [PATCH] cc-vuln-test --- .gitlab-ci.yml | 144 +------------------------------------------------ 1 file changed, 2 insertions(+), 142 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2c8b031..9c868d1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,150 +10,10 @@ stages: - status-post # build jobs -build-node: +cc-vuln-test: stage: build extends: - .build-node script: - - make ci - - artifacts: - when: always - expire_in: 1 day - paths: - - out/ - - cache: - key: "${CI_COMMIT_REF_SLUG}" - policy: pull-push - paths: - - node_modules/ - - out/api - - out/cache - - out/tmp - -build-image-alpine-branch: - extends: - - .build-docker - stage: image - except: - - tags - script: - - ./scripts/docker-build.sh --push --default - variables: - IMAGE_ARCH: alpine - -build-image-alpine-tag: - extends: - - .build-docker - stage: image - only: - - tags - script: - - ./scripts/docker-build.sh --push --default - variables: - IMAGE_ARCH: alpine - -build-image-stretch-branch: - stage: image - extends: [.build-docker] - except: - - tags - script: - - ./scripts/docker-build.sh --push - variables: - IMAGE_ARCH: stretch - -build-image-stretch-tag: - stage: image - extends: - - .build-docker - only: - - tags - script: - - ./scripts/docker-build.sh --push - variables: - IMAGE_ARCH: stretch - -# publish jobs -publish-npm: - stage: publish - extends: - - .build-node - - .deploy-tags - - dependencies: - - build-node - script: - - npm publish - -# commit status -climate-pending: - stage: status-pre - extends: - - .build-climate - - script: - - cc-test-reporter before-build - -climate-success: - stage: status-post - extends: - - .build-climate - - dependencies: - - build-node - script: - - make upload-climate - -codecov-success: - stage: status-post - extends: - - .build-codecov - - when: on_success - dependencies: - - build-node - script: - - make upload-codecov - -github-pending: - stage: status-pre - extends: - - .build-curl - script: - - ./scripts/github-status.sh pending - -github-failure: - stage: status-post - extends: - - .build-curl - when: on_failure - script: - - ./scripts/github-status.sh failure - -github-success: - stage: status-post - extends: - - .build-curl - when: on_success - script: - - ./scripts/github-status.sh success - -sonar-success: - stage: status-post - extends: - - .build-sonar - - when: on_success - script: - - make node_modules - - sonar-scanner - -Dsonar.projectKey=ssube_salty-dog - -Dsonar.projectVersion=${CI_COMMIT_REF_SLUG} - -Dsonar.organization=ssube-github - -Dsonar.sources=src/,test/ - -Dsonar.host.url=https://sonarcloud.io - -Dsonar.login=${SONAR_SECRET} - -Dsonar.typescript.lcov.reportPaths=out/coverage/lcov.info + - env