Add periodic job for contributor-site Hugo modules update#36933
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: TineoC The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
The kubekins-e2e image does not include Hugo, npm, or Go, which are required by the Hugo modules update script. Use the contributor-site's own staging image which has all dependencies pre-installed. Changes: - Image: kubekins-e2e -> k8s-contrib-site-hugo (from staging registry) - Command: runner.sh -> bash (runner.sh not available in new image) - Resources: 200m/256Mi -> 1cpu/1Gi (Hugo builds need more) - Added GOMODCACHE env var for writable Go module cache
|
Local dry-run test output (arm64) |
Replace :latest with :v0.133.0-7f658d63039e to ensure reproducible builds and avoid unexpected breakage from upstream image changes.
Update: Pinned image tagReplaced The tag is derived from Hugo version ( |
- Add contributor-site staging registry prefix to prow-job-autobump-config.yaml
- Update job images to use the new v{date}-{sha} tag format
This PR adds periodic and presubmit Prow jobs for
kubernetes/contributor-site.This replaces the previous GitHub Actions proposal in kubernetes/contributor-site#647.
Depends-on: kubernetes/contributor-site#647
/sig contributor-experience
/area prow
/kind feature