diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ae10e34d6260..fdf51e1c1012 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,6 +31,7 @@ variables: VAULT_SERVER_URL: "https://vault.parity-mgmt-vault.parity.io" VAULT_AUTH_PATH: "gitlab-parity-io-jwt" VAULT_AUTH_ROLE: "cicd_gitlab_parity_${CI_PROJECT_NAME}" + PIPELINE_SCRIPTS_TAG: "v0.1" default: cache: {} @@ -270,6 +271,28 @@ build-adder-collator: #### stage: build +.check-dependent-project: &check-dependent-project + stage: build + <<: *docker-env + <<: *vault-secrets + script: + - git clone + --depth=1 + "--branch=$PIPELINE_SCRIPTS_TAG" + https://github.com/paritytech/pipeline-scripts + - ./pipeline-scripts/check_dependent_project.sh + paritytech + polkadot + --polkadot + "$DEPENDENT_REPO" + "$GITHUB_PR_TOKEN" + - cd "$DEPENDENT_REPO" && git rev-parse --abbrev-ref HEAD + +check-dependent-cumulus: + <<: *check-dependent-project + variables: + DEPENDENT_REPO: cumulus + check-transaction-versions: # image must be ubuntu:20.04 based to match the linkers, this image has npm installed image: paritytech/contracts-ci-linux:production