Skip to content
Snippets Groups Projects
Verified Commit ff4fdc14 authored by Luc Everse's avatar Luc Everse :passport_control:
Browse files

Merge branch 'development' into 256-python-detector-version

parents f50e8eb0 88beb988
Branches
Tags
2 merge requests!161Release 2.3.2,!155Output the Python version and detection pattern in the right order
Pipeline #429382 passed
...@@ -69,64 +69,64 @@ variables: ...@@ -69,64 +69,64 @@ variables:
stages: stages:
- build - build
- test - test
- review # - review
# - dast # - dast
- staging # - staging
- canary # - canary
- jar - jar
- publish - publish
- production # - production
- incremental rollout 10% # - incremental rollout 10%
- incremental rollout 25% # - incremental rollout 25%
- incremental rollout 50% # - incremental rollout 50%
- incremental rollout 100% # - incremental rollout 100%
- performance # - performance
- cleanup # - cleanup
include: include:
- template: Jobs/Build.gitlab-ci.yml # - template: Jobs/Build.gitlab-ci.yml
- template: Jobs/Test.gitlab-ci.yml # - template: Jobs/Test.gitlab-ci.yml
# - template: Jobs/Code-Quality.gitlab-ci.yml # - template: Jobs/Code-Quality.gitlab-ci.yml
- template: Jobs/Deploy.gitlab-ci.yml # - template: Jobs/Deploy.gitlab-ci.yml
- template: Jobs/Browser-Performance-Testing.gitlab-ci.yml # - template: Jobs/Browser-Performance-Testing.gitlab-ci.yml
# - template: Security/DAST.gitlab-ci.yml #re-enable when testing website # - template: Security/DAST.gitlab-ci.yml #re-enable when testing website
# - template: Security/Container-Scanning.gitlab-ci.yml # - template: Security/Container-Scanning.gitlab-ci.yml
# - template: Security/Dependency-Scanning.gitlab-ci.yml #Wait for GitLab 12.0 # - template: Security/Dependency-Scanning.gitlab-ci.yml #Wait for GitLab 12.0
- template: License-Management.gitlab-ci.yml # - template: License-Management.gitlab-ci.yml
# - template: Security/SAST.gitlab-ci.yml # - template: Security/SAST.gitlab-ci.yml
trampoline: #trampoline:
image: # image:
name: "timvanderhorst/trampoline:auta" # name: "timvanderhorst/trampoline:auta"
entrypoint: [""] # entrypoint: [""]
stage: test # stage: test
allow_failure: true # allow_failure: true
script: # script:
- cd /home/trampoline ; python3 run.py # - cd /home/trampoline ; python3 run.py
artifacts: # artifacts:
paths: # paths:
- report.json # - report.json
- report.html # - report.html
expire_in: 1 week # expire_in: 1 week
#
trampoline-feedback: #trampoline-feedback:
image: # image:
name: "timvanderhorst/trampoline:auta" # name: "timvanderhorst/trampoline:auta"
entrypoint: [""] # entrypoint: [""]
variables: # variables:
AUTA_ASSIGNMENT_ID: 5cda623347fc2b00068befa1 # AUTA_ASSIGNMENT_ID: 5cda623347fc2b00068befa1
stage: test # stage: test
allow_failure: true # allow_failure: true
script: # script:
- cd /home/trampoline ; python3 run.py # - cd /home/trampoline ; python3 run.py
artifacts: # artifacts:
paths: # paths:
- report.json # - report.json
- report.html # - report.html
- benchmark_CYCLOMATIC_COMPLEXITY_METHOD.html # - benchmark_CYCLOMATIC_COMPLEXITY_METHOD.html
- benchmark_METHOD_EFFECTIVE_LOC_METHOD.html # - benchmark_METHOD_EFFECTIVE_LOC_METHOD.html
- benchmark_PARAMETER_COUNT_METHOD.html # - benchmark_PARAMETER_COUNT_METHOD.html
expire_in: 1 week # expire_in: 1 week
checkstyle: checkstyle:
# image: $CI_REGISTRY/$CI_PROJECT_PATH/$CI_COMMIT_REF_NAME:$CI_COMMIT_SHA # image: $CI_REGISTRY/$CI_PROJECT_PATH/$CI_COMMIT_REF_NAME:$CI_COMMIT_SHA
...@@ -165,11 +165,12 @@ jar-worker: ...@@ -165,11 +165,12 @@ jar-worker:
expire_in: 1h expire_in: 1h
publish-core: publish-core:
image: registry.gitlab.com/gitlab-org/cluster-integration/auto-build-image/master:stable image: docker:19.03.13
variables: variables:
DOCKER_TLS_CERTDIR: "" DOCKER_TLS_CERTDIR: ""
DOCKER_HOST: tcp://docker:2375
services: services:
- docker:19.03.5-dind - docker:19.03.13-dind
only: only:
- branches - branches
stage: publish stage: publish
...@@ -177,14 +178,15 @@ publish-core: ...@@ -177,14 +178,15 @@ publish-core:
- jar-core - jar-core
script: script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- devops/build-slim-image core $CI_COMMIT_REF_NAME - sh devops/build-slim-image core $CI_COMMIT_REF_NAME
publish-worker: publish-worker:
image: registry.gitlab.com/gitlab-org/cluster-integration/auto-build-image/master:stable image: docker:19.03.13
variables: variables:
DOCKER_TLS_CERTDIR: "" DOCKER_TLS_CERTDIR: ""
DOCKER_HOST: tcp://docker:2375
services: services:
- docker:19.03.5-dind - docker:19.03.13-dind
only: only:
- branches - branches
stage: publish stage: publish
...@@ -192,10 +194,11 @@ publish-worker: ...@@ -192,10 +194,11 @@ publish-worker:
- jar-worker - jar-worker
script: script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- devops/build-slim-image worker $CI_COMMIT_REF_NAME - sh devops/build-slim-image worker $CI_COMMIT_REF_NAME
# Override DAST job to exclude master branch # Override DAST job to exclude master branch
#dast: #dast:
# except: # except:
# refs: # refs:
# - master # - master
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment