-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
34 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
## on push branch=main | ||
|
||
set -euxo pipefail | ||
|
||
export RUSTUP_HOME=/ci/cache/rustup | ||
export CARGO_HOME=/ci/cache/cargo | ||
export CARGO_TARGET_DIR=/ci/cache/target | ||
export BUILDER_THREADS=4 | ||
export BUILDER_COMPRESS=true | ||
|
||
# force rustup to download the toolchain before starting building. | ||
# Otherwise, the docs builder is running multiple instances of cargo rustdoc concurrently. | ||
# They all see the toolchain is not installed and try to install it in parallel | ||
# which makes rustup very sad | ||
rustc --version > /dev/null | ||
|
||
docserver-builder -i . -o webroot/crates/nrf-pac/git.zup | ||
|
||
export KUBECONFIG=/ci/secrets/kubeconfig.yml | ||
POD=$(kubectl -n embassy get po -l app=docserver -o jsonpath={.items[0].metadata.name}) | ||
kubectl cp webroot/crates $POD:/data |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters