chore: experiment with Remote Build Execution (RBE) @ Namespace #464
This file contains hidden or 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
| name: API BN Recovery Test | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 6 * * 1' # weekly on Monday at 06:00 UTC | |
| pull_request: | |
| paths: | |
| - '.github/workflows/api-bn-recovery-test.yml' | |
| - 'ic-os/api-bn-recovery/**' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: API BN Recovery Smoke Test | |
| runs-on: | |
| labels: dind-large | |
| container: | |
| image: ghcr.io/dfinity/ic-build@sha256:6c428707022daa3e209d0beb86b1718ef185251746ab622fda9e66de5f549c7e | |
| options: >- | |
| -e NODE_NAME --privileged --cgroupns host | |
| --mount type=tmpfs,target="/home/buildifier/.local/share/containers" | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - uses: ./.github/actions/netrc | |
| - name: Install dfx | |
| run: | | |
| DFXVM_INIT_YES=1 sh -ci "$(curl -fsSL https://internetcomputer.org/install.sh)" | |
| echo "$HOME/.local/share/dfx/bin" >> "$GITHUB_PATH" | |
| - name: Run smoke test | |
| uses: ./.github/actions/bazel | |
| with: | |
| run: ./ic-os/api-bn-recovery/test.sh |