@@ -13,10 +13,6 @@ variables:
1313 SCCACHE_DIR : " /ci-cache/${CI_PROJECT_NAME}/sccache"
1414 CARGO_TARGET : x86_64-unknown-linux-gnu
1515
16- .no_git : &no_git # disable git strategy
17- variables :
18- GIT_STRATEGY : none
19- GIT_SUBMODULE_STRATEGY : none
2016
2117.releaseable_branches : # list of git refs for building GitLab artifacts (think "pre-release binaries")
2218 only : &releaseable_branches
@@ -205,11 +201,10 @@ build-windows:
205201
206202publish-docker :
207203 stage : publish
208- << : *no_git
209204 only : *releaseable_branches
210205 except :
211- variables :
212- - $SCHEDULE_TAG == "nightly"
206+ - nightly
207+ when : manual
213208 dependencies :
214209 - build-linux
215210 environment :
@@ -219,23 +214,24 @@ publish-docker:
219214 services :
220215 - docker:dind
221216 variables :
217+ GIT_STRATEGY : none
222218 DOCKER_HOST : tcp://localhost:2375
223219 DOCKER_DRIVER : overlay2
224220 GIT_STRATEGY : none
225221 # DOCKERFILE: tools/Dockerfile
226222 # CONTAINER_IMAGE: parity/parity
227223 script :
228- # we stopped pushing nightlies to dockerhub, will push to own registry prb.
229224 - ./tools/publish-docker.sh
230225 tags :
231226 - kubernetes-parity-build
232227
233- publish-snap : &publish-snap
228+ publish-snap-nightly : &publish-snap
234229 stage : publish
235- << : *no_git
236- only : *releaseable_branches
230+ only :
231+ - nightly
237232 image : snapcore/snapcraft
238233 variables :
234+ GIT_STRATEGY : none
239235 BUILD_ARCH : amd64
240236 cache : {}
241237 dependencies :
@@ -245,35 +241,57 @@ publish-snap: &publish-snap
245241 script :
246242 - ./tools/publish-snap.sh
247243
248- publish-snap-i386 :
244+ publish-snap-manually :
245+ << : *publish-snap
246+ only : *releaseable_branches
247+ when : manual
248+
249+ publish-snap-i386-nightly : &publish-snap-i386
249250 << : *publish-snap
250251 variables :
251252 BUILD_ARCH : i386
252253 CARGO_TARGET : i686-unknown-linux-gnu
253254 dependencies :
254255 - build-linux-i386
255256
256- publish-snap-arm64 :
257+ publish-snap-i386-manually :
258+ << : *publish-snap-i386
259+ only : *releaseable_branches
260+ when : manual
261+
262+ publish-snap-arm64-nightly : &publish-snap-arm64
257263 << : *publish-snap
258264 variables :
259265 BUILD_ARCH : arm64
260266 CARGO_TARGET : aarch64-unknown-linux-gnu
261267 dependencies :
262268 - build-linux-arm64
263269
264- publish-snap-armhf :
270+ publish-snap-arm64-manually :
271+ << : *publish-snap-arm64
272+ only : *releaseable_branches
273+ when : manual
274+
275+ publish-snap-armhf-nightly : &publish-snap-armhf
265276 << : *publish-snap
266277 variables :
267278 BUILD_ARCH : armhf
268279 CARGO_TARGET : armv7-unknown-linux-gnueabihf
269280 dependencies :
270281 - build-linux-armhf
271282
272- publish-onchain :
273- stage : publish
274- << : *no_git
283+ publish-snap-armhf-manually :
284+ << : *publish-snap-armhf
275285 only : *releaseable_branches
286+ when : manual
287+
288+ publish-onchain-nightly : &publish-onchain
289+ stage : publish
290+ only :
291+ - nightly
276292 cache : {}
293+ variables :
294+ GIT_STRATEGY : none
277295 dependencies :
278296 - build-linux
279297 - build-darwin
@@ -283,11 +301,18 @@ publish-onchain:
283301 tags :
284302 - linux-docker
285303
286- publish-awss3-release :
304+ publish-onchain-manually :
305+ << : *publish-onchain
306+ only : *releaseable_branches
307+ when : manual
308+
309+ publish-release-awss3-nightly : &publish-release-awss3
287310 image : parity/awscli:latest
288311 stage : publish
289- only : *releaseable_branches
290- << : *no_git
312+ only :
313+ - nightly
314+ variables :
315+ GIT_STRATEGY : none
291316 cache : {}
292317 dependencies :
293318 - build-linux
@@ -309,13 +334,19 @@ publish-awss3-release:
309334 tags :
310335 - linux-docker
311336
337+ publish-release-awss3-manually :
338+ << : *publish-release-awss3
339+ only : *releaseable_branches
340+ when : manual
341+
312342publish-docs :
313343 stage : publish
314344 image : parity/parity-ci-docs:latest
315345 only :
316346 - tags
317347 except :
318348 - nightly
349+ when : manual
319350 cache : {}
320351 dependencies : []
321352 script :
@@ -326,11 +357,12 @@ publish-docs:
326357
327358publish-av-whitelist :
328359 stage : publish
329- << : *no_git
360+ variables :
361+ GIT_STRATEGY : none
330362 only : *releaseable_branches
331363 except :
332- variables :
333- - $SCHEDULE_TAG == "nightly"
364+ - nightly
365+ when : manual
334366 cache : {}
335367 dependencies :
336368 - build-windows
0 commit comments