Open mrchrisadams opened 4 years ago
We currently deploy with ansible playbooks, but this is manual process.
It would be great to be able to trigger deploys from a github action, maybe with an action like this ansible one, that refers to playbooks we already have:
https://github.com/saubermacherag/ansible-playbook-docker-action
The other approach might be to trigger logging into the server, and running ansible from the machine itself.
https://github.com/Greening-Digital/greening-digital-ghost/blob/production/.github/workflows/cd.yml
Github Actions doesn't have great concurrency control, and running two ansible playbooks together could be really messy.
It's worth looking at turnstyle for limiting the number of concurrent jobs:
https://github.com/softprops/turnstyle
@arendjantetteroo hey buddy, I've added links I found when I looked into this myself a few weeks back
We currently deploy with ansible playbooks, but this is manual process.
It would be great to be able to trigger deploys from a github action, maybe with an action like this ansible one, that refers to playbooks we already have:
https://github.com/saubermacherag/ansible-playbook-docker-action
The other approach might be to trigger logging into the server, and running ansible from the machine itself.
https://github.com/Greening-Digital/greening-digital-ghost/blob/production/.github/workflows/cd.yml
Controlling currency of deploys
Github Actions doesn't have great concurrency control, and running two ansible playbooks together could be really messy.
It's worth looking at turnstyle for limiting the number of concurrent jobs:
https://github.com/softprops/turnstyle