mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 22:11:02 +00:00
Make script usable from both pipeline and localhost (#3147)
* Make script usable from both pipeline and localhost * use the new argument --simnet-version= * dummy, to trigger pipeline one more time * CI: optimize the script * No arg for help flag * CI: comment and unneded parameter Co-authored-by: Denis P <denis.pisarev@parity.io>
This commit is contained in:
@@ -300,8 +300,7 @@ publish-adder-collator-image:
|
||||
after_script:
|
||||
- buildah logout "$IMAGE_NAME"
|
||||
# pass artifacts to the trigger-simnet job
|
||||
- echo "COLLATOR_IMAGE=$IMAGE_NAME" > ./artifacts/collator.env
|
||||
- echo "COLLATOR_IMAGE_TAG=$(cat ./artifacts/EXTRATAG)" >> ./artifacts/collator.env
|
||||
- echo "COLLATOR_IMAGE_TAG=$(cat ./artifacts/EXTRATAG)" > ./artifacts/collator.env
|
||||
artifacts:
|
||||
reports:
|
||||
# this artifact is used in trigger-simnet job
|
||||
@@ -387,6 +386,6 @@ trigger-simnet:
|
||||
# simnet project ID
|
||||
DWNSTRM_ID: 332
|
||||
script:
|
||||
# API trigger for a simnet job
|
||||
- ./scripts/gitlab/trigger_pipeline.sh
|
||||
# API trigger for a simnet job, argument value is set in the project variables
|
||||
- ./scripts/gitlab/trigger_pipeline.sh --simnet-version=${SIMNET_REF}
|
||||
allow_failure: true
|
||||
|
||||
Reference in New Issue
Block a user