Skip to content

Commit 8349dd1

Browse files
committed
Release load tester v0.11.0
- tools updates: Helm v2.15.1, Helm v3.0.0-rc.2, rimusz helm-tiller v0.9.3, gPRC probe v0.3.1 - add hey test during build
1 parent 402fb66 commit 8349dd1

File tree

6 files changed

+14
-11
lines changed

6 files changed

+14
-11
lines changed

Dockerfile.loadtester

+8-5
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,19 @@ WORKDIR /home/app
99
RUN curl -sSLo hey "https://storage.googleapis.com/hey-release/hey_linux_amd64" && \
1010
chmod +x hey && mv hey /usr/local/bin/hey
1111

12-
RUN curl -sSL "https://get.helm.sh/helm-v2.14.3-linux-amd64.tar.gz" | tar xvz && \
12+
# verify hey works
13+
RUN hey -n 1 -c 1 https://flagger.app > /dev/null && echo $? | grep 0
14+
15+
RUN curl -sSL "https://get.helm.sh/helm-v2.15.1-linux-amd64.tar.gz" | tar xvz && \
1316
chmod +x linux-amd64/helm && mv linux-amd64/helm /usr/local/bin/helm && \
1417
chmod +x linux-amd64/tiller && mv linux-amd64/tiller /usr/local/bin/tiller && \
1518
rm -rf linux-amd64
1619

17-
RUN curl -sSL "https://get.helm.sh/helm-v3.0.0-beta.5-linux-amd64.tar.gz" | tar xvz && \
20+
RUN curl -sSL "https://get.helm.sh/helm-v3.0.0-rc.2-linux-amd64.tar.gz" | tar xvz && \
1821
chmod +x linux-amd64/helm && mv linux-amd64/helm /usr/local/bin/helmv3 && \
1922
rm -rf linux-amd64
2023

21-
RUN GRPC_HEALTH_PROBE_VERSION=v0.3.0 && \
24+
RUN GRPC_HEALTH_PROBE_VERSION=v0.3.1 && \
2225
wget -qO /usr/local/bin/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-amd64 && \
2326
chmod +x /usr/local/bin/grpc_health_probe
2427

@@ -35,7 +38,7 @@ RUN chown -R app:app ./
3538

3639
USER app
3740

38-
RUN curl -sSL "https://github.com/rimusz/helm-tiller/archive/v0.8.3.tar.gz" | tar xvz && \
39-
helm init --client-only && helm plugin install helm-tiller-0.8.3 && helm plugin list
41+
RUN curl -sSL "https://github.com/rimusz/helm-tiller/archive/v0.9.3.tar.gz" | tar xvz && \
42+
helm init --client-only && helm plugin install helm-tiller-0.9.3 && helm plugin list
4043

4144
ENTRYPOINT ["./loadtester"]

artifacts/loadtester/deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ spec:
1717
spec:
1818
containers:
1919
- name: loadtester
20-
image: weaveworks/flagger-loadtester:0.10.0
20+
image: weaveworks/flagger-loadtester:0.11.0
2121
imagePullPolicy: IfNotPresent
2222
ports:
2323
- name: http

charts/loadtester/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v1
22
name: loadtester
3-
version: 0.10.0
4-
appVersion: 0.10.0
3+
version: 0.11.0
4+
appVersion: 0.11.0
55
kubeVersion: ">=1.11.0-0"
66
engine: gotpl
77
description: Flagger's load testing services based on rakyll/hey and bojand/ghz that generates traffic during canary analysis when configured as a webhook.

charts/loadtester/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ replicaCount: 1
22

33
image:
44
repository: weaveworks/flagger-loadtester
5-
tag: 0.10.0
5+
tag: 0.11.0
66
pullPolicy: IfNotPresent
77

88
podAnnotations:

cmd/loadtester/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"time"
1111
)
1212

13-
var VERSION = "0.10.0"
13+
var VERSION = "0.11.0"
1414
var (
1515
logLevel string
1616
port string

kustomize/tester/deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
spec:
1919
containers:
2020
- name: loadtester
21-
image: weaveworks/flagger-loadtester:0.10.0
21+
image: weaveworks/flagger-loadtester:0.11.0
2222
imagePullPolicy: IfNotPresent
2323
ports:
2424
- name: http

0 commit comments

Comments
 (0)