Skip to content

Commit c9f78fd

Browse files
hakuna-matatahHarish Kuna
andauthored
bug fix (#262)
Co-authored-by: Harish Kuna <[email protected]>
1 parent 008614a commit c9f78fd

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

tests/images/clusterloader2/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ RUN git clone https://github.com/kubernetes/perf-tests
44
WORKDIR /go/src/k8s.io/perf-tests/clusterloader2
55
RUN GOPROXY=direct GOOS=linux CGO_ENABLED=0 go build -o ./clusterloader ./cmd
66

7-
FROM alpine:3.15.4
7+
FROM amazon/aws-cli
88
WORKDIR /
99
COPY --from=builder /go/src/k8s.io/perf-tests/clusterloader2/clusterloader /clusterloader
1010
ENTRYPOINT ["/clusterloader"]

tests/pipelines/eks/awscli-cl2-load.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ spec:
2222
- name: slack-hook
2323
value: $(params.slack-hook)
2424
- name: slack-message
25-
value: $(params.slack-message)+"job kicked off"
25+
value: "$(params.slack-message) job kicked off"
2626
taskRef:
2727
kind: Task
2828
name: slack-notification
@@ -91,7 +91,7 @@ spec:
9191
- name: slack-hook
9292
value: $(params.slack-hook)
9393
- name: slack-message
94-
value: $(params.slack-message)+"job completed"
94+
value: "$(params.slack-message) job completed"
9595
taskRef:
9696
kind: Task
9797
name: awscli-eks-cluster-teardown

tests/tasks/notifications/slack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ spec:
2020
echo "Approving KCM requests"
2121
kubectl certificate approve $(kubectl get csr | grep "Pending" | awk '{print $1}') 2>/dev/null || true
2222
if [ -n "$(params.slack-hook)" ]; then
23-
curl -H "Content-type: application/json" --data '{"Message": $(params.slack-message)"}' -X POST $(params.slack-hook)
23+
curl -H "Content-type: application/json" --data '{"Message": "$(params.slack-message)"}' -X POST $(params.slack-hook)
2424
fi

tests/tasks/teardown/awscli-eks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ spec:
4141
image: alpine/k8s:1.22.6
4242
script: |
4343
if [ -n "$(params.slack-hook)" ]; then
44-
curl -H "Content-type: application/json" --data '{"Message": $(params.slack-message)"}' -X POST $(params.slack-hook)
44+
curl -H "Content-type: application/json" --data '{"Message": "$(params.slack-message)"}' -X POST $(params.slack-hook)
4545
fi

0 commit comments

Comments
 (0)