Skip to content

Commit

Permalink
Merge pull request #163 from RobertKrawitz/ci-fix-workloads-container…
Browse files Browse the repository at this point in the history
…-image

Fix the name of the workloads container image
  • Loading branch information
RobertKrawitz authored Sep 11, 2023
2 parents ec8e97a + fcd7f79 commit 14eb908
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion clusterbuster
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ declare pod_prefix=
declare arch=
declare failure_status=Fail
declare -i create_pods_privileged=0
declare perf_ci_tag=perf-ci-v1.2

declare -r sync_flag_file="/tmp/syncfile";
declare -r sync_error_file="/tmp/syncerror";
Expand Down Expand Up @@ -3420,7 +3421,7 @@ fi
iworkload=$requested_workload
requested_workload=$(get_workload "$requested_workload") || help_extended "(Unknown workload '$iworkload')"
arch=${arch:-$(uname -m)}
container_image=${container_image:-quay.io/rkrawitz/clusterbuster:${arch}-perf-ci-v1.2}
container_image=${container_image:-quay.io/rkrawitz/clusterbuster:${arch}-${perf_ci_tag}}

call_api -w "$requested_workload" -s "process_options" "${unknown_opts[@]}" || help "${unknown_opt_names[@]}"

Expand Down
2 changes: 1 addition & 1 deletion lib/clusterbuster/workloads/fio.workload
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function fio_create_deployment() {
local replicas=${4:-1}
local containers_per_pod=${5:-1}
local -i instance
container_image="quay.io/rkrawitz/clusterbuster-workloads:${arch}-v1.2"
container_image="quay.io/rkrawitz/clusterbuster-workloads:${arch}-${perf_ci_tag}"
create_sync_service "$namespace" "$((containers_per_pod * processes_per_pod * replicas * count))" \
"$((containers_per_pod * replicas * count))"
for instance in $(seq "$first_deployment" $((count + first_deployment - 1))) ; do
Expand Down
2 changes: 1 addition & 1 deletion lib/clusterbuster/workloads/sysbench.workload
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function sysbench_create_deployment() {
local replicas=${4:-1}
local containers_per_pod=${5:-1}
local -i instance
container_image="quay.io/rkrawitz/clusterbuster-workloads:${arch}-v1.2"
container_image="quay.io/rkrawitz/clusterbuster-workloads:${arch}-${perf_ci_tag}"
create_sync_service "$namespace" \
"$((containers_per_pod * processes_per_pod * replicas * count))" \
"$((containers_per_pod * replicas * count))"
Expand Down
2 changes: 1 addition & 1 deletion lib/clusterbuster/workloads/uperf.workload
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function uperf_create_deployment() {
if ((((replicas * containers_per_pod * processes_per_pod) + 4) > ___uperf_port_addrs)) ; then
___uperf_port_addrs=$(((replicas * containers_per_pod * processes_per_pod) + 4))
fi
container_image="quay.io/rkrawitz/clusterbuster-workloads:${arch}-v1.2"
container_image="quay.io/rkrawitz/clusterbuster-workloads:${arch}-${perf_ci_tag}"
create_sync_service "$namespace" "$((containers_per_pod * replicas * count))" "$(( (containers_per_pod * replicas * count) + count))"

for instance in $(seq "$first_deployment" $((count + first_deployment - 1))) ; do
Expand Down

0 comments on commit 14eb908

Please sign in to comment.