Skip to content

Commit

Permalink
Run GHA tests on Dockerfile updates (#19622)
Browse files Browse the repository at this point in the history
  • Loading branch information
r0mant authored Dec 22, 2022
1 parent 87f706d commit c286e4c
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build-macos-bypass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ on:
- 'Cargo.toml'
- 'Cargo.lock'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'

jobs:
build:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
- 'Cargo.toml'
- 'Cargo.lock'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'

jobs:
build:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-windows-bypass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ on:
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'

jobs:
build:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'

jobs:
build:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/integration-tests-non-root-bypass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ on:
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'

jobs:
test:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/integration-tests-non-root.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'

jobs:
test:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/integration-tests-root-bypass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ on:
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'

jobs:
test:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/integration-tests-root.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'

jobs:
test:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit-tests-code-bypass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ on:
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'

jobs:
test:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit-tests-code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'

jobs:
test:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit-tests-operator-bypass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ on:
- 'api/types/**'
- 'lib/tbot/**'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'

jobs:
test:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit-tests-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
- 'api/types/**'
- 'lib/tbot/**
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'

jobs:
test:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit-tests-rust-bypass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ on:
- 'Cargo.toml'
- 'Cargo.lock'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'

jobs:
test:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit-tests-rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- 'Cargo.toml'
- 'Cargo.lock'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion build.assets/Dockerfile-centos7
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN yum groupinstall -y 'Development Tools' && \
yum clean all

# Install libudev-zero.
# libudev-zero replaces systemd's libudev
# libudev-zero replaces systemd's libudev.
RUN git clone --depth=1 https://github.com/illiliti/libudev-zero.git -b 1.0.1 && \
cd libudev-zero && \
[ "$(git rev-parse HEAD)" = "4154cf252c17297f98a8ca33693ead003b4509da" ] && \
Expand Down

0 comments on commit c286e4c

Please sign in to comment.