fix: configure FluxCD to use production branch and add OpenSSL deps to CI

FluxCD Changes:
- Updated GitRepository resource to watch 'production' branch instead of 'main'
- Deployment now automatically pulls from production branch where CI updates image tags

CI Changes:
- Added libssl-dev to system dependencies in both test.yml and production.yml
- Fixes "libcrypto.so.1.1: cannot open shared object file" error in CI runners

This ensures production deployments work end-to-end:
1. Push to production branch triggers CI
2. CI tests pass, builds image, updates k8s/deployment.yaml
3. FluxCD detects change in production branch and applies to cluster
This commit is contained in:
Graham McIntire 2026-03-07 12:17:31 -06:00
parent 6e3207f526
commit 834cb7d95a
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View file

@ -55,7 +55,7 @@ jobs:
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libsnmp-dev snmp-mibs-downloader postgresql-client
sudo apt-get install -y libssl-dev libsnmp-dev snmp-mibs-downloader postgresql-client
- name: Install dependencies
run: mix deps.get
@ -123,7 +123,7 @@ jobs:
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libsnmp-dev snmp-mibs-downloader postgresql-client
sudo apt-get install -y libssl-dev libsnmp-dev snmp-mibs-downloader postgresql-client
- name: Install Elixir dependencies
run: mix deps.get

View file

@ -58,7 +58,7 @@ jobs:
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libsnmp-dev snmp-mibs-downloader postgresql-client
sudo apt-get install -y libssl-dev libsnmp-dev snmp-mibs-downloader postgresql-client
- name: Install dependencies
run: mix deps.get
@ -134,7 +134,7 @@ jobs:
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libsnmp-dev snmp-mibs-downloader postgresql-client
sudo apt-get install -y libssl-dev libsnmp-dev snmp-mibs-downloader postgresql-client
- name: Install Elixir dependencies
run: mix deps.get