Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Next Next commit
[Do not merge] [ci] publish parachain-implementers-guide
  • Loading branch information
alvicsam committed Jul 22, 2022
commit 082246a328fd0e8101167ebf7e62a879442afd61
15 changes: 14 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ default:
paths:
- ./artifacts/

.collect-artifacts-short: &collect-artifacts-short
artifacts:
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
when: on_success
expire_in: 1 days
paths:
- ./artifacts/

.kubernetes-env: &kubernetes-env
retry:
max: 2
Expand Down Expand Up @@ -559,7 +567,7 @@ build-rustdoc:
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
- time cargo +nightly doc --workspace --verbose
- time cargo +nightly doc --workspace --verbose --no-deps
- rm -f ./target/doc/.lock
- mv ./target/doc ./crate-docs
# FIXME: remove me after CI image gets nonroot
Expand All @@ -575,11 +583,16 @@ generate-impl-guide:
artifacts: false
<<: *test-refs
<<: *docker-env
<<: *collect-artifacts-short
image:
name: michaelfbryan/mdbook-docker-image:v0.4.4
entrypoint: [""]
script:
- mdbook build ./roadmap/implementers-guide
- mkdir -p artifacts
- mv roadmap/implementers-guide/book artifacts/
# FIXME: remove me after CI image gets nonroot
- chown -R nonroot:nonroot artifacts/

check-try-runtime:
stage: stage3
Expand Down