-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use hellofresh DockerHub org to push images (#13)
- Loading branch information
Alexander Zhilyaev
authored
Feb 15, 2021
1 parent
d4a03cb
commit 5803a8f
Showing
4 changed files
with
16 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ jobs: | |
go-version: '^1.15' | ||
|
||
- name: Setup Kube in Docker | ||
uses: engineerd/setup-kind@v0.4.0 | ||
uses: engineerd/setup-kind@v0.5.0 | ||
|
||
- name: Setup latest Kangal release | ||
run: | | ||
|
@@ -43,22 +43,21 @@ jobs: | |
tar -xzf "/tmp/kangal-source.tar.gz" -C /tmp | ||
mv "/tmp/kangal-${VERSION}"/* . | ||
make apply-crd | ||
sed -i "s/latest/local/" pkg/backends/jmeter/jmeter.go | ||
sed -i "s/Always/IfNotPresent/" pkg/backends/jmeter/resources.go | ||
make build | ||
- name: Build Docker base image | ||
uses: docker/[email protected] | ||
with: | ||
repository: hellofreshtech/kangal-jmeter | ||
repository: hellofresh/kangal-jmeter | ||
tags: local | ||
path: docker/jmeter-base | ||
push: false | ||
|
||
- name: Build Docker master image | ||
uses: docker/[email protected] | ||
with: | ||
repository: hellofreshtech/kangal-jmeter-master | ||
repository: hellofresh/kangal-jmeter-master | ||
tags: local | ||
path: docker/jmeter-master | ||
push: false | ||
|
@@ -67,7 +66,7 @@ jobs: | |
- name: Build Docker worker image | ||
uses: docker/[email protected] | ||
with: | ||
repository: hellofreshtech/kangal-jmeter-worker | ||
repository: hellofresh/kangal-jmeter-worker | ||
tags: local | ||
path: docker/jmeter-worker | ||
push: false | ||
|
@@ -76,13 +75,17 @@ jobs: | |
- name: Load docker images into kind cluster | ||
run: | | ||
docker images | ||
kind load docker-image hellofreshtech/kangal-jmeter-master:local | ||
kind load docker-image hellofreshtech/kangal-jmeter-worker:local | ||
kind load docker-image hellofresh/kangal-jmeter-master:local | ||
kind load docker-image hellofresh/kangal-jmeter-worker:local | ||
- name: Run Integration Test | ||
env: | ||
AWS_ENDPOINT_URL: "localhost:8081" | ||
AWS_BUCKET_NAME: "kangal-test" | ||
JMETER_WORKER_IMAGE_NAME: "hellofresh/kangal-jmeter-worker" | ||
JMETER_MASTER_IMAGE_NAME: "hellofresh/kangal-jmeter-master" | ||
JMETER_WORKER_IMAGE_TAG: "local" | ||
JMETER_MASTER_IMAGE_TAG: "local" | ||
run: | | ||
cd kangal | ||
./ci/integration-tests.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters