Skip to content

Commit

Permalink
Merge pull request #58 from keptn-sandbox/patch/upgrade-locust2
Browse files Browse the repository at this point in the history
upgrade to locust2
  • Loading branch information
Jürgen Etzlstorfer authored Aug 4, 2021
2 parents e6c7cfb + 6158a4c commit 0d48f5e
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 6 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ ARG version=develop
ENV VERSION="${version}"

RUN pip3 install --no-cache-dir locust
RUN locust --version

# Copy the binary to the production image from the builder stage.
COPY --from=builder /src/keptn-locust-service/keptn-locust-service /keptn-locust-service
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ This service provides a way to performance test on your application triggered by
| 0.8.2 | keptnsandbox/locust-service:0.1.2 |
| 0.8.3 | keptnsandbox/locust-service:0.1.3 |
| 0.8.4-0.8.5 | keptnsandbox/locust-service:0.1.4 |
| 0.8.6-0.8.7 | keptnsandbox/locust-service:0.1.5 (upgrade to Locust v2) |

## Keptn CloudEvents

Expand All @@ -23,7 +24,7 @@ This service reacts on the following Keptn CloudEvents (see [deploy/service.yaml
To deploy the current version of the *locust-service* in your Keptn Kubernetes cluster, run

```console
kubectl apply -f https://raw.githubusercontent.com/keptn-sandbox/locust-service/release-0.1.2/deploy/service.yaml -n keptn
kubectl apply -f https://raw.githubusercontent.com/keptn-sandbox/locust-service/release-0.1.5/deploy/service.yaml -n keptn
```

This will install the `locust-service` into the `keptn` namespace, which you can verify using:
Expand Down
6 changes: 3 additions & 3 deletions deploy/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ spec:
labels:
run: locust-service
app.kubernetes.io/name: locust-service
app.kubernetes.io/version: 0.1.4
app.kubernetes.io/version: 0.1.5

spec:
containers:
- name: locust-service
image: keptnsandbox/locust-service:0.1.4
image: keptnsandbox/locust-service:0.1.5
ports:
- containerPort: 8080
env:
- name: CONFIGURATION_SERVICE
value: 'http://configuration-service:8080'
- name: distributor
image: keptn/distributor:0.8.4
image: keptn/distributor:0.8.7
livenessProbe:
httpGet:
path: /health
Expand Down
4 changes: 2 additions & 2 deletions helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
appVersion: 0.8.3
appVersion: 0.8.7
description: Helm Chart for the keptn locust-service
name: locust-service
type: application
version: 0.8.3
version: 0.8.7
12 changes: 12 additions & 0 deletions releasenotes/releasenotes_V0.1.5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Release Notes v0.1.5

Compatibility with Keptn 0.8.4-0.8.7

## New Features

- Use `keptn/distributor:0.8.7`
- Use version 2 of `locust` binary


## Known Limitations

0 comments on commit 0d48f5e

Please sign in to comment.