Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 00a925b

Browse files
committed
add anchors
1 parent 07747bc commit 00a925b

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

.gitlab-ci.yml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -427,31 +427,33 @@ check-polkadot-companion-status:
427427
script:
428428
- ./.maintain/gitlab/check_polkadot_companion_status.sh
429429

430-
check-polkadot-companion-build:
430+
.check-companion-build: &check-companion-build
431431
stage: build
432432
<<: *docker-env
433433
<<: *test-refs-no-trigger
434434
needs:
435435
- job: test-linux-stable-int
436436
artifacts: false
437437
script:
438-
- ./.maintain/gitlab/check_companion_build.sh paritytech polkadot
438+
- ./.maintain/gitlab/check_companion_build.sh "$COMPANION_ORG" "$COMPANION_REPO" "$COMPANION_BUILD"
439439
after_script:
440-
- cd polkadot && git rev-parse --abbrev-ref HEAD
440+
- cd "$COMPANION_REPO" && git rev-parse --abbrev-ref HEAD
441441
allow_failure: true
442442

443+
check-polkadot-companion-build:
444+
<<: *check-companion-build
445+
variables:
446+
COMPANION_ORG: paritytech
447+
COMPANION_REPO: polkadot
448+
allow_failure: true
449+
443450
check-cumulus-companion-build:
444-
stage: build
445-
<<: *docker-env
446-
<<: *test-refs-no-trigger
447-
needs:
448-
- job: test-linux-stable-int
449-
artifacts: false
450-
script:
451-
- ./.maintain/gitlab/check_companion_build.sh paritytech cumulus 'cargo check'
452-
after_script:
453-
- cd cumulus && git rev-parse --abbrev-ref HEAD
454-
allow_failure: true
451+
<<: *check-companion-build
452+
variables:
453+
COMPANION_ORG: paritytech
454+
COMPANION_REPO: cumulus
455+
COMPANION_BUILD: "cargo check"
456+
allow_failure: true
455457

456458
check-beefy-companion-build:
457459
stage: build

0 commit comments

Comments
 (0)