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

Temporarily exclude two files in the Git diff check in the CI/CD release workflow #15

Merged
merged 3 commits into from
May 14, 2024

Conversation

dustin-ruetz
Copy link
Contributor

Skip checking that the Git worktree is clean for now during the release.yml GitHub Actions workflow since the make tfgen and make build_sdks commands produce small Git diffs due to a bug in the Pulumi code generation process where the custom package name is not being used in the generated code.

Note that while it's definitely a code smell to have a Git diff in the the CI/CD pipeline, the intention of this PR's changes is to work around the Pulumi codegen bug by skipping the "Check worktree clean" step (i.e. just ignoring the fact that there's a Git diff produced in the job for now).

@dustin-ruetz dustin-ruetz changed the title Temporarily skip checking that Git worktree is clean in the CI/CD workflow Temporarily skip checking that Git worktree is clean in the CI/CD release workflow May 13, 2024
@dustin-ruetz dustin-ruetz self-assigned this May 13, 2024
Copy link
Member

@edif2008 edif2008 left a comment

Choose a reason for hiding this comment

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

Code review

This just comments out a step, which highlights that we skip it for now until the mentioned bug is fixed.

Other notes

I've also double-checked the diff on this branch after running make build_sdks and the following files are modified:

  • provider/cmd/pulumi-resource-onepassword/schema.json
  • sdk/nodejs/getItem.ts

Both of these diffs are caused by the bug mentioned in this PR.

.github/workflows/release.yml Outdated Show resolved Hide resolved
@dustin-ruetz dustin-ruetz changed the title Temporarily skip checking that Git worktree is clean in the CI/CD release workflow Temporarily exclude two files in the Git diff check in the CI/CD release workflow May 14, 2024
@dustin-ruetz dustin-ruetz merged commit b4c106f into main May 14, 2024
1 check passed
@dustin-ruetz dustin-ruetz deleted the ruetz-skip-git-worktree-check branch May 14, 2024 14:11
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.

4 participants