diff options
| author | xoviat <[email protected]> | 2023-08-22 16:58:43 -0500 |
|---|---|---|
| committer | xoviat <[email protected]> | 2023-08-22 16:58:43 -0500 |
| commit | 7d6edd7b15d2209ac0b96ff8814ecefce2964e36 (patch) | |
| tree | 7988a9b46855ac187a92cbfc5f38cbbbff695e8d /.github | |
| parent | 9e3266b74554ea397bdd963ff12a26aa51e77b63 (diff) | |
| parent | 7bff2ebab3b36cc922505e9db961840109c509ed (diff) | |
Merge branch 'main' of https://github.com/embassy-rs/embassy into rtc-lp
Diffstat (limited to '.github')
| -rwxr-xr-x | .github/ci/doc.sh | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/.github/ci/doc.sh b/.github/ci/doc.sh index 06c6fa00b..57184dc1d 100755 --- a/.github/ci/doc.sh +++ b/.github/ci/doc.sh | |||
| @@ -15,7 +15,6 @@ export BUILDER_COMPRESS=true | |||
| 15 | # which makes rustup very sad | 15 | # which makes rustup very sad |
| 16 | rustc --version > /dev/null | 16 | rustc --version > /dev/null |
| 17 | 17 | ||
| 18 | docserver-builder -i ./embassy-stm32 -o webroot/crates/embassy-stm32/git.zup | ||
| 19 | docserver-builder -i ./embassy-boot/boot -o webroot/crates/embassy-boot/git.zup | 18 | docserver-builder -i ./embassy-boot/boot -o webroot/crates/embassy-boot/git.zup |
| 20 | docserver-builder -i ./embassy-boot/nrf -o webroot/crates/embassy-boot-nrf/git.zup | 19 | docserver-builder -i ./embassy-boot/nrf -o webroot/crates/embassy-boot-nrf/git.zup |
| 21 | docserver-builder -i ./embassy-boot/rp -o webroot/crates/embassy-boot-rp/git.zup | 20 | docserver-builder -i ./embassy-boot/rp -o webroot/crates/embassy-boot-rp/git.zup |
| @@ -36,11 +35,20 @@ docserver-builder -i ./embassy-usb-driver -o webroot/crates/embassy-usb-driver/g | |||
| 36 | docserver-builder -i ./embassy-usb-logger -o webroot/crates/embassy-usb-logger/git.zup | 35 | docserver-builder -i ./embassy-usb-logger -o webroot/crates/embassy-usb-logger/git.zup |
| 37 | docserver-builder -i ./cyw43 -o webroot/crates/cyw43/git.zup | 36 | docserver-builder -i ./cyw43 -o webroot/crates/cyw43/git.zup |
| 38 | docserver-builder -i ./cyw43-pio -o webroot/crates/cyw43-pio/git.zup | 37 | docserver-builder -i ./cyw43-pio -o webroot/crates/cyw43-pio/git.zup |
| 39 | docserver-builder -i ./embassy-net-w5500 -o webroot/crates/embassy-net-w5500/git.zup | 38 | docserver-builder -i ./embassy-net-wiznet -o webroot/crates/embassy-net-wiznet/git.zup |
| 39 | docserver-builder -i ./embassy-net-enc28j60 -o webroot/crates/embassy-net-enc28j60/git.zup | ||
| 40 | docserver-builder -i ./embassy-net-esp-hosted -o webroot/crates/embassy-net-esp-hosted/git.zup | 40 | docserver-builder -i ./embassy-net-esp-hosted -o webroot/crates/embassy-net-esp-hosted/git.zup |
| 41 | docserver-builder -i ./embassy-stm32-wpan -o webroot/crates/embassy-stm32-wpan/git.zup --output-static webroot/static | 41 | docserver-builder -i ./embassy-stm32-wpan -o webroot/crates/embassy-stm32-wpan/git.zup --output-static webroot/static |
| 42 | 42 | ||
| 43 | export KUBECONFIG=/ci/secrets/kubeconfig.yml | 43 | export KUBECONFIG=/ci/secrets/kubeconfig.yml |
| 44 | POD=$(kubectl -n embassy get po -l app=docserver -o jsonpath={.items[0].metadata.name}) | 44 | POD=$(kubectl -n embassy get po -l app=docserver -o jsonpath={.items[0].metadata.name}) |
| 45 | kubectl cp webroot/crates $POD:/data | 45 | kubectl cp webroot/crates $POD:/data |
| 46 | kubectl cp webroot/static $POD:/data \ No newline at end of file | 46 | kubectl cp webroot/static $POD:/data |
| 47 | |||
| 48 | # build and upload stm32 last | ||
| 49 | # so that it doesn't prevent other crates from getting docs updates when it breaks. | ||
| 50 | rm -rf webroot | ||
| 51 | docserver-builder -i ./embassy-stm32 -o webroot/crates/embassy-stm32/git.zup | ||
| 52 | |||
| 53 | POD=$(kubectl -n embassy get po -l app=docserver -o jsonpath={.items[0].metadata.name}) | ||
| 54 | kubectl cp webroot/crates $POD:/data | ||
