use options for check_dependent_project (#11284)

Co-authored-by: TriplEight <denis.pisarev@parity.io>
This commit is contained in:
João Paulo Silva de Souza
2022-04-26 11:59:13 -03:00
committed by GitHub
parent 9980d314b1
commit d6a66fd831
+4 -9
View File
@@ -468,13 +468,10 @@ cargo-check-macos:
"--branch=$PIPELINE_SCRIPTS_TAG"
https://github.com/paritytech/pipeline-scripts
- ./pipeline-scripts/check_dependent_project.sh
paritytech
substrate
--substrate
"$DEPENDENT_REPO"
"$GITHUB_PR_TOKEN"
"$CARGO_UPDATE_CRATES"
"$EXTRA_DEPENDENCIES"
--org paritytech
--dependent-repo "$DEPENDENT_REPO"
--github-api-token "$GITHUB_PR_TOKEN"
--extra-dependencies "$EXTRA_DEPENDENCIES"
# Individual jobs are set up for each dependent project so that they can be ran in parallel.
# Arguably we could generate a job for each companion in the PR's description using Gitlab's
@@ -484,13 +481,11 @@ check-dependent-polkadot:
<<: *check-dependent-project
variables:
DEPENDENT_REPO: polkadot
CARGO_UPDATE_CRATES: "sp-io"
check-dependent-cumulus:
<<: *check-dependent-project
variables:
DEPENDENT_REPO: cumulus
CARGO_UPDATE_CRATES: "sp-io polkadot-runtime-common"
EXTRA_DEPENDENCIES: polkadot