Skip to content

Commit

Permalink
chmod +x scripts/mirror-name-search.sh (#801)
Browse files Browse the repository at this point in the history
Also add shebang & update docker-compose to execute script directly
  • Loading branch information
serprex authored Dec 12, 2023
1 parent 15ee6a2 commit 248fbe5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ services:
image: temporalio/admin-tools:1.22
stdin_open: true
tty: true
entrypoint: ["bash", "/etc/temporal/entrypoint.sh"]
entrypoint: /etc/temporal/entrypoint.sh
restart: on-failure
healthcheck:
test: ["CMD", "tctl", "workflow", "list"]
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ services:
stdin_open: true
tty: true
restart: on-failure
entrypoint: ["bash", "/etc/temporal/entrypoint.sh"]
entrypoint: /etc/temporal/entrypoint.sh
healthcheck:
test: ["CMD", "tctl", "workflow", "list"]
interval: 1s
Expand Down
2 changes: 2 additions & 0 deletions scripts/mirror-name-search.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/sh

sleep 5

# Check if MirrorName attribute exists
Expand Down

0 comments on commit 248fbe5

Please sign in to comment.