Skip to content

Commit

Permalink
chore: rename testing-api docker image (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
typotter authored Nov 19, 2024
1 parent 387a010 commit 3130bd4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
4 changes: 2 additions & 2 deletions package-testing/sdk-test-runner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ docker run \
--rm -d \
-v ./test-data:/app/test-data \
-p 5000:5000 \
-t Eppo-exp/test-api-server:local
-t Eppo-exp/testing-api:local

../<SDK_DIR>/build-and-run.sh

Expand All @@ -37,7 +37,7 @@ docker run \
--rm -d \
-v ./test-data:/app/test-data \
-p 5000:5000 \
-t Eppo-exp/test-api-server:local
-t Eppo-exp/testing-api:local

../<SDK_DIR>/build-and-run.sh

Expand Down
4 changes: 2 additions & 2 deletions package-testing/sdk-test-runner/test-sdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ case "$command" in
server)
echo "... Running test scenarios against $SDK_NAME@$SDK_REF in server mode"

echo " ... Starting Test Cluster node [Eppo-exp/test-api-server]"
echo " ... Starting Test Cluster node [Eppo-exp/testing-api]"

docker run \
-e EPPO_API_HOST \
Expand All @@ -118,7 +118,7 @@ case "$command" in
-v ./test-data:/app/test-data:ro \
--rm -d \
--name eppo-api \
-t Eppo-exp/test-api-server:latest
-t Eppo-exp/testing-api:latest

echo_yellow " ... Waiting to verify server is up"

Expand Down
4 changes: 2 additions & 2 deletions package-testing/testing-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ To run in docker, we need to build the docker image, provide the test data, then

1. Build for local use
```shell
docker build . -t Eppo-exp/test-api-server:local
docker build . -t Eppo-exp/testing-api:local
```

To use the local copy of test data, run
Expand All @@ -113,7 +113,7 @@ docker run \
--rm \
-v ./test-data:/app/test-data \
-p 5000:5000 \
-t Eppo-exp/test-api-server:local
-t Eppo-exp/testing-api:local
```


Expand Down
6 changes: 2 additions & 4 deletions package-testing/testing-api/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@

VERSION=$1

docker build . -t Eppo-exp/test-api-server:$VERSION
docker tag Eppo-exp/test-api-server:$VERSION Eppo-exp/test-api-server:latest

# TODO push to github artifact registry.
docker build . -t Eppo-exp/testing-api:$VERSION
docker tag Eppo-exp/testing-api:$VERSION Eppo-exp/testing-api:latest

0 comments on commit 3130bd4

Please sign in to comment.