Added veloren-publish tags and veloren-build tags to CI configuration

This commit is contained in:
Ben Wallis 2021-07-01 16:53:53 +01:00 committed by Marcel Märtens
parent 738136e70f
commit 5b4a7722b1
4 changed files with 17 additions and 1 deletions

View File

@ -25,7 +25,7 @@ default:
- runner_system_failure - runner_system_failure
- stuck_or_timeout_failure - stuck_or_timeout_failure
tags: tags:
- veloren-docker - veloren-build
# NOTE: overriden for the `.tmacos` template so relevant changes need to be mirrored there # NOTE: overriden for the `.tmacos` template so relevant changes need to be mirrored there
before_script: before_script:

View File

@ -2,6 +2,8 @@ unittests:
extends: .recompile-branch extends: .recompile-branch
stage: build stage: build
image: registry.gitlab.com/veloren/veloren-docker-ci/cache/quality:${CACHE_IMAGE_TAG} image: registry.gitlab.com/veloren/veloren-docker-ci/cache/quality:${CACHE_IMAGE_TAG}
tags:
- veloren-build
variables: variables:
GIT_DEPTH: 9999999999999 GIT_DEPTH: 9999999999999
script: script:
@ -58,6 +60,8 @@ coverage:
extends: .release extends: .release
stage: build stage: build
image: registry.gitlab.com/veloren/veloren-docker-ci/cache/tarpaulin:${CACHE_IMAGE_TAG} image: registry.gitlab.com/veloren/veloren-docker-ci/cache/tarpaulin:${CACHE_IMAGE_TAG}
tags:
- veloren-build
script: script:
- ln -s /dockercache/target target - ln -s /dockercache/target target
- cat ./.gitlab/scripts/coverage.sh - cat ./.gitlab/scripts/coverage.sh
@ -163,17 +167,23 @@ air-linux:
extends: extends:
- .tlinux - .tlinux
- .release-nightly-tmp-fix-airshipper - .release-nightly-tmp-fix-airshipper
tags:
- veloren-publish
air-windows: air-windows:
extends: extends:
- .twindows - .twindows
- .release-nightly-tmp-fix-airshipper - .release-nightly-tmp-fix-airshipper
tags:
- veloren-publish
air-macos: air-macos:
extends: extends:
- .tmacos - .tmacos
- .release-nightly-tmp-fix-airshipper - .release-nightly-tmp-fix-airshipper
- .tmacos-master-cache - .tmacos-master-cache
tags:
- veloren-publish
# if NOT release or master, allow optional builds # if NOT release or master, allow optional builds
opt-linux: opt-linux:

View File

@ -3,6 +3,8 @@ code-quality:
extends: .recompile-branch extends: .recompile-branch
stage: check stage: check
image: registry.gitlab.com/veloren/veloren-docker-ci/cache/quality:${CACHE_IMAGE_TAG} image: registry.gitlab.com/veloren/veloren-docker-ci/cache/quality:${CACHE_IMAGE_TAG}
tags:
- veloren-build
script: script:
- ln -s /dockercache/target target - ln -s /dockercache/target target
- cat ./.gitlab/scripts/code-quality.sh - cat ./.gitlab/scripts/code-quality.sh
@ -12,6 +14,8 @@ security:
extends: .recompile-branch extends: .recompile-branch
stage: check stage: check
image: registry.gitlab.com/veloren/veloren-docker-ci/cache/quality:${CACHE_IMAGE_TAG} image: registry.gitlab.com/veloren/veloren-docker-ci/cache/quality:${CACHE_IMAGE_TAG}
tags:
- veloren-build
allow_failure: true allow_failure: true
script: script:
- ln -s /dockercache/target target - ln -s /dockercache/target target

View File

@ -35,6 +35,8 @@ docker-nightly:
image: image:
name: gcr.io/kaniko-project/executor:debug name: gcr.io/kaniko-project/executor:debug
entrypoint: [""] entrypoint: [""]
tags:
- veloren-publish
dependencies: dependencies:
- air-linux - air-linux
before_script: before_script: