Repository navigation
Configure staging for website previews - #109
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Configure ASF staging for generated
site/<name>-stagingbranches, served athttps://steve-<name>.staged.apache.org. Thewhoami: asf-stagingguard keeps source branches from being staged; the existing production Pelican configuration is unchanged.This prepares the website rewrite for review before production deployment. The follow-up website PR will add the build workflow and include
.asf.yamlin its generated output before pushing that output to a staging branch. This configuration alone does not build a site or automatically preview pull requests.ASF staging configuration is branch-specific. Merging this first lets subsequent source branches inherit it; generated output branches must also contain the configuration.
Validation:
infrastructure-asfyamlatc10410aed8ea066e48826fc4bae0f9cf1dfe9025.site/website-stagingmaps tohttps://steve-website.staged.apache.org;asf-stagingmaps to the default staging domain;trunk,codex/site-preview,site/website, andasf-sitedo not stage.uv run ruff format .,uv run ruff check --fix ., anduv run mypy --ignore-missing-imports .passed inv3/.git diff --checkpassed.