Skip to content

Commit c2bfc55

Browse files
authored
feat: echo command trace (#2)
* feat: echo command trace verbosity to help with debugging * feat: make entire entrypoint verbose
1 parent 5899c97 commit c2bfc55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
set -e
3+
set -xe
44

55
export KUBECONFIG="${PWD}/kubeconfig"
66
eksctl utils write-kubeconfig --cluster $INPUT_EKS_CLUSTER --kubeconfig $KUBECONFIG
@@ -19,6 +19,6 @@ fi
1919

2020
echo "running entrypoint command(s)"
2121

22-
response=$(sh -c "$INPUT_COMMAND")
22+
response=$(sh -xc "$INPUT_COMMAND")
2323

2424
echo "::set-output name=response::$response"

0 commit comments

Comments
 (0)