Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[DNM] debug implementer guide job
  • Loading branch information
alvicsam committed Nov 28, 2022
commit d8a74fe7290b012eb47e5c5f6519db0dd4d69a0b
53 changes: 34 additions & 19 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,27 +180,42 @@ default:
after_script:
- buildah logout --all

include:
# weights jobs
- scripts/ci/gitlab/pipeline/weights.yml
# check jobs
- scripts/ci/gitlab/pipeline/check.yml
# test jobs
- scripts/ci/gitlab/pipeline/test.yml
# build jobs
- scripts/ci/gitlab/pipeline/build.yml
# short-benchmarks jobs
- scripts/ci/gitlab/pipeline/short-benchmarks.yml
# publish jobs
- scripts/ci/gitlab/pipeline/publish.yml
# zombienet jobs
- scripts/ci/gitlab/pipeline/zombienet.yml

# include:
# # weights jobs
# - scripts/ci/gitlab/pipeline/weights.yml
# # check jobs
# - scripts/ci/gitlab/pipeline/check.yml
# # test jobs
# - scripts/ci/gitlab/pipeline/test.yml
# # build jobs
# - scripts/ci/gitlab/pipeline/build.yml
# # short-benchmarks jobs
# - scripts/ci/gitlab/pipeline/short-benchmarks.yml
# # publish jobs
# - scripts/ci/gitlab/pipeline/publish.yml
# # zombienet jobs
# - scripts/ci/gitlab/pipeline/zombienet.yml

build-implementers-guide:
stage: build
extends:
- .docker-env
- .test-refs
- .collect-artifacts-short
# git depth is set on purpose: https://github.com/paritytech/polkadot/issues/6284
variables:
GIT_DEPTH: 0
CI_IMAGE: paritytech/mdbook-utils:e14aae4a-20221123
script:
- git log --pretty=oneline --reverse | head -1
- mdbook build ./roadmap/implementers-guide
- mkdir -p artifacts
- mv roadmap/implementers-guide/book artifacts/
- ls -la artifacts/

#### stage: .post

deploy-parity-testnet:
.deploy-parity-testnet:
stage: .post
extends:
- .deploy-testnet-refs
Expand Down Expand Up @@ -229,7 +244,7 @@ deploy-parity-testnet:
project: "parity/infrastructure/ci_cd/pipeline-stopper"
branch: "as-improve"

remove-cancel-pipeline-message:
.remove-cancel-pipeline-message:
stage: .post
rules:
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
Expand All @@ -244,7 +259,7 @@ remove-cancel-pipeline-message:
project: "parity/infrastructure/ci_cd/pipeline-stopper"
branch: "as-improve"

cancel-pipeline-test-linux-stable:
.cancel-pipeline-test-linux-stable:
extends: .cancel-pipeline-template
needs:
- job: test-linux-stable
Expand Down