Skip to content

Commit

Permalink
Turn off Noisy errors in build ( set GITHUB_ACTIONS="") (#4072)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgordonbell authored May 1, 2024
1 parent 4b7ef30 commit c8dff35
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/reusable-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ jobs:
run: |-
${{inputs.SUDO}} ${{ inputs.BUILT_EARTHLY_PATH }} ${{inputs.EXTRA_ARGS}} --ci -P ${{inputs.TEST_TARGET}}
- name: Execute fail test
run: "! ${{inputs.SUDO}} ${{ inputs.BUILT_EARTHLY_PATH }} ${{inputs.EXTRA_ARGS}} --ci ./tests/fail+test-fail"
run: |
! ${{inputs.SUDO}} GITHUB_ACTIONS="" ${{ inputs.BUILT_EARTHLY_PATH }} ${{inputs.EXTRA_ARGS}} --ci ./tests/fail+test-fail
- name: Buildkit logs (runs on failure)
run: ${{inputs.SUDO}} ${{inputs.BINARY}} logs earthly-buildkitd || true
if: ${{ failure() && ! inputs.USE_SATELLITE }}
6 changes: 3 additions & 3 deletions examples/zig/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ VERSION 0.8
deps:
FROM alpine:3.18

ARG ZIG_VERSION=0.11.0-dev.4191+1bf16b172
ARG ZIG_VERSION=0.12.0

ARG TARGETARCH
IF [ "$TARGETARCH" = "amd64" ]
ARG ZIG_ARCH="x86_64"
ELSE IF [ "$TARGETARCH" = "arm64" ]
ARG ZIG_ARCH="aarch64"
END

RUN wget -O zig.tar.xz https://ziglang.org/builds/zig-linux-$ZIG_ARCH-$ZIG_VERSION.tar.xz && \
RUN echo "Installing Zig $ZIG_VERSION for $ZIG_ARCH with https://ziglang.org/download/$ZIG_VERSION/zig-linux-$ZIG_ARCH-$ZIG_VERSION.tar.xz"
RUN wget -O zig.tar.xz https://ziglang.org/download/$ZIG_VERSION/zig-linux-$ZIG_ARCH-$ZIG_VERSION.tar.xz && \
mkdir zig && \
tar -xvf zig.tar.xz --strip-components 1 -C zig && \
ln -sf /zig/zig /usr/bin/zig
Expand Down

0 comments on commit c8dff35

Please sign in to comment.