change crates publishing to be scheduled (#13002)

This commit is contained in:
JP
2022-12-22 09:21:30 -03:00
committed by GitHub
parent ed417f8d09
commit 3cce86c02c
2 changed files with 7 additions and 3 deletions
+4
View File
@@ -213,6 +213,10 @@ default:
# this job runs only on nightly pipeline with the mentioned variable, against `master` branch
- if: $CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "schedule" && $PIPELINE == "nightly"
.scheduled-crate-publishing-pipeline:
rules:
- if: $CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "schedule" && $PIPELINE == "automatic-crate-publishing"
.crates-publishing-template:
stage: test
extends: .docker-env
@@ -225,12 +225,12 @@ update-node-template:
- rusty-cachier cache upload
publish-crates:
extends: .publish-crates-template
extends:
- .publish-crates-template
- .scheduled-crate-publishing-pipeline
needs:
- job: publish-crates-locally
artifacts: false
rules:
- if: $CI_COMMIT_REF_NAME == "master"
publish-crates-manual:
extends: .publish-crates-template