Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

CI: Fix workflow-example #99

Merged
merged 1 commit into from
Mar 13, 2023
Merged

CI: Fix workflow-example #99

merged 1 commit into from
Mar 13, 2023

Conversation

eloycoto
Copy link
Collaborator

Fix workflow-example CI test and also fail if any command fails

@@ -89,6 +92,24 @@ get_next_workflow() {
-H 'Content-Type: application/json' | jq '.tasks[] | select(has("nextWorkFlow"))' | jq -r '.nextWorkFlow' | head -n 1
}

wait_project_start() {
echo_blue "******** Checking project is running ********"
for i in {1..1}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1..1 is a single iteration, right?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

meaning, i isn't progressing, so only one iteration and the condition on 108 will always be false?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, was testing it and I forget it.

Fix workflow-example CI test and also fail if any command fails

Signed-off-by: Eloy Coto <eloy.coto@acalustra.com>
@openshift-ci
Copy link

openshift-ci bot commented Mar 13, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: eloycoto, RichardW98

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link
Collaborator

@pkliczewski pkliczewski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@eloycoto eloycoto merged commit a2acf86 into parodos-dev:main Mar 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants