Commit 17df6b72 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[BUGFIX] Do not download artifacts in gitlab voting stage

By default, gitlab passes all artifacts from previous
stages to each job. Thus, the negative-vote job was not
executed in case previous jobs with artifacts failed.

Since those jobs don't need artifacts anyways, not
downloading them solves the issue.

See: https://docs.gitlab.com/ee/ci/yaml/README.html#dependencies

Change-Id: Id38354949ddc7b9f059dc4203208b4e949568b2d
Resolves: #94013
Releases: master, 10.4, 9.5
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/68867

Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 2a60beb1
......@@ -3,6 +3,7 @@ slack notification success:
only:
- schedules
when: on_success
dependencies: []
script: |
curl -X POST \
--header "cache-control: no-cache" \
......@@ -19,6 +20,7 @@ slack notification failed:
only:
- schedules
when: on_failure
dependencies: []
script: |
curl -X POST \
--header "cache-control: no-cache" \
......
......@@ -5,6 +5,7 @@ gerrit vote positive:
- schedules
- "9.5"
when: on_success
dependencies: []
script: |
# When branch is of form 'gerrit-12345-12', vote on gerrit
if [[ "$CI_COMMIT_REF_NAME" =~ ^gerrit\-[[:digit:]]+\-[[:digit:]]+$ ]]; then
......@@ -29,6 +30,7 @@ gerrit vote negative:
- schedules
- "9.5"
when: on_failure
dependencies: []
script: |
# When branch is of form 'gerrit-12345-12', vote on gerrit
if [[ "$CI_COMMIT_REF_NAME" =~ ^gerrit\-[[:digit:]]+\-[[:digit:]]+$ ]]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment