-
-
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.
Chore: Use pytest-docker for managing the images (#36)
- Loading branch information
Showing
10 changed files
with
142 additions
and
105 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
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
File renamed without changes.
File renamed without changes.
21 changes: 10 additions & 11 deletions
21
.docker/docker-compose.ci-test-edge.yml → tests/docker/docker-compose.ci-test-edge.yml
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 |
---|---|---|
@@ -1,25 +1,24 @@ | ||
# docker-compose file for running testing with gotenberg container | ||
# Can be used locally or by the CI to start the necessary container with the | ||
# correct networking for the tests | ||
|
||
version: "3" | ||
networks: | ||
gotenberg-test-edge-net: | ||
services: | ||
gotenberg-client-test-edge-server: | ||
image: docker.io/gotenberg/gotenberg:edge | ||
hostname: gotenberg-client-test-edge-server | ||
container_name: gotenberg-client-test-edge-server | ||
network_mode: host | ||
restart: unless-stopped | ||
networks: | ||
- gotenberg-test-edge-net | ||
ports: | ||
- "3000/tcp" | ||
command: | ||
- "gotenberg" | ||
- "--log-level=info" | ||
- "--log-format=text" | ||
nginx-webserver: | ||
nginx-webserver-edge: | ||
image: docker.io/nginx:1-alpine | ||
hostname: nginx-webserver | ||
container_name: nginx-webserver | ||
networks: | ||
- gotenberg-test-edge-net | ||
ports: | ||
- "8888:80" | ||
restart: unless-stopped | ||
- "80/tcp" | ||
volumes: | ||
- ./content:/usr/share/nginx/html:ro |
25 changes: 11 additions & 14 deletions
25
.docker/docker-compose.ci-test.yml → tests/docker/docker-compose.ci-test.yml
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 |
---|---|---|
@@ -1,27 +1,24 @@ | ||
# docker-compose file for running testing with gotenberg container | ||
# Can be used locally or by the CI to start the necessary container with the | ||
# correct networking for the tests | ||
|
||
version: "3" | ||
networks: | ||
gotenberg-test-net: | ||
services: | ||
gotenberg-client-test-server: | ||
gotenberg-client-test-edge-server: | ||
image: docker.io/gotenberg/gotenberg:8.11.0 | ||
hostname: gotenberg-client-test-server | ||
container_name: gotenberg-client-test-server | ||
network_mode: host | ||
restart: unless-stopped | ||
networks: | ||
- gotenberg-test-net | ||
ports: | ||
- "3000/tcp" | ||
command: | ||
- "gotenberg" | ||
- "--log-level=warn" | ||
- "--log-level=info" | ||
- "--log-format=text" | ||
nginx-webserver: | ||
image: docker.io/nginx:1-alpine | ||
hostname: nginx-webserver | ||
container_name: nginx-webserver | ||
networks: | ||
- gotenberg-test-net | ||
ports: | ||
- "8888:80" | ||
restart: unless-stopped | ||
environment: | ||
NGINX_ENTRYPOINT_QUIET_LOGS: 1 | ||
- "80/tcp" | ||
volumes: | ||
- ./content:/usr/share/nginx/html:ro |
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
Oops, something went wrong.