Skip to content

Commit

Permalink
Fix stderr to stdout to log file.
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Weinstock <[email protected]>
  • Loading branch information
jacobweinstock committed Jun 10, 2024
1 parent 8ebe15b commit c0af697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playground/tasks/Taskfile-create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ tasks:
NAMESPACE:
sh: yq eval '.namespace' {{.STATE_FILE_FQ_PATH}}
cmds:
- until KUBECONFIG="{{.KUBECONFIG}}" kubectl apply -f {{.OUTPUT_DIR}}/{{.CLUSTER_NAME}}.yaml 2>&1/dev/null; do echo "Trying kubectl apply again..."; sleep 1; done
- until KUBECONFIG="{{.KUBECONFIG}}" kubectl apply -f {{.OUTPUT_DIR}}/{{.CLUSTER_NAME}}.yaml >>{{.OUTPUT_DIR}}/error.log 2>&1; do echo "Trying kubectl apply again..."; sleep 1; done
- echo "Workload manifest applied to cluster."
status:
- KUBECONFIG="{{.KUBECONFIG}}" kubectl get -n {{.NAMESPACE}} cluster {{.CLUSTER_NAME}}
Expand Down

0 comments on commit c0af697

Please sign in to comment.