Skip to content

Commit d723c12

Browse files
committed
fixup! Pass CPU and Memory config to minikube to ensure better stability
Signed-off-by: Jakub Stejskal <[email protected]>
1 parent 588321f commit d723c12

File tree

2 files changed

+39
-39
lines changed

2 files changed

+39
-39
lines changed

.azure/scripts/setup-kubernetes.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ if [ "$TEST_CLUSTER" = "minikube" ]; then
6969
# We can allow NP after Strimzi#4092 which should fix some issues on STs side
7070
minikube start --vm-driver=docker --kubernetes-version=${KUBE_VERSION} \
7171
--insecure-registry=localhost:5000 --extra-config=apiserver.authorization-mode=Node,RBAC \
72-
--cpus=${MINIKUBE_CPU} --memory=${MINIKUBE_MEMORY} --force
72+
--cpus=max --memory=max --force
7373

7474
if [ $? -ne 0 ]
7575
then

.github/workflows/regression.yml

+38-38
Original file line numberDiff line numberDiff line change
@@ -56,49 +56,49 @@ jobs:
5656
# TODO - revert this
5757
# commentBody: ${{ github.event.comment.body }}
5858
commentBody: "/ga run pipeline=regression,upgrade"
59-
60-
build-artifacts:
61-
name: build-artifacts
62-
needs: parse-params
63-
if: ${{ needs.parse-params.outputs.runTests == 'true' }}
64-
runs-on: oracle-2cpu-8gb-arm64
65-
steps:
66-
- uses: actions/checkout@v4
67-
with:
68-
fetch-depth: 0
69-
- uses: ./.github/actions/build-strimzi-binaries
70-
with:
71-
mvnArgs: "-B -DskipTests -Dmaven.javadoc.skip=true"
72-
73-
build-images:
74-
name: build-images
75-
needs: build-artifacts
76-
if: ${{ needs.parse-params.outputs.runTests == 'true' }}
77-
strategy:
78-
matrix:
79-
architecture: [amd64, arm64]
80-
# Local registry for building the images
81-
# TODO - check if the image can be cached
82-
services:
83-
registry:
84-
image: registry:2
85-
ports:
86-
- 5000:5000
87-
# runs-on: oracle-4cpu-16gb-x86-64
88-
runs-on: oracle-2cpu-8gb-arm64
89-
steps:
90-
- uses: actions/checkout@v4
91-
with:
92-
fetch-depth: 0
93-
- uses: ./.github/actions/containers-build
94-
with:
95-
architecture: ${{ matrix.architecture }}
59+
#
60+
# build-artifacts:
61+
# name: build-artifacts
62+
# needs: parse-params
63+
# if: ${{ needs.parse-params.outputs.runTests == 'true' }}
64+
# runs-on: oracle-2cpu-8gb-arm64
65+
# steps:
66+
# - uses: actions/checkout@v4
67+
# with:
68+
# fetch-depth: 0
69+
# - uses: ./.github/actions/build-strimzi-binaries
70+
# with:
71+
# mvnArgs: "-B -DskipTests -Dmaven.javadoc.skip=true"
72+
#
73+
# build-images:
74+
# name: build-images
75+
# needs: build-artifacts
76+
# if: ${{ needs.parse-params.outputs.runTests == 'true' }}
77+
# strategy:
78+
# matrix:
79+
# architecture: [amd64, arm64]
80+
# # Local registry for building the images
81+
# # TODO - check if the image can be cached
82+
# services:
83+
# registry:
84+
# image: registry:2
85+
# ports:
86+
# - 5000:5000
87+
## runs-on: oracle-4cpu-16gb-x86-64
88+
# runs-on: oracle-2cpu-8gb-arm64
89+
# steps:
90+
# - uses: actions/checkout@v4
91+
# with:
92+
# fetch-depth: 0
93+
# - uses: ./.github/actions/containers-build
94+
# with:
95+
# architecture: ${{ matrix.architecture }}
9696

9797
run-tests:
9898
name: run
9999
needs:
100100
- parse-params
101-
- build-images
101+
# - build-images
102102
if: ${{ needs.parse-params.outputs.runTests == 'true' }}
103103

104104
uses: ./.github/workflows/run-system-tests.yml

0 commit comments

Comments
 (0)