Skip to content

Upgrade to latest Hugo #5418

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

Merged
merged 32 commits into from
Mar 14, 2021
Merged

Upgrade to latest Hugo #5418

merged 32 commits into from
Mar 14, 2021

Conversation

cnunciato
Copy link
Contributor

@cnunciato cnunciato commented Mar 9, 2021

This change moves us onto the latest version of Hugo (0.81), making several minor adjustments to support Hugo's new default Markdown renderer, Goldmark. It also updates all resource docs and tutorials and makes the appropriate adjustments to instructional READMEs.

I realize this is gigantic, but the changes amount to this:

  • Bumping Hugo in the build-and-deploy workflow and updating READMEs
  • Lots of little tweaks to our hand-authored pages to adjust for the switch to Goldmark
  • Regeneration of resource docs and tutorials
  • Removal of a few unused shortcodes. I stopped short of removing the {{% md %}} shortcode, as @justinvp suggests we try in Tracking issue to upgrade to the latest Hugo when markdown rendering issues have been addressed #1091, only because it's going to take some trial and error to get the rendering right, and it'd be good to get the cutover done sooner than later, as it unlocks a few options for some upcoming work. But I'm committed to doing that in a follow-up for sure.

Given the size of the PR (🦄 ), a good way to review it might just be to use the preview links (most recent ones toward the bottom of the PR comments here) and browsing around to look for misrendered pages. I do think I've looked at most everything at this point, though, so on the whole I feel pretty good about where this is now.

Part of https://github.com/pulumi/home/issues/1280

Fixes #1091
Fixes #4059
Fixes #3779
Fixes #3593

See also pulumi/pulumi#6524, which updates the templates used for the resource-docs updates.

@@ -66,7 +66,7 @@ Expect The Pulumipus to pop up from time to time to help you out with your infra

Today is an exciting day for us, our customers, and our community — your passionate support and feedback shaped this release, and we thank you.

To learn more, [join us for our launch event next Wednesday]({{< relref "/resources/pulumi-update-2020-04-29" >}}), [check out the new superpowers page]({{< relref "/superpowers" >}}) with more details and videos, or just [download Pulumi and give it a try]({{< relref "/docs/get-started" >}}). If you're upgrading from Pulumi 1.0, [please see our migration guide]({{< relref "/docs/get-started/install/migrating-2.0" >}}).
To learn more, [join us for our launch event next Wednesday]({{< relref "/resources/pulumi-update-2020-04-29" >}}), [check out the new superpowers page]({{< relref "/superpowers" >}}) with more details and videos, or just [download Pulumi and give it a try]({{< relref "/docs/get-started" >}}). If you're upgrading from Pulumi 1.0, [please see our migration guide]({{< relref "/docs/get-started/install/migrating-2.0.md" >}}).
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@cnunciato cnunciato force-pushed the cnunciato/upgrade-the-hugos branch from a1f39f6 to 02a9003 Compare March 9, 2021 22:11
@github-actions
Copy link

github-actions bot commented Mar 9, 2021

Your site preview for commit a1f39f6 is ready! 🎉

http://pulumi-docs-origin-pr-5418-a1f39f62.s3-website.us-west-2.amazonaws.com.

Copy link

@pulumi pulumi bot left a comment

Choose a reason for hiding this comment

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

🍹 The Update (preview) for stack pulumi/www.pulumi.com/production was successful.

Resource Changes

    Name                  Type                                      Operation
~   cdn                   aws:cloudfront/distribution:Distribution  update
*   origin-bucket-policy  aws:s3/bucketPolicy:BucketPolicy          replaced

@github-actions
Copy link

github-actions bot commented Mar 9, 2021

Your site preview for commit 02a9003 is ready! 🎉

http://pulumi-docs-origin-pr-5418-02a90035.s3-website.us-west-2.amazonaws.com.

Copy link

@pulumi pulumi bot left a comment

Choose a reason for hiding this comment

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

🍹 The Update (preview) for stack pulumi/www.pulumi.com/production was successful.

Resource Changes

    Name                  Type                                      Operation
~   cdn                   aws:cloudfront/distribution:Distribution  update
*   origin-bucket-policy  aws:s3/bucketPolicy:BucketPolicy          replaced

@github-actions
Copy link

github-actions bot commented Mar 9, 2021

Your site preview for commit a6268c7 is ready! 🎉

http://pulumi-docs-origin-pr-5418-a6268c7c.s3-website.us-west-2.amazonaws.com.

Copy link

@pulumi pulumi bot left a comment

Choose a reason for hiding this comment

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

🍹 The Update (preview) for stack pulumi/www.pulumi.com/production was successful.

Resource Changes

    Name                  Type                                      Operation
*   origin-bucket-policy  aws:s3/bucketPolicy:BucketPolicy          replaced
~   cdn                   aws:cloudfront/distribution:Distribution  update

@cnunciato cnunciato force-pushed the cnunciato/upgrade-the-hugos branch from a6268c7 to 2976fab Compare March 11, 2021 20:35
@github-actions
Copy link

Your site preview for commit af21fb1 is ready! 🎉

http://pulumi-docs-origin-pr-5418-af21fb14.s3-website.us-west-2.amazonaws.com.

Copy link

@pulumi pulumi bot left a comment

Choose a reason for hiding this comment

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

🍹 The Update (preview) for stack pulumi/www.pulumi.com/production was successful.

Resource Changes

    Name                  Type                                      Operation
*   origin-bucket-policy  aws:s3/bucketPolicy:BucketPolicy          replaced
~   cdn                   aws:cloudfront/distribution:Distribution  update

@github-actions
Copy link

Your site preview for commit 58d490f is ready! 🎉

http://pulumi-docs-origin-pr-5418-58d490f2.s3-website.us-west-2.amazonaws.com.

Copy link

@pulumi pulumi bot left a comment

Choose a reason for hiding this comment

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

🍹 The Update (preview) for stack pulumi/www.pulumi.com/production was successful.

Resource Changes

    Name                  Type                                      Operation
~   cdn                   aws:cloudfront/distribution:Distribution  update
*   origin-bucket-policy  aws:s3/bucketPolicy:BucketPolicy          replaced

@github-actions
Copy link

Your site preview for commit 09ab83c is ready! 🎉

http://pulumi-docs-origin-pr-5418-09ab83c9.s3-website.us-west-2.amazonaws.com.

Copy link

@pulumi pulumi bot left a comment

Choose a reason for hiding this comment

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

🍹 The Update (preview) for stack pulumi/www.pulumi.com/production was successful.

Resource Changes

    Name                  Type                                      Operation
*   origin-bucket-policy  aws:s3/bucketPolicy:BucketPolicy          replaced
~   cdn                   aws:cloudfront/distribution:Distribution  update

@github-actions
Copy link

Your site preview for commit 0e93e59 is ready! 🎉

http://pulumi-docs-origin-pr-5418-0e93e59c.s3-website.us-west-2.amazonaws.com.

Copy link

@pulumi pulumi bot left a comment

Choose a reason for hiding this comment

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

🍹 The Update (preview) for stack pulumi/www.pulumi.com/production was successful.

Resource Changes

    Name                  Type                                      Operation
~   cdn                   aws:cloudfront/distribution:Distribution  update
*   origin-bucket-policy  aws:s3/bucketPolicy:BucketPolicy          replaced

@cnunciato cnunciato force-pushed the cnunciato/upgrade-the-hugos branch from 0c7273e to 277aeb9 Compare March 13, 2021 01:01
@github-actions
Copy link

Your site preview for commit 2e3ef3f is ready! 🎉

http://pulumi-docs-origin-pr-5418-2e3ef3fc.s3-website.us-west-2.amazonaws.com.

Copy link

@pulumi pulumi bot left a comment

Choose a reason for hiding this comment

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

🍹 The Update (preview) for stack pulumi/www.pulumi.com/production was successful.

Resource Changes

    Name                  Type                                      Operation
~   cdn                   aws:cloudfront/distribution:Distribution  update
*   origin-bucket-policy  aws:s3/bucketPolicy:BucketPolicy          replaced

@github-actions
Copy link

Your site preview for commit 0c7273e is ready! 🎉

http://pulumi-docs-origin-pr-5418-0c7273ef.s3-website.us-west-2.amazonaws.com.

Copy link

@pulumi pulumi bot left a comment

Choose a reason for hiding this comment

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

🍹 The Update (preview) for stack pulumi/www.pulumi.com/production was successful.

Resource Changes

    Name                  Type                                      Operation
~   cdn                   aws:cloudfront/distribution:Distribution  update
*   origin-bucket-policy  aws:s3/bucketPolicy:BucketPolicy          replaced

@cnunciato cnunciato force-pushed the cnunciato/upgrade-the-hugos branch from 277aeb9 to 4d9fc82 Compare March 13, 2021 01:17
@github-actions
Copy link

Your site preview for commit 4d9fc82 is ready! 🎉

http://pulumi-docs-origin-pr-5418-4d9fc825.s3-website.us-west-2.amazonaws.com.

Copy link

@pulumi pulumi bot left a comment

Choose a reason for hiding this comment

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

🍹 The Update (preview) for stack pulumi/www.pulumi.com/production was successful.

Resource Changes

    Name                  Type                                      Operation
*   origin-bucket-policy  aws:s3/bucketPolicy:BucketPolicy          replaced
~   cdn                   aws:cloudfront/distribution:Distribution  update

@github-actions
Copy link

Your site preview for commit 89fe7a4 is ready! 🎉

http://pulumi-docs-origin-pr-5418-89fe7a42.s3-website.us-west-2.amazonaws.com.

Copy link

@pulumi pulumi bot left a comment

Choose a reason for hiding this comment

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

🍹 The Update (preview) for stack pulumi/www.pulumi.com/production was successful.

Resource Changes

    Name                  Type                                      Operation
*   origin-bucket-policy  aws:s3/bucketPolicy:BucketPolicy          replaced
~   cdn                   aws:cloudfront/distribution:Distribution  update

@cnunciato cnunciato requested a review from justinvp March 13, 2021 14:22
@github-actions
Copy link

Your site preview for commit 239cbf0 is ready! 🎉

http://pulumi-docs-origin-pr-5418-239cbf03.s3-website.us-west-2.amazonaws.com.

Copy link

@pulumi pulumi bot left a comment

Choose a reason for hiding this comment

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

🍹 The Update (preview) for stack pulumi/www.pulumi.com/production was successful.

Resource Changes

    Name                  Type                                      Operation
*   origin-bucket-policy  aws:s3/bucketPolicy:BucketPolicy          replaced
~   cdn                   aws:cloudfront/distribution:Distribution  update

@github-actions
Copy link

Your site preview for commit fac6c36 is ready! 🎉

http://pulumi-docs-origin-pr-5418-fac6c360.s3-website.us-west-2.amazonaws.com.

Copy link

@pulumi pulumi bot left a comment

Choose a reason for hiding this comment

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

🍹 The Update (preview) for stack pulumi/www.pulumi.com/production was successful.

Resource Changes

    Name                  Type                                      Operation
*   origin-bucket-policy  aws:s3/bucketPolicy:BucketPolicy          replaced
~   cdn                   aws:cloudfront/distribution:Distribution  update

@cnunciato cnunciato requested a review from zchase March 14, 2021 00:13
@github-actions
Copy link

Your site preview for commit 9d6a208 is ready! 🎉

http://pulumi-docs-origin-pr-5418-9d6a2087.s3-website.us-west-2.amazonaws.com.

Copy link

@pulumi pulumi bot left a comment

Choose a reason for hiding this comment

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

🍹 The Update (preview) for stack pulumi/www.pulumi.com/production was successful.

Resource Changes

    Name                  Type                                      Operation
~   cdn                   aws:cloudfront/distribution:Distribution  update
*   origin-bucket-policy  aws:s3/bucketPolicy:BucketPolicy          replaced

@cnunciato cnunciato merged commit 6073523 into master Mar 14, 2021
@pulumi-bot pulumi-bot deleted the cnunciato/upgrade-the-hugos branch March 14, 2021 14:14
@github-actions
Copy link

Site previews for this pull request have been removed. ✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants