-
Notifications
You must be signed in to change notification settings - Fork 528
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
Automatically deploying package builds #1922
Comments
@samccann and @gotmax23 Let's continue the discussion here please. I've added the DaWGs label too. One thing you mention about auto-deploys to
When builds fail, we will get notifications in the docs channel in Matrix. The logs will also be readily available too so anyone who notices the In any case I do think it would be good to have a somewhat lower frequency of updates to |
@oraNod To be clear, I'm not talking about a build failure, I'm talking about a successful build to /latest/ but the end result has some major failure for some reason. We've had it in the past where the docs published fine, only to realize some major gaps in what was available. As I said, it hasn't happened in a while, so it could have been an artifact of some older release process/tooling etc. I think a weekly auto-deploy for latest is fine. |
we talked about this in the DaWGs meeting today and decided that we want to modify the workflow to:
|
So, looking through this trying to make some progress.
Unless I'm reading something incorrectly here, the previously mentioned #1869 already enables actually nightly (well, at 0517) builds that are not deployed. (this bit makes it seem like its not deployed)
So, if we're looking for "twice a week", do we simply want to change it from I'm still re-reading the workflows for the rest of this, but was going to start on the first point and it looks like its just down to some fine tuning, unless I'm off base. |
@x1101 that sounds right to me. we already have the nightly builds running but want to trim that down to twice a week. the so if the user triggers the workflow manually and selects the deploy option, then |
@oraNod does it make sense to break out the three items into separate "tasks" on this issue? I was going to tackle them one at a time and submit distinct PR's for each. |
@oraNod I recommend putting the cron trigger into a separate workflow, making the original one reusable. This allows for better structure. |
OK @x1101 I've created the three tasks and converted them to issues. Hopefully all the details make sense there. Please take a look and comment on them so I can assign them to you. Any question, give us a shout. Thank you! |
Following on from discussion in #1869
Now that we are building package docs nightly in GHA, we should consider automatically deploying those builds to the
devel
branch on RTD: https://ansible.readthedocs.io/projects/ansible/devel/We currently auto-deploy to
devel
ondocs.ansible.com
with the jenkins job on RH infra. Setting this up with the GHA builds would give us functional parity with the jenkins stuff. At some point we discussed it but decided to keep GHA build deployments on a manual trigger while we evaluate the new workflow.There are other options for auto-deploying package builds too:
latest
. This could be risky because it is the version with the most visitors.One thing to clarify, this does not apply to Ansible core documentation. In this context, the auto-deploy is for docs hosted on readthedocs. The Ansible core docs are automatically deployed using RTD settings and in its own project. The build package docs workflow is in a separate RTD project to core docs.
Tasks
The text was updated successfully, but these errors were encountered: