Skip to content

Commit

Permalink
Docker compose wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
westfood committed Apr 14, 2024
1 parent 58e1d39 commit 82816b4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,7 @@
dest: "{{ pywb_dir }}/logs-{{ env }}.sh"
- src: exec.sh
dest: "{{ pywb_dir }}/exec-{{ env }}.sh"
- src: docker.sh
dest: "{{ pywb_dir }}/docker-{{ env }}.sh"
# - dump-screenshots.sh
# - update_vyvoj.sh
9 changes: 9 additions & 0 deletions ci/templates/docker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash

# Make Bash Great Again
set -o errexit # exit when a command fails.
set -o nounset # exit when using undeclared variables
set -o pipefail # catch non-zero exit code in pipes
# set -o xtrace # uncomment for bug hunting

sudo docker-compose -f {{ pywb_dir }}/docker-compose-test.yaml -p pywb-test "$@"

0 comments on commit 82816b4

Please sign in to comment.