We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bb96cf commit e7b3fa5Copy full SHA for e7b3fa5
.github/workflows/build.yml
@@ -200,13 +200,13 @@ jobs:
200
run: |
201
if ! kubectl wait --for=condition=complete --all jobs --timeout=10s; then
202
echo "::error::Kubectl timed out...";
203
+ echo "status=ERROR" >> $GITHUB_OUTPUT;
204
kubectl get events --all-namespaces --sort-by='.metadata.creationTimestamp' 2> kube_events.log
205
for pod in $(kubectl get pod --field-selector=status.phase==Running -o name); do
206
echo "::debug:: Created logs for pod $pod";
207
kubectl logs $pod --all-containers=true 2> ${pod}.log ;
208
done;
209
kubectl get pods 2> kube_status.log;
- echo "status='ERROR'" >> $GITHUB_OUTPUT;
210
exit 1
211
fi;
212
echo "status=SUCCES" >> $GITHUB_OUTPUT;
0 commit comments