-
Notifications
You must be signed in to change notification settings - Fork 13
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
Automate redeployments with GitHub Actions #27
Comments
To add, we apply this (remote deployment via GH Actions calling Ansible) for the Geonovum OGC API testbed: |
This is a duplicate of #36, will merge/close that one. |
Some info From #36, may be redundant: The current setup to maintain and deploy the various services is semi-automated: Ansible is used, but with full GitOps, coupling GitHub, GH Workflows with Ansible, we get several advantages:
As example of a fully fledged GitOps |
And see this small repo: https://github.com/justb4/hetzner-lb as even more recent example. |
Changes to the pygeoapi GitHub repo are automatically propagated via DockerHub and a DockerHub listener here.
But changes to the
demo.pygeoapi.io
repo like config or data changes here are not auto-deployed.Manual action via Ansible is required like:
ansible-playbook -vv deploy.yml -i hosts/demo.pygeoapi.io --tags update,pygeoapi_master
etcAlso one needs SSH access.
To have full CI deployment GitHub Actions need to be developed such that anyone with commit rights to the demo repo here can redeploy a service.
Hint: there are quite some GH Actions Ansible modules available, the commands are simple enough, SSH-keying may be the biggest challenge, docs:
The text was updated successfully, but these errors were encountered: