Skip to content

Commit

Permalink
Need local flag only when the test runs on a PR
Browse files Browse the repository at this point in the history
Signed-off-by: Manoramsharma <[email protected]>
  • Loading branch information
Manoramsharma committed Jul 19, 2024
1 parent 9e7f0ef commit dc68116
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/hotrod-integration-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ for platform in $(echo "$platforms" | tr ',' ' '); do
done

# Build image locally (-l) for integration test
bash scripts/build-upload-a-docker-image.sh -l -c ${BINARY} -d examples/hotrod -p "${platforms}"
bash scripts/build-upload-a-docker-image.sh ${LOCAL_FLAG} -b -c all-in-one -d cmd/all-in-one -p "${platforms}" -t release
bash scripts/build-upload-a-docker-image.sh ${LOCAL_FLAG} -c ${BINARY} -d examples/hotrod -p "${platforms}"
bash scripts/build-upload-a-docker-image.sh -l -b -c all-in-one -d cmd/all-in-one -p "${platforms}" -t release

JAEGER_VERSION=$GITHUB_SHA REGISTRY="localhost:5000/" docker compose -f "$docker_compose_file" up -d

Expand Down

0 comments on commit dc68116

Please sign in to comment.