Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Remove Registry module and await in-progress workflows #3547

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

cnunciato
Copy link
Contributor

@cnunciato cnunciato commented Oct 26, 2023

As a follow-up to https://github.com/pulumi/pulumi-hugo-private/issues/112, this change does a couple of things, both aimed at reducing the likelihood of the merge conflicts we see when running the push and upstream-sync workflows:

  • Removes the hugo mod get that attempts to pull in the latest from pulumi/registry (along with the reference to that module in the Hugo config). There's no technical need to import this module, particularly since the Registry now runs as a completely separate app; the only purpose it serves is to show something at /registry in PR previews and in local development. (Removing this therefore means navigating to /registry in PR previews and in local development will 404, but I'm assuming that won't cause too much pain for contributors to this repo.)
  • Adds a step to wait for any in-progress push workflows to finish before running the current one. This will ensure that push workflows always complete in the order in which they're merged (so that multiple merges that happen in proximity won't run into the same class of problem by producing CSS and JS bundles out of sequence). This is the same script we use in pulumi/docs for this purpose.

@cnunciato cnunciato force-pushed the cnunciato/await-in-prog branch from c28918e to 1134b87 Compare October 26, 2023 21:42
@pulumi-bot
Copy link
Collaborator

Your site preview for commit 1134b87 is ready! 🎉

http://pulumi-hugo-origin-pr-3547-1134b87f.s3-website.us-west-2.amazonaws.com.

@cnunciato cnunciato requested review from sean1588, zchase and a team October 26, 2023 21:48
@cnunciato cnunciato force-pushed the cnunciato/await-in-prog branch from 1134b87 to 7c9ce32 Compare October 26, 2023 22:44
@pulumi-bot
Copy link
Collaborator

Your site preview for commit 7c9ce32 is ready! 🎉

http://pulumi-hugo-origin-pr-3547-7c9ce32e.s3-website.us-west-2.amazonaws.com.

@cnunciato cnunciato force-pushed the cnunciato/await-in-prog branch from 7c9ce32 to 4e16109 Compare October 26, 2023 22:48
@pulumi-bot
Copy link
Collaborator

Your site preview for commit 4e16109 is ready! 🎉

http://pulumi-hugo-origin-pr-3547-4e16109c.s3-website.us-west-2.amazonaws.com.

@cnunciato cnunciato merged commit 7f0bf02 into master Oct 26, 2023
1 check passed
@cnunciato cnunciato deleted the cnunciato/await-in-prog branch October 26, 2023 22:52
@github-actions
Copy link

Site previews for this pull request have been removed. ✨

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants