diff options
| author | Olivier Gonzalez <52092-gonzoyumo@users.noreply.gitlab.com> | 2020-10-02 17:05:36 +0000 |
|---|---|---|
| committer | Olivier Gonzalez <52092-gonzoyumo@users.noreply.gitlab.com> | 2020-10-02 17:05:36 +0000 |
| commit | df6b8ca431677a8a9c6af83521e562d3938a64c2 (patch) | |
| tree | bd8349810bfea7df68894e1bf6dafaa485883123 | |
| parent | 1af24204ab6c4c7dacbe1daa60a1b5a5279f4e5d (diff) | |
restore CI config
| -rw-r--r-- | .gitlab-ci.yml | 89 |
1 files changed, 44 insertions, 45 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 89e69c8..55cf930 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,57 +6,56 @@ variables: GIT_STRATEGY: fetch MAJOR: 3 TMP_IMAGE: $CI_REGISTRY_IMAGE/license-finder:$CI_COMMIT_SHA - SECURE_LOG_LEVEL: debug include: - # - template: Container-Scanning.gitlab-ci.yml - # - template: Dependency-Scanning.gitlab-ci.yml - # - template: Jobs/Code-Quality.gitlab-ci.yml - # - template: License-Scanning.gitlab-ci.yml + - template: Container-Scanning.gitlab-ci.yml + - template: Dependency-Scanning.gitlab-ci.yml + - template: Jobs/Code-Quality.gitlab-ci.yml + - template: License-Scanning.gitlab-ci.yml - template: Secret-Detection.gitlab-ci.yml - # - local: .gitlab/deb.yml - # - local: .gitlab/build.yml - # - local: .gitlab/test.yml - # - local: .gitlab/deploy.yml - # - local: .gitlab/maintenance.yml + - local: .gitlab/deb.yml + - local: .gitlab/build.yml + - local: .gitlab/test.yml + - local: .gitlab/deploy.yml + - local: .gitlab/maintenance.yml -# stages: -# - deb -# - build -# - test -# - deploy -# - maintenance +stages: + - deb + - build + - test + - deploy + - maintenance -# default: -# image: -# name: $TMP_IMAGE -# entrypoint: [""] -# tags: [gitlab-org] +default: + image: + name: $TMP_IMAGE + entrypoint: [""] + tags: [gitlab-org] -# container_scanning: -# variables: -# CI_APPLICATION_REPOSITORY: $CI_REGISTRY_IMAGE/license-finder # only predefined variables are parameter-expanded (no $TMP_IMAGE) -# needs: ['build-docker-image'] +container_scanning: + variables: + CI_APPLICATION_REPOSITORY: $CI_REGISTRY_IMAGE/license-finder # only predefined variables are parameter-expanded (no $TMP_IMAGE) + needs: ['build-docker-image'] -# code_quality: -# before_script: -# - rm .rubocop.yml -# services: -# - docker:stable-dind -# tags: [gitlab-org-docker] +code_quality: + before_script: + - rm .rubocop.yml + services: + - docker:stable-dind + tags: [gitlab-org-docker] -# dependency_scanning: -# services: -# - docker:stable-dind -# tags: [gitlab-org-docker] -# needs: [] +dependency_scanning: + services: + - docker:stable-dind + tags: [gitlab-org-docker] + needs: [] -# license_scanning: -# image: -# name: $TMP_IMAGE -# before_script: -# - apt-get check -# variables: -# LM_REPORT_VERSION: '2.1' -# needs: ['build-docker-image'] -# allow_failure: false +license_scanning: + image: + name: $TMP_IMAGE + before_script: + - apt-get check + variables: + LM_REPORT_VERSION: '2.1' + needs: ['build-docker-image'] + allow_failure: false |
