Skip to content

Commit

Permalink
Skript pro zastavené
Browse files Browse the repository at this point in the history
  • Loading branch information
westfood committed Apr 7, 2024
1 parent b0c68e4 commit 0b90608
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 @@ -46,5 +46,7 @@
loop:
- src: run.sh
dest: "{{ pywb_dir }}/run-{{ env }}.sh"
- src: run.sh
dest: "{{ pywb_dir }}/stop-{{ env }}.sh"
# - dump-screenshots.sh
# - update_vyvoj.sh
9 changes: 9 additions & 0 deletions ci/templates/stop.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 stop

0 comments on commit 0b90608

Please sign in to comment.