Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
83923d08
Unverified
Commit
83923d08
authored
May 11, 2021
by
Vladimir Istyufeev
Committed by
GitHub
May 10, 2021
Browse files
Temporarily disable `trigger-simnet` job (#3004)
parent
65125caa
Pipeline
#137696
passed with stages
in 29 minutes and 7 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
83923d08
...
...
@@ -363,29 +363,29 @@ deploy-polkasync-kusama:
allow_failure
:
true
trigger
:
"
parity/infrastructure/parity-testnet"
trigger-simnet
:
stage
:
deploy
image
:
paritytech/tools:latest
rules
:
-
if
:
$CI_PIPELINE_SOURCE == "schedule"
-
if
:
$CI_COMMIT_REF_NAME == "master"
-
if
:
$CI_COMMIT_REF_NAME =~ /^[0-9]+$/
# PRs
-
if
:
$CI_COMMIT_REF_NAME == "rococo-v1"
needs
:
-
job
:
publish-polkadot-image
-
job
:
publish-adder-collator-image
# `build.env` brings here `$IMAGE_NAME` and `$IMAGE_TAG` (`$EXTRATAG` here,
# i.e. `2643-0.8.29-5f689e0a-6b24dc54`).
# `collator.env` bears adder-collator unique build tag. In non-triggered builds it
# can be called by `master` tag.
# Simnet uses an image published on PRs with this exact version for triggered runs
# on commits. And parity/rococo:rococo-v1 for the runs not launched by this job.
variables
:
TRGR_PROJECT
:
${CI_PROJECT_NAME}
TRGR_REF
:
${CI_COMMIT_REF_NAME}
# simnet project ID
DWNSTRM_ID
:
332
script
:
# API trigger for a simnet job
-
./scripts/gitlab/trigger_pipeline.sh
allow_failure
:
true
#
trigger-simnet:
#
stage: deploy
#
image: paritytech/tools:latest
#
rules:
#
- if: $CI_PIPELINE_SOURCE == "schedule"
#
- if: $CI_COMMIT_REF_NAME == "master"
#
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
#
- if: $CI_COMMIT_REF_NAME == "rococo-v1"
#
needs:
#
- job: publish-polkadot-image
#
- job: publish-adder-collator-image
#
# `build.env` brings here `$IMAGE_NAME` and `$IMAGE_TAG` (`$EXTRATAG` here,
#
# i.e. `2643-0.8.29-5f689e0a-6b24dc54`).
#
# `collator.env` bears adder-collator unique build tag. In non-triggered builds it
#
# can be called by `master` tag.
#
# Simnet uses an image published on PRs with this exact version for triggered runs
#
# on commits. And parity/rococo:rococo-v1 for the runs not launched by this job.
#
variables:
#
TRGR_PROJECT: ${CI_PROJECT_NAME}
#
TRGR_REF: ${CI_COMMIT_REF_NAME}
#
# simnet project ID
#
DWNSTRM_ID: 332
#
script:
#
# API trigger for a simnet job
#
- ./scripts/gitlab/trigger_pipeline.sh
#
allow_failure: true
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment