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

chore(deps): fail the build if workspace dirty after a yarn install (yarn.lock changed) (RHIDP-1203, RHIDP-1204) #1175

Merged
merged 2 commits into from
Apr 11, 2024

Conversation

nickboldt
Copy link
Member

@nickboldt nickboldt commented Apr 11, 2024

What does this PR do?

chore(deps): fail the build if workspace dirty after a yarn install (yarn.lock changed) (RHIDP-1203, RHIDP-1204)

Signed-off-by: Nick Boldt nboldt@redhat.com

Screenshot/screencast of this PR

N/A

What issues does this PR fix or reference?

N/A (or see commit message above for issue number)

How to test this PR?

N/A

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

…yarn.lock changed) (RHIDP-1203, RHIDP-1204)

Signed-off-by: Nick Boldt <nboldt@redhat.com>
@nickboldt nickboldt requested a review from a team as a code owner April 11, 2024 12:45
@nickboldt nickboldt changed the title chore(deps): fail the build if workspace... chore(deps): fail the build if workspace dirty after a yarn install (yarn.lock changed) (RHIDP-1203, RHIDP-1204) Apr 11, 2024
Copy link
Contributor

The image is available at: quay.io/janus-idp/backstage-showcase:pr-1175!

@gashcrumb
Copy link
Member

Interesting, when I try this locally, I don't get changed files. Let me test again with a totally clean repository and see. I think ideally I should get the same result locally as the build does in the PR.

@gashcrumb
Copy link
Member

Ah, I see actually having a changed app-config.yaml is expected:

image

unless we change this line and whatever relies on this to use app-config.local.yaml instead. We could try this now but I don't know if this will break something else, otherwise we could ignore the two files for the time being and raise an issue to tidy this up in the future.

…changed IN ADDITION to yarn.lock)

Signed-off-by: Nick Boldt <nboldt@redhat.com>
Copy link

sonarcloud bot commented Apr 11, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link

openshift-ci bot commented Apr 11, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: gashcrumb
Once this PR has been reviewed and has the lgtm label, please ask for approval from nickboldt. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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
Contributor

The image is available at: quay.io/janus-idp/backstage-showcase:pr-1175!

@nickboldt nickboldt merged commit b06fc44 into 1.1.x Apr 11, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants