Skip to content

Commit

Permalink
Tweak tests for BCR (#28)
Browse files Browse the repository at this point in the history
* tweak tests for bcr

* rm presubmit
  • Loading branch information
kriscfoster authored Jan 14, 2025
1 parent 3014dcc commit 8d60b94
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ docker_compose_test(
```yaml
services:
test_container:
image: gcr.io/distroless/static-debian12:debug
image: ubuntu:25.04
entrypoint: ["echo", "Hello World!"]
```
Expand Down
2 changes: 1 addition & 1 deletion examples/external-image-test/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

services:
test_container:
image: gcr.io/distroless/static-debian12:debug
image: ubuntu:25.04
entrypoint: ["cat", "/resources/hello.txt"]
volumes:
- ./src/test/resources:/resources
4 changes: 2 additions & 2 deletions examples/pre-compose-up-script-test/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

services:
test_container:
image: gcr.io/distroless/static-debian12:debug
image: ubuntu:25.04
entrypoint: ["cat", "/resources/generated_file.txt"]
volumes:
- ./src/test/resources:/resources
- /tmp/foo:/resources

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
set -e

# This file is created as a pre-req to the docker-compose test actually running.
# Locally, the file will always be there but it won't be checked in as it is in .gitignore.
# CI will make sure that the file is generated on every execution.
touch generated_file.txt
mkdir -p /tmp/foo
touch /tmp/foo/generated_file.txt

0 comments on commit 8d60b94

Please sign in to comment.