Skip to content

Import current Pages state into Pulumi state - #308

Merged
bobcallaway merged 1 commit into
sigstore:mainfrom
jku:one-time-import
Oct 12, 2026
Merged

bobcallaway merged 1 commit into
sigstore:mainfrom
jku:one-time-import

Conversation

@jku

@jku jku commented Oct 12, 2026

Copy link
Copy Markdown
Member

Pulumi state tracking on GH Pages is out of sync: it does not know which repos have Pages already. Import the state for GH.

This is intended as one time import: once it has been executed this PR should be reverted as it will fail for new repos.

Should fix #307.

I believe this should work:

Pulumi state tracking on GH Pages is out of sync: it does not know
which repos have Pages already. Import the state for GH.

This is intended as one time import: once it has been executed
 this PR should be reverted as it will fail for new repos.

Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>
@jku

jku commented Oct 12, 2026

Copy link
Copy Markdown
Member Author

I will test this now, thanks for reviews @cpanato

@jku

jku commented Oct 12, 2026

Copy link
Copy Markdown
Member Author

oh, actually I won't: I don't have merge permissions in either repo :)

but this is fine to merge from my POV: I will cleanup if things go sideways

@bobcallaway
bobcallaway merged commit 33cfca1 into sigstore:main Oct 12, 2026
3 checks passed
bobcallaway pushed a commit that referenced this pull request Oct 13, 2026
This reverts commit 33cfca1 now that current pages state has been
imported. Keeping this code would likely fail when new repositories
are added.

Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

409 GitHub Pages is already enabled

3 participants