feature-system-deployment: add Terraform + Ansible CD pipeline - #119
Open
petkorutesic wants to merge 2 commits into
Open
feature-system-deployment: add Terraform + Ansible CD pipeline #119petkorutesic wants to merge 2 commits into
petkorutesic wants to merge 2 commits into
Conversation
…aging and production Provision the application's OpenStack host VMs and infrastructure-as-code, driven by GitHub Actions (and act for local runs). - Terraform: reusable openstack_vm module (keypair + instance + optional floating IP + optional Cinder data volume) consu production envs; local state backend, credentials via OS_* env vars. - Ansible: install Docker (geerlingguy.docker) and on the VM; inventory generated from the Terraform `vm_ip` output. - Workflows: staging deploys on push to main; production on workflow_dispatch or v* tag, gated by the protected `production` environment. Both run terraform fmt check + Trivy scan and inject the SSH key as TF_VAR. - Tooling/docs: tf-local.sh helper, .secrets.template, infrastructure README + EXTRACT.md, and .gitignore rules for state/secrets/inventory.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…aging and production
Provision the application's OpenStack host VMs and infrastructure-as-code, driven by GitHub Actions (and act for local runs).
vm_ipoutput.productionenvironment. Both run terraform fmt check + Trivy scan and inject the SSH key as TF_VAR.Linked Issue
Closes #
Description
Type of Change
Checklist
Screenshots / Logs (Optional)