Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,12 @@ runs:
trap 'rm -rf -- "$MYTMPDIR"' EXIT
logfile="$MYTMPDIR/bazel-out.log"
bazel query "${{ inputs.spec }} ${{ inputs.except }}" > "$MYTMPDIR/targets"
r=0
bazel build --target_pattern_file="$MYTMPDIR/targets" --config=ci --test_env=HOME=/home/runner --explain="$MYTMPDIR/explanations" --verbose_explanations --show_result=100000 2>&1 | tee "$logfile" >&2 || r=1

set +e
bazel build --target_pattern_file="$MYTMPDIR/targets" --config=ci --test_env=HOME=/home/runner --explain="$MYTMPDIR/explanations" --verbose_explanations --show_result=100000 2>&1 | tee "$logfile" >&2
r=${PIPESTATUS[0]}
set -e

# echo === Explanations === >&2
# cat "$MYTMPDIR/explanations" >&2
# echo == /Explanations === >&2
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/dre-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ concurrency:

jobs:
test:
runs-on:
labels: dre-runner-custom
runs-on: namespace-profile-default
container: ghcr.io/dfinity/dre/actions-runner:6413f2909a49329ecbf5371ee7ddf07a9799b625
steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ concurrency:
jobs:
bazel:
name: Build and test pipeline
runs-on:
labels: dre-runner-custom
runs-on: namespace-profile-default
# This image is based on ubuntu:20.04
container: ghcr.io/dfinity/dre/actions-runner:6413f2909a49329ecbf5371ee7ddf07a9799b625
permissions:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/manage-runner-pre/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ runs:
########################################
# Setup
########################################
- name: "🐳 Fix docker socket permissions"
if: ${{ !startsWith(runner.name, 'dre-runner-custom') }}
shell: bash
run: sudo chmod 666 /var/run/docker.sock

- name: "🔧 Free Up Disk Space"
uses: jlumbroso/free-disk-space@v1.3.1
if: ${{ !startsWith(runner.name, 'dre-runner-custom') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
bazel-release-controller:
name: Release controller pipeline
runs-on:
labels: dre-runner-custom
labels: namespace-profile-default
# This image is based on ubuntu:20.04
container: ghcr.io/dfinity/dre/actions-runner:6413f2909a49329ecbf5371ee7ddf07a9799b625
permissions:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/trusted-neurons-alerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ concurrency:
jobs:
bazel-trusted-neurons-alerts:
name: Trusted neurons alerts pipeline
runs-on:
labels: dre-runner-custom
runs-on: namespace-profile-default
# This image is based on ubuntu:20.04
container: ghcr.io/dfinity/dre/actions-runner:6413f2909a49329ecbf5371ee7ddf07a9799b625
permissions:
Expand Down
Loading