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

allow results and log writing to overwrite existing content on re-run of preflight #866

Merged

Conversation

komish
Copy link
Contributor

@komish komish commented Jan 10, 2023

Workaround for #827

In version 1.4.0, Preflight would overwrite existing results.json, etc. within the artifacts directory on re-execution. This behavior changed in version 1.4.1 with the introduction of Afero which is causing some friction for users.

This PR should return the original behavior back until we decide what we want to do re: artifacts writing in the future.

Signed-off-by: Jose R. Gonzalez jose@flutes.dev

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 10, 2023
… of preflight

Signed-off-by: Jose R. Gonzalez <jose@flutes.dev>
@coveralls
Copy link

Coverage Status

Coverage: 81.77% (-0.1%) from 81.897% when pulling a39ec24 on komish:remove-safe-write into 896cbda on redhat-openshift-ecosystem:main.

Copy link
Contributor

@bcrochet bcrochet left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 13, 2023
@openshift-ci
Copy link

openshift-ci bot commented Jan 16, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: acornett21, bcrochet, komish

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:
  • OWNERS [acornett21,bcrochet,komish]

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

@acornett21 acornett21 merged commit 8d6f8de into redhat-openshift-ecosystem:main Jan 16, 2023
@komish komish mentioned this pull request Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants