Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -420,16 +420,20 @@ jobs:
--initial-admin-password=changeme \
--tuning development \
--add-feature foreman-proxy
- name: Remove old parameters.yaml
run: rm -f .var/lib/foremanctl/parameters.yaml
- name: Generate certificates bundle on quadlet
run: |
./foremanctl certificate-bundle proxy.example.com \
--certificate-source=${{ matrix.certificate_source }} \

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was what was making the tests pass before. Now we explicitly store only the source in L434.

${{ matrix.certificate_source == 'custom_server' && '--certificate-server-certificate /root/custom-certificates/certs/proxy.example.com.crt --certificate-server-key /root/custom-certificates/private/proxy.example.com.key' || '' }}
- name: Refresh internal CA to ensure it doesn't break the bundle
if: matrix.certificate_source != 'custom_server'
run: |
./foremanctl deploy --certificate-ca-renew
- name: Fetch certificates bundle from quadlet
run: |
./forge fetch-bundle proxy.example.com
- name: Remove old parameters, but keep certificates_source for tests
run: |
echo "certificates_source: ${{ matrix.certificate_source }}" > .var/lib/foremanctl/parameters.yaml
- name: Deploy content proxy
run: |
./foremanctl deploy-proxy \
Expand Down