This repository has been archived by the owner on Jun 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 105
Publish new collection versions from git tags automatically #43
Labels
Comments
(Also posting related issue geerlingguy/ansible-collection-k8s#6) |
This was referenced Feb 28, 2020
Related project that has a GitHub Action: artis3n/ansible_galaxy_collection#49 |
From @gundalow:
|
Here are the instructions—two PRs needed: https://github.com/ansible/project-config/#on-board-new-repo-into-zuul |
This was referenced Aug 18, 2020
Created the two required PRs:
Waiting on upstream, and once they're merged and I can confirm Zuul's working, I'll convert the PR on this repo to 'Open' instead of 'Draft'. |
geerlingguy
added a commit
that referenced
this issue
Aug 25, 2020
Issue #43: Update README to reflect new Zuul automated tag build and push.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
SUMMARY
Right now the Kubernetes collection release process is fully manual, and therefore prone to error. We've already hit our first minor bump in #29 — having a fully automated process should make the release process more foolproof, and also lighten the load on collection maintainers.
Using a process similar to the one outlined in this post (Automatically building and publishing Ansible Galaxy Collections), we can set up a GitHub Actions workflow called
build.yml
that would run only on tags, and it would build and publish the collection at the same version as the new tag.ISSUE TYPE
COMPONENT NAME
CI
ADDITIONAL INFORMATION
There are a couple things that I'm slightly worried about, with regard to permissions and an Ansible Galaxy token:
Until those issues are resolved, the only way to do automated publishing of new release tags would be to have one of the people with access to the Galaxy
community
namespace/org add their galaxy token to GitHub Actions as a secret... and doing that would expose that user to potential impersonation attacks on Galaxy.The text was updated successfully, but these errors were encountered: