Skip to content

Commit 541f875

Browse files
authored
Adding example operand image for Red Hat certification (#809)
1 parent a39b6a1 commit 541f875

18 files changed

+611
-95
lines changed

.github/workflows/build.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,23 @@ jobs:
5151
echo "Removing large packages"
5252
sudo docker image prune --all --force
5353
sudo docker builder prune -a
54+
sudo apt-get remove -y '^aspnetcore-.*' || true
5455
sudo apt-get remove -y '^dotnet-.*' || true
5556
sudo apt-get remove -y '^llvm-.*' || true
57+
sudo apt-get remove -y '^temurin-.*' || true
5658
sudo apt-get remove -y 'monodoc-http' || true
5759
sudo apt-get remove -y 'php.*' || true
58-
sudo apt-get remove -y azure-cli google-cloud-sdk hhvm google-chrome-stable firefox powershell mono-devel || true
60+
sudo apt-get remove -y 'ruby.*' || true
61+
sudo apt-get remove -y mercurial-common || true
62+
sudo apt-get remove -y azure-cli || true
63+
sudo apt-get remove -y google-cloud-cli-anthoscli || true
64+
sudo apt-get remove -y google-cloud-sdk || true
65+
sudo apt-get remove -y hhvm || true
66+
sudo apt-get remove -y google-chrome-stable || true
67+
sudo apt-get remove -y firefox || true
68+
sudo apt-get remove -y microsoft-edge-stable || true
69+
sudo apt-get remove -y powershell || true
70+
sudo apt-get remove -y mono-devel || true
5971
sudo apt-get autoremove -y || true
6072
sudo apt-get clean
6173
df -h

.github/workflows/coherence-matrix.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ env:
2424
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
2525
LOAD_KIND: true
2626
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
SKIP_SPRING_CNBP: true
2728

2829
jobs:
2930
build:

.github/workflows/compatibility-tests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ on:
2828

2929
env:
3030
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
SKIP_SPRING_CNBP: true
3132

3233
jobs:
3334
build:

.github/workflows/istio-tests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ on:
2828

2929
env:
3030
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
SKIP_SPRING_CNBP: true
3132

3233
jobs:
3334
build:

.github/workflows/k3d-tests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ on:
2828

2929
env:
3030
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
SKIP_SPRING_CNBP: true
3132

3233
jobs:
3334
build:

.github/workflows/k8s-matrix.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ env:
3131
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
3232
LOAD_KIND: true
3333
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
SKIP_SPRING_CNBP: true
3435

3536
jobs:
3637
build:

.github/workflows/minikube-matrix.yaml

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ env:
3131
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
3232
LOAD_KIND: false
3333
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
SKIP_SPRING_CNBP: true
3435

3536
jobs:
3637
build:
@@ -40,19 +41,19 @@ jobs:
4041
fail-fast: false
4142
matrix:
4243
matrixName:
44+
- v1.34
4345
- v1.33
4446
- v1.32
4547
- v1.31
46-
- v1.30
4748
include:
49+
- matrixName: v1.34
50+
k8s: v1.34.0
4851
- matrixName: v1.33
4952
k8s: v1.33.1
5053
- matrixName: v1.32
5154
k8s: v1.32.5
5255
- matrixName: v1.31
5356
k8s: v1.31.9
54-
- matrixName: v1.30
55-
k8s: v1.30.13
5657

5758
steps:
5859
- uses: actions/checkout@v4
@@ -68,17 +69,33 @@ jobs:
6869
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail -n 100
6970
df -h
7071
echo "Removing large packages"
72+
sudo docker image prune --all --force
73+
sudo docker builder prune -a
74+
sudo apt-get remove -y '^aspnetcore-.*' || true
7175
sudo apt-get remove -y '^dotnet-.*' || true
7276
sudo apt-get remove -y '^llvm-.*' || true
77+
sudo apt-get remove -y '^temurin-.*' || true
7378
sudo apt-get remove -y 'monodoc-http' || true
7479
sudo apt-get remove -y 'php.*' || true
75-
sudo apt-get remove -y azure-cli google-cloud-sdk hhvm google-chrome-stable firefox powershell mono-devel || true
80+
sudo apt-get remove -y 'ruby.*' || true
81+
sudo apt-get remove -y mercurial-common || true
82+
sudo apt-get remove -y azure-cli || true
83+
sudo apt-get remove -y google-cloud-cli-anthoscli || true
84+
sudo apt-get remove -y google-cloud-sdk || true
85+
sudo apt-get remove -y hhvm || true
86+
sudo apt-get remove -y google-chrome-stable || true
87+
sudo apt-get remove -y firefox || true
88+
sudo apt-get remove -y microsoft-edge-stable || true
89+
sudo apt-get remove -y powershell || true
90+
sudo apt-get remove -y mono-devel || true
7691
sudo apt-get autoremove -y || true
7792
sudo apt-get clean
7893
df -h
7994
echo "Removing large directories"
8095
rm -rf /usr/share/dotnet/
8196
sudo rm -rf /usr/local/lib/android
97+
sudo rm -rf /opt/ghc
98+
sudo rm -rf /opt/hostedtoolcache/CodeQL
8299
df -h
83100
84101
- name: Set up JDK
@@ -121,11 +138,13 @@ jobs:
121138
kubectl version
122139
kubectl get nodes
123140
docker pull gcr.io/distroless/java
124-
docker pull gcr.io/distroless/java11-debian11
125-
docker pull gcr.io/distroless/java17-debian11
126141
docker pull gcr.io/distroless/java17-debian12
127142
docker pull gcr.io/distroless/java21-debian12
128-
./hack/k8s-certification.sh
143+
make build-operator
144+
make build-basic-test-image
145+
make build-compatibility-image
146+
make helm-chart
147+
make certification-test
129148
130149
- uses: actions/upload-artifact@v4
131150
if: ${{ failure() || cancelled() }}

.github/workflows/prometheus-tests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ on:
2828

2929
env:
3030
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
SKIP_SPRING_CNBP: true
3132

3233
jobs:
3334
build:

.github/workflows/tanzu-tests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ on:
2828

2929
env:
3030
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
SKIP_SPRING_CNBP: true
3132

3233
jobs:
3334
build:

.github/workflows/trivy.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ on:
2020

2121
env:
2222
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
SKIP_SPRING_CNBP: true
2324

2425
jobs:
2526
build:

0 commit comments

Comments
 (0)