Skip to content

Commit

Permalink
feat: echo command trace (#2)
Browse files Browse the repository at this point in the history
* feat: echo command trace

verbosity to help with debugging

* feat: make entire entrypoint verbose
  • Loading branch information
seslly authored Mar 8, 2024
1 parent 5899c97 commit c2bfc55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

set -e
set -xe

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

echo "running entrypoint command(s)"

response=$(sh -c "$INPUT_COMMAND")
response=$(sh -xc "$INPUT_COMMAND")

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

0 comments on commit c2bfc55

Please sign in to comment.