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

fix: https://cert-manager.io/v1.12-docs doesn't work #1252

Merged
merged 3 commits into from
Jun 24, 2023

Conversation

maelvls
Copy link
Member

@maelvls maelvls commented Jun 19, 2023

I forgot to change the manifest.json when releasing v1.12. The command is:

sed -i.bak 's|/docs/|/v1.12-docs/|g' content/v1.12-docs/manifest.json
cat content/v1.12-docs/manifest.json \
  | jq 'del(.. | select(.path? | select(.) | test(".*(installation/supported-releases.md|installation/upgrading|release-notes).*")))' \
  | jq 'del(.. | select(.routes? == []))' >/tmp/manifest \
     && mv /tmp/manifest content/v1.12-docs/manifest.json

I also edited the release process document to reflect that in #1229.

@jetstack-bot jetstack-bot added dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jun 19, 2023
@SgtCoDFish
Copy link
Member

The preview build failure looks legitimate!

@jetstack-bot jetstack-bot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jun 20, 2023
@netlify
Copy link

netlify bot commented Jun 20, 2023

Deploy Preview for cert-manager-website ready!

Name Link
🔨 Latest commit 932e47b
🔍 Latest deploy log https://app.netlify.com/sites/cert-manager-website/deploys/6495cce5947375000847155c
😎 Deploy Preview https://deploy-preview-1252--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 settings.

I forgot to change the manifest.json when releasing v1.12. The command
is:

  sed -i.bak 's|/docs/|/v1.12-docs/|g' content/v1.12-docs/manifest.json

I also edited the release process document to reflect that in another
PR.

Signed-off-by: Maël Valais <[email protected]>
I updated the release process to mention this. Command I ran is:

  jq 'del(.. | select(.path? | select(.) | test(".*(installation/supported-releases.md|installation/upgrading|release-notes).*")))' \
    content/v1.12-docs/manifest.json >tmp && mv tmp content/v1.12-docs/manifest.json

Signed-off-by: Maël Valais <[email protected]>
@jetstack-bot jetstack-bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jun 20, 2023
Copy link
Member

@SgtCoDFish SgtCoDFish left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this! Couple of things that might need a second look.

content/v1.12-docs/manifest.json Outdated Show resolved Hide resolved
content/v1.12-docs/manifest.json Outdated Show resolved Hide resolved
@hawksight
Copy link
Member

Relates to #1243

Command used:
    cat content/v1.12-docs/manifest.json \
        | jq 'del(.. | select(.path? | select(.) | test(".*(installation/supported-releases.md|installation/upgrading|release-notes).*")))' \
        | jq 'del(.. | select(.routes? == []))' >/tmp/manifest \
           && mv /tmp/manifest content/v1.12-docs/manifest.json

Signed-off-by: Maël Valais <[email protected]>
Copy link
Member

@SgtCoDFish SgtCoDFish left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

This looks good, thanks!

@jetstack-bot jetstack-bot added the lgtm Indicates that a PR is ready to be merged. label Jun 24, 2023
@jetstack-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: maelvls, SgtCoDFish

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 merged commit ab6c1ee into cert-manager:master Jun 24, 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. 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.

4 participants