Automatically format ci pipeline specs with prettier (#6783)

This commit is contained in:
Mira Ressel
2023-02-27 12:34:54 +01:00
committed by GitHub
parent 3df2893bae
commit f019376cb1
10 changed files with 326 additions and 320 deletions
+29 -29
View File
@@ -2,12 +2,12 @@
# Here are all jobs that are executed during "build" stage
build-linux-stable:
stage: build
stage: build
# this is an artificial job dependency, for pipeline optimization using GitLab's DAGs
# the job can be found in check.yml
needs:
- job: job-starter
artifacts: false
- job: job-starter
artifacts: false
extends:
- .docker-env
- .common-refs
@@ -40,12 +40,12 @@ build-linux-stable:
- cp -r scripts/* ./artifacts
build-test-collators:
stage: build
stage: build
# this is an artificial job dependency, for pipeline optimization using GitLab's DAGs
# the job can be found in check.yml
needs:
- job: job-starter
artifacts: false
- job: job-starter
artifacts: false
extends:
- .docker-env
- .common-refs
@@ -65,12 +65,12 @@ build-test-collators:
- cp -r ./scripts/* ./artifacts
build-malus:
stage: build
stage: build
# this is an artificial job dependency, for pipeline optimization using GitLab's DAGs
# the job can be found in check.yml
needs:
- job: job-starter
artifacts: false
- job: job-starter
artifacts: false
extends:
- .docker-env
- .common-refs
@@ -87,12 +87,12 @@ build-malus:
- cp -r ./scripts/* ./artifacts
build-staking-miner:
stage: build
stage: build
# this is an artificial job dependency, for pipeline optimization using GitLab's DAGs
# the job can be found in check.yml
needs:
- job: job-starter
artifacts: false
- job: job-starter
artifacts: false
extends:
- .docker-env
- .common-refs
@@ -109,23 +109,23 @@ build-staking-miner:
- cp -r ./scripts/* ./artifacts
build-rustdoc:
stage: build
stage: build
# this is an artificial job dependency, for pipeline optimization using GitLab's DAGs
# the job can be found in test.yml
needs:
- job: test-deterministic-wasm
artifacts: false
- job: test-deterministic-wasm
artifacts: false
extends:
- .docker-env
- .test-refs
variables:
SKIP_WASM_BUILD: 1
SKIP_WASM_BUILD: 1
artifacts:
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}-doc"
when: on_success
expire_in: 1 days
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}-doc"
when: on_success
expire_in: 1 days
paths:
- ./crate-docs/
- ./crate-docs/
script:
# FIXME: it fails with `RUSTDOCFLAGS="-Dwarnings"` and `--all-features`
# FIXME: return to stable when https://github.com/rust-lang/rust/issues/96937 gets into stable
@@ -137,33 +137,33 @@ build-rustdoc:
- echo "<meta http-equiv=refresh content=0;url=polkadot_service/index.html>" > ./crate-docs/index.html
build-implementers-guide:
stage: build
stage: build
# this is an artificial job dependency, for pipeline optimization using GitLab's DAGs
# the job can be found in test.yml
needs:
- job: test-deterministic-wasm
artifacts: false
- job: test-deterministic-wasm
artifacts: false
extends:
- .kubernetes-env
- .test-refs
- .collect-artifacts-short
# git depth is set on purpose: https://github.com/paritytech/polkadot/issues/6284
variables:
GIT_STRATEGY: clone
GIT_DEPTH: 0
CI_IMAGE: paritytech/mdbook-utils:e14aae4a-20221123
GIT_STRATEGY: clone
GIT_DEPTH: 0
CI_IMAGE: paritytech/mdbook-utils:e14aae4a-20221123
script:
- mdbook build ./roadmap/implementers-guide
- mkdir -p artifacts
- mv roadmap/implementers-guide/book artifacts/
build-short-benchmark:
stage: build
stage: build
# this is an artificial job dependency, for pipeline optimization using GitLab's DAGs
# the job can be found in check.yml
needs:
- job: job-starter
artifacts: false
- job: job-starter
artifacts: false
extends:
- .docker-env
- .test-refs