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

release automation tooling #16

Merged
merged 1 commit into from
Sep 1, 2023
Merged

Conversation

thedoubl3j
Copy link
Contributor

Included in this PR

  • removal of 2 tarballs to reduce weight of repo and also because they can be found on galaxy
  • add release tooling for automated releases

You will need to configure the required keys from your accounts in github. This will require you to create an environment called "release" (repo settings -> environments -> create a new environment) and then once that is created, you will need to add the 2 secrets to that environment called AH_TOKEN and ANSIBLE_GALAXY_API_KEY. These workflows are already setup to call them by those names but if you wish to change their names etc, feel free to do that, just know that these files will need to be changed accordingly as well.

Also included is a token refresh workflow that is just a cron job to help maintain the activity on the AH key that you have so that it doesn't die and force you to refresh.

To trigger a release of the collection to both galaxy and AH, you will need to do 2 things:

  • merge/update galaxy.yml to the desired version number
  • cut a release in github

Once that release is successful/in the published state, it will trigger this workflow.

Happy to answer any other questions that you might have here or in an email thread.

@Jai28 Jai28 merged commit 5a75a8c into Dynatrace:main Sep 1, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants