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

Report correct build status in case of failure #128

Merged
merged 1 commit into from
Sep 25, 2018

Conversation

oscerd
Copy link
Contributor

@oscerd oscerd commented Sep 25, 2018

fixes #114

target := integration.DeepCopy()
target.Status.Image = ctx.Status.Image
target.Spec.Context = ctx.Name
target.Status.Phase = v1alpha1.IntegrationPhaseError
Copy link
Contributor

Choose a reason for hiding this comment

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

if the integration is already in error phase, we can void updating it

@lburgazzoli lburgazzoli merged commit ed658ba into master Sep 25, 2018
@oscerd oscerd deleted the report-correct-status branch October 9, 2018 09:23
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.

Report correct build status in case of failure
2 participants