Skip to content

Simplify repo base generation#331

Merged
cert-manager-prow[bot] merged 1 commit into
mainfrom
refactor_base_generation
Aug 22, 2025
Merged

Simplify repo base generation#331
cert-manager-prow[bot] merged 1 commit into
mainfrom
refactor_base_generation

Conversation

@inteon
Copy link
Copy Markdown
Member

@inteon inteon commented Aug 21, 2025

We have a few "copy files into repo base" Makefile targets.
This PR updates them to use similar logic (including logic to template these files).

Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
@cert-manager-prow cert-manager-prow Bot added dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 21, 2025
@inteon inteon force-pushed the refactor_base_generation branch from fb2acbd to d4367ff Compare August 21, 2025 08:43
Comment thread modules/go/01_mod.mk
# The base directory used to copy the govulncheck GH action from. This can be
# overwritten with an action with extra authentication or with a totally different
# pipeline (eg. a GitLab pipeline).
govulncheck_generate_base_dir ?= $(default_govulncheck_generate_base_dir)
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This was not used, use dont_generate_govulncheck instead and manually maintain the yaml file.

@inteon inteon force-pushed the refactor_base_generation branch from d4367ff to d1a99ac Compare August 21, 2025 08:47
Comment thread modules/helm/helm.mk
$(error bin_dir is not set)
endif

ifndef repo_name
Copy link
Copy Markdown
Member Author

@inteon inteon Aug 21, 2025

Choose a reason for hiding this comment

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

This was unused here.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Oh, I see. That variable is used elsewhere in other modules, just not in helm module so no need to error here if the variable is unset.

Copy link
Copy Markdown
Member

@wallrj-cyberark wallrj-cyberark left a comment

Choose a reason for hiding this comment

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

I think I get it, but worried that the removal of govulncheck_skip will break the recent changes that Ash implemented.
Merge if you're confident that nothing's going to break.

Comment thread modules/go/01_mod.mk
Comment thread modules/helm/helm.mk
$(error bin_dir is not set)
endif

ifndef repo_name
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Oh, I see. That variable is used elsewhere in other modules, just not in helm module so no need to error here if the variable is unset.

@inteon
Copy link
Copy Markdown
Member Author

inteon commented Aug 22, 2025

/approve

@cert-manager-prow
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: inteon, wallrj-cyberark

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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

@cert-manager-prow cert-manager-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 22, 2025
@inteon inteon added the lgtm Indicates that a PR is ready to be merged. label Aug 22, 2025
@cert-manager-prow cert-manager-prow Bot merged commit f3f8f80 into main Aug 22, 2025
4 checks passed
@erikgb erikgb deleted the refactor_base_generation branch September 14, 2025 09:08
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. dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants