Skip to content

Commit 4b32d73

Browse files
author
paulus
committed
Removed comma's, reduced timeout.
1 parent 7a04223 commit 4b32d73

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -198,18 +198,18 @@ jobs:
198198
id: cucumber_job
199199
continue-on-error: true
200200
run: |
201-
if ! kubectl wait --for=condition=complete --all jobs --timeout=30m; then
202-
echo "::error::Kubectl timed out...";
203-
echo "status=ERROR" >> $GITHUB_OUTPUT;
201+
if ! kubectl wait --for=condition=complete --all jobs --timeout=1m; then
202+
echo "::error::Kubectl timed out..."
203+
echo "status=ERROR" >> $GITHUB_OUTPUT
204204
kubectl get events --all-namespaces --sort-by='.metadata.creationTimestamp' &> kube_events.log
205205
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 &> ${pod}.log ;
206+
echo "::debug:: Created logs for pod $pod"
207+
kubectl logs $pod --all-containers=true &> ${pod}.log
208208
done;
209-
kubectl get pods &> kube_status.log;
209+
kubectl get pods &> kube_status.log
210210
exit 1
211211
fi;
212-
echo "status=SUCCES" >> $GITHUB_OUTPUT;
212+
echo "status=SUCCES" >> $GITHUB_OUTPUT
213213
- name: Upload error logs
214214
uses: actions/upload-artifact@v4
215215
with:

0 commit comments

Comments
 (0)