Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: code refactor to return the right error status and doc changes #43

Merged
merged 1 commit into from
May 22, 2023

Conversation

pranav-new-relic
Copy link
Member

@pranav-new-relic pranav-new-relic commented May 18, 2023

This PR addresses fixes to the following issues.

#40 :

  • Summary: Job status being marked as Success in the event of a failure too, which I've been able to reproduce by specifying wrong credentials and a wrong GUID to run entrypoint.sh, as specified by the user.
  • This is possibly due to an improper positioning of exitStatus=$? in entrypoint.sh, which is why it was not receiving status 1 in the event of an error. This has been refactored.

#41 :

  • Summary: action.yaml specifies the deployment type input as deploymenttype, but this input has been specified as deploymentType in the examples in README.md. This typo has been fixed.

Changes made to fix #40 :

Before Changes

image image

After Changes

image image

@pranav-new-relic pranav-new-relic marked this pull request as ready for review May 19, 2023 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Action fails but is marked as success
2 participants