Skip to content
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

Automatic update of site when external content is updated #160

Closed
mrbobbytables opened this issue Aug 27, 2020 · 10 comments
Closed

Automatic update of site when external content is updated #160

mrbobbytables opened this issue Aug 27, 2020 · 10 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@mrbobbytables
Copy link
Member

Currently the site is only updated when a PR to this repo is merged or a manual trigger of a build is done in netlify. Long term a prow job should be configured to trigger the rebuild webhook whenever the externally sourced content is updated.

As a short term solution, a periodic job could be configured to trigger rebuilding the site on something like a 12hr interval.

@kushthedude
Copy link
Contributor

Hey @mrbobbytables How about having a github action for the automatic trigger?

@mrbobbytables
Copy link
Member Author

@kushthedude As it spans multiple repos and they have prow in place I'd lean a bit more towards doing it that way. For the most part though it should be pretty similar :)

@kushthedude
Copy link
Contributor

kushthedude commented Sep 4, 2020

There is no prow job for contributor-site right now, should I add one here https://github.com/kubernetes/test-infra/tree/master/config/jobs/kubernetes-sigs ?

@mrbobbytables
Copy link
Member Author

OOOH, I think I get what you were saying now. We could setup a github action for this repo to trigger on an interval to rebuild.

Long term we'd want prow jobs to trigger a rebuild targeting the places where the external content is sourced:

That way the prow job would trigger a rebuild anytime content in those external sources is updates.

@kushthedude
Copy link
Contributor

kushthedude commented Sep 4, 2020 via email

@sftim
Copy link
Contributor

sftim commented Oct 3, 2020

The GitHub Action trigger sounds like a reasonable idea, and would also work for https://k8s.io/ (which has similar needs).

@sftim
Copy link
Contributor

sftim commented Oct 3, 2020

/kind feature

@k8s-ci-robot k8s-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Oct 3, 2020
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 1, 2021
@mrbobbytables
Copy link
Member Author

I think with the action trigger in place, this is good to close 👍

/close

@k8s-ci-robot
Copy link
Contributor

@mrbobbytables: Closing this issue.

In response to this:

I think with the action trigger in place, this is good to close 👍

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

5 participants