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

GH action ready for review #82

Merged
merged 12 commits into from
Sep 11, 2021
Merged

GH action ready for review #82

merged 12 commits into from
Sep 11, 2021

Conversation

ubajze
Copy link
Contributor

@ubajze ubajze commented Sep 10, 2021

No description provided.

Copy link
Contributor

@jvanderaa jvanderaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks to match what we have today on Travis. Let's make sure that @FragmentedPacket approves as well before merging.

We are also going to need to add a recurring CI execution to have this whole thing run weekly as well.

- name: "Build the collection"
run: "ansible-galaxy collection build --output-path build"
- name: "Publish the collection"
run: "ansible-galaxy collection publish build/* --api-key=${{ secrets.GALAXY_API_TOKEN }}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@FragmentedPacket will this work out for the publishing?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe it should work, but would try and test locally.

Here is what I did in the Netbox collection a while ago: https://github.com/netbox-community/ansible_modules/blob/devel/.github/workflows/release.yml#L16

Copy link
Contributor

@FragmentedPacket FragmentedPacket left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's up to you if you want to change the deploy using the Ansible Action, but not sure if it's being supported or developed at this point either.

@jvanderaa
Copy link
Contributor

I'm good using the Ansible Galaxy command. It is known and works. @FragmentedPacket

@jvanderaa jvanderaa merged commit 9150130 into develop Sep 11, 2021
@FragmentedPacket FragmentedPacket deleted the gh-actions branch March 31, 2022 17:21
@FragmentedPacket FragmentedPacket restored the gh-actions branch March 31, 2022 17:21
@FragmentedPacket FragmentedPacket deleted the gh-actions branch March 31, 2022 17:21
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.

3 participants