use options for check_dependent_project
@@ -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
