Skip to content

Commit

Permalink
Add sleep between kubectl apply and wait
Browse files Browse the repository at this point in the history
  • Loading branch information
tschneider-aneo committed Nov 13, 2024
1 parent 20ee6d7 commit 09b40cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bench/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,6 @@ runs:
sed "s/@@ARMONIK_CORE_VERSION@@/$ARMONIK_CORE_VERSION/g; s/@@NTASKS@@/$NTASKS/g; s/@@SESSION_NAME@@/$SESSION_NAME/g; s/@@GRPC_CLIENT_ENDPOINT@@/$GRPC_CLIENT_ENDPOINT/g" \
${{ inputs.working-directory }}/tools/ci/bench-job-template.yml |
kubectl apply -f - --validate=ignore
echo "session-name=$SESSION_NAME" >> "$GITHUB_OUTPUT"
sleep 5
kubectl wait --for=condition=Complete' --timeout="${TIMEOUT}s" job/bench-session
echo "session-name=$SESSION_NAME" >> "$GITHUB_OUTPUT"

0 comments on commit 09b40cb

Please sign in to comment.