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

Introduce variables for versions #1433

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

inteon
Copy link
Member

@inteon inteon commented Mar 1, 2024

Introduces a new variable format [[VAR::cert_manager_latest_version]] which can be used inside codeblocks and reads variables from the variables.json file.
The solution is based on facebook/docusaurus#395 (comment) and works around an issue with MDX which does not allow you to have variables in codeblocks (https://github.com/orgs/mdx-js/discussions/2288).

@jetstack-bot jetstack-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 Mar 1, 2024
Copy link

netlify bot commented Mar 1, 2024

Deploy Preview for cert-manager-website ready!

Name Link
🔨 Latest commit e3eb94d
🔍 Latest deploy log https://app.netlify.com/sites/cert-manager-website/deploys/65e20a1eeddc02000867cd25
😎 Deploy Preview https://deploy-preview-1433--cert-manager-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
@jetstack-bot jetstack-bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Mar 1, 2024
@maelvls
Copy link
Member

maelvls commented Mar 4, 2024

Hey, great finding!

Can you update the Release Process document to reflect that? I think we can remove a lot of sed that I had added a while back?

/hold if you want to update the release process.
/lgtm
/approve

@maelvls maelvls added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 4, 2024
@jetstack-bot jetstack-bot added the lgtm Indicates that a PR is ready to be merged. label Mar 4, 2024
@jetstack-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: maelvls

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:

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

@jetstack-bot jetstack-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 4, 2024
@inteon
Copy link
Member Author

inteon commented Mar 4, 2024

I'll create a seperate PR that updates the release doc.
@maelvls
/unhold

@jetstack-bot jetstack-bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 4, 2024
@jetstack-bot jetstack-bot merged commit aa08664 into cert-manager:master Mar 4, 2024
4 checks passed
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/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants