Skip to content

Revise code organization section in README #12

Revise code organization section in README

Revise code organization section in README #12

Workflow file for this run

name: "DBRE Postgres - CI/CD Validate"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
validate-infrastructure:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Validation Docker Compose
run: docker compose -f docker-compose/docker-compose.yml config -q
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: 1.5.0
- name: Terraform Format & Validate
run: |
cd terraform
terraform fmt
terraform init -backend=false
terraform validate
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install Ansible Lint and Collections
run: |
pip install ansible-lint
ansible-galaxy collection install ansible.posix
ansible-galaxy collection install community.general
- name: Ansible Playbook Check
run: ansible-lint ansible/playbooks/postgresql_hardening.yml