Skip to content

Commit 37cb31b

Browse files
committed
Use correct runner name and don't use remote exec
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
1 parent 50f0cdc commit 37cb31b

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/build_and_test.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
image-base-name: "dev_image_with_extras"
3737
ref: ${{ needs.env-protect-setup.outputs.ref }}
3838
clang-tidy:
39-
runs-on: oracle-16cpu-64gb-x86-64
39+
runs-on: oracle-vm-16cpu-64gb-x86-64
4040
needs: [authorize, env-protect-setup, get-dev-image]
4141
container:
4242
image: ${{ needs.get-dev-image.outputs.image-with-tag }}
@@ -64,7 +64,7 @@ jobs:
6464
code-coverage:
6565
if: github.event_name == 'push'
6666
needs: [authorize, env-protect-setup, get-dev-image]
67-
runs-on: oracle-16cpu-64gb-x86-64
67+
runs-on: oracle-vm-16cpu-64gb-x86-64
6868
container:
6969
image: ${{ needs.get-dev-image.outputs.image-with-tag }}
7070
steps:
@@ -88,7 +88,7 @@ jobs:
8888
./ci/collect_coverage.sh -u -b main -c "$(git rev-parse HEAD)" -r pixie-io/pixie
8989
generate-matrix:
9090
needs: [authorize, env-protect-setup, get-dev-image]
91-
runs-on: oracle-16cpu-64gb-x86-64
91+
runs-on: oracle-vm-16cpu-64gb-x86-64
9292
container:
9393
image: ${{ needs.get-dev-image.outputs.image-with-tag }}
9494
outputs:
@@ -120,7 +120,7 @@ jobs:
120120
bazel_tests_*
121121
build-and-test:
122122
needs: [authorize, env-protect-setup, get-dev-image, generate-matrix]
123-
runs-on: oracle-16cpu-64gb-x86-64
123+
runs-on: oracle-vm-16cpu-64gb-x86-64
124124
permissions:
125125
contents: read
126126
actions: read
@@ -160,6 +160,10 @@ jobs:
160160
run: |
161161
# Github actions container runner creates a docker network without IPv6 support. We enable it manually.
162162
sysctl -w net.ipv6.conf.lo.disable_ipv6=0
163+
164+
# Our qemu builds require unprivileged user namespaces to run.
165+
sysctl -w kernel.unprivileged_userns_clone=1
166+
sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
163167
./scripts/bazel_ignore_codes.sh test ${{ matrix.args }} --target_pattern_file=target_files/${{ matrix.tests }} \
164168
2> >(tee bazel_stderr)
165169
- name: Parse junit reports

ci/github/bazelrc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ common --color=yes
55
# a given run.
66
common --keep_going
77

8-
# Always use remote exec
9-
build --config=remote
10-
118
build --build_metadata=HOST=github-actions
129
build --build_metadata=USER=github-actions
1310
build --build_metadata=REPO_URL=https://github.com/pixie-io/pixie

0 commit comments

Comments
 (0)