Skip to content

Commit 9600a4f

Browse files
committed
Always rebuild containers
Gitlabci only triggers the build if the topmost commit changes the files. Any PR with more than 1 commit could lose the trigger and miss needed information. This does create the issue that we will recreate containers more often.
1 parent a95959b commit 9600a4f

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

.gitlab-ci.yml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ variables:
6161
pr-ci:
6262
<<: *registry_gitlab
6363
<<: *ci_template
64-
only:
65-
changes:
66-
- .gitlab-ci.yml
67-
- docker-gitlabci/**/*
6864
except:
6965
- main
7066

@@ -74,17 +70,10 @@ release-ci:
7470
only:
7571
refs:
7672
- main
77-
changes:
78-
- .gitlab-ci.yml
79-
- docker-gitlabci/**/*
8073

8174
check-pr-contributor:
8275
<<: *job_check-pr
8376
<<: *matrix_contributor_template
84-
only:
85-
changes:
86-
- .gitlab-ci.yml
87-
- docker-contributor/**/*
8877
script:
8978
- cd docker-contributor
9079
- docker pull $CONTRIBUTOR_IMAGE:${ARCH} || true
@@ -96,9 +85,6 @@ release-contributor-arch:
9685
only:
9786
refs:
9887
- main
99-
changes:
100-
- .gitlab-ci.yml
101-
- docker-contributor/**/*
10288
script:
10389
- cd docker-contributor
10490
- docker pull $CONTRIBUTOR_IMAGE:${ARCH} || true
@@ -110,9 +96,6 @@ release-contributor-latest:
11096
only:
11197
refs:
11298
- main
113-
changes:
114-
- .gitlab-ci.yml
115-
- docker-contributor/**/*
11699
needs:
117100
- release-contributor-arch
118101
script:
@@ -139,10 +122,6 @@ release-DOMjudge:
139122
140123
check-pr-DOMjudge:
141124
<<: *job_check-pr
142-
only:
143-
changes:
144-
- .gitlab-ci.yml
145-
- docker/**/*
146125
script:
147126
- HUBURL="https://registry.hub.docker.com/v1/repositories/domjudge/domserver/tags"
148127
- apk add jq curl

0 commit comments

Comments
 (0)