-
Notifications
You must be signed in to change notification settings - Fork 155
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
Articles publishing too early #281
Comments
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
/remove-lifecycle rotten This is still a bug |
/assign |
According to https://github.com/kubernetes/contributor-site/blob/master/.github/workflows/netlify-periodic-build.yml runs at 3:30 UTC daily (thus the blog uses UTC time). You have to use Hugo front matter to establish the date you want to publish your article and set the time to 0330 UTC or earlier, then it should get published. What's happening now that's outside of that current setup? |
The config is set to build future, so it ignores the date and builds everything. The makefile just has to be updated to remove that flag |
If anyone wants to work on this, I'm happy to explain in detail what the fix could look like. |
Hi @CIPHERTron , I am interested to work on this issue, can I take it? |
Yes, feel free. You don’t need permission. Make sure you follow the steps in the contributor guide to get yourself ready to commit: https://www.kubernetes.dev/docs/guide/ |
Hi Folks, I have figured out the solution. Addressing the actual issue by @sftim with article publishing early than the intended date. My assumption is there is no such feature to schedule posts - I looked up the GH workflow as pointed by @chris-short and it runs daily and just builds them, no special job or stage to schedule posts. The only option is to understand how Hugo handles scheduling future posts. @mrbobbytables gave the right direction to check the So, the solution is to:
It works. I tested locally for posts with the PublishDate (set to today+1) option for a test blog post, based on PublishDate Hugo will not publish and waits until the publishDate is today and the netlify build job runs to publish them. So this could be the option for us to schedule the post for a future date after the PR merge. Please let me know about this solution. We can discuss this for further clarifications. Once all is good. I will provide the PR for the same. (Thanks, @chris-short for giving hints during the weekly SIG Marketing meeting) |
Thanks @imnmo Please open that PR with a proposed fix. I'll be happy to review it (might not be the same day; sorry about that). |
@imnmo, could we help you get working on a fix? It's OK to ask for help. |
@sftim unfortunately, I didn't find time past week to provide the PR. I will work on this issue today and create PR for discussions. |
/assign |
/close |
@imnmo: You can't close an active issue/PR unless you authored it or you are a collaborator. In response to this:
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. |
Can anyone help me close this issue? I can't, but the PR is merged and can be closed. |
/close |
@sftim: Closing this issue. In response to this:
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. |
https://kubernetes.dev/blog/2022/01/10/meet-our-contributors-india-ep-01/ was intended to publish next week; however, it is already live.
I assume this is a bug.
/kind bug
The text was updated successfully, but these errors were encountered: