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

Flpath 189: Add WorkStatus to WorkFlowResponseDTO and set it before return to user #110

Merged
merged 3 commits into from
Mar 20, 2023

Conversation

nirarg
Copy link
Contributor

@nirarg nirarg commented Mar 14, 2023

No description provided.

status=$(echo "$response" | jq -r '.workStatus')
if [[ "$status" == "FAILED" ]]; then
if "$exitOnFailure"; then
echo_red "Error: HTTP request failed" >&2
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would use @fail function here tbh

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@nirarg
Copy link
Contributor Author

nirarg commented Mar 15, 2023

/retest

@nirarg nirarg changed the title [wip] Flpath 189: Add WorkStatus to WorkFlowResponseDTO and set it before return to user Flpath 189: Add WorkStatus to WorkFlowResponseDTO and set it before return to user Mar 15, 2023
@gciavarrini
Copy link
Contributor

/lgtm

@pkliczewski
Copy link
Collaborator

/approve

@openshift-ci
Copy link

openshift-ci bot commented Mar 20, 2023

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by: nirarg, pkliczewski

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

@openshift-merge-robot openshift-merge-robot merged commit 06804c5 into parodos-dev:main Mar 20, 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.

5 participants