Skip to content

Commit

Permalink
taking out duplicate build
Browse files Browse the repository at this point in the history
Signed-off-by: Paige Patton <[email protected]>
  • Loading branch information
paigerube14 authored and chaitanyaenr committed Oct 24, 2024
1 parent b4fdc09 commit c0d823c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
4 changes: 1 addition & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@ service-disruption-scenarios service-hijacking syn-flood time-scenarios zone-out
for i in "${SCENARIOS[@]}"; do
export KRKNCTL_INPUT=$(cat $i/krknctl-input.json|tr -d "\n")
envsubst < $i/Dockerfile.template > $i/Dockerfile
done;

docker compose build --parallel
done;
9 changes: 5 additions & 4 deletions docs/test_your_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ Scenario Types:

c. edit line 17 and 23 with your yaml config location

5. Create Dockerfile
5. Create Dockerfile template

a. See [dockerfile](../application-outages/Dockerfile) for example
a. See [dockerfile](../application-outages/Dockerfile.template) for example

b. Lines to edit

Expand Down Expand Up @@ -82,8 +82,9 @@ NOTE:
2. Similar to above, also add the default parameter values to [env.sh](../env.sh)

## Build Your Changes
1. Edit the docker-compose.yaml file to point to your quay.io repository
2. Build your image(s) from base kraken-hub directory
1. Run [build.sh](../build.sh) to get Dockerfiles for each scenario
2. Edit the docker-compose.yaml file to point to your quay.io repository (optional)
3. Build your image(s) from base kraken-hub directory

Builds all images in docker-compose file
`docker-compose build`
Expand Down

0 comments on commit c0d823c

Please sign in to comment.