mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-10 12:47:04 +00:00
- Export NIX_CONFIG in CI jobs and Makefile - Pass NIX_CONFIG as docker build-arg - Use NIX_CONFIG only in relevant Dockerfile RUN steps (no secret persistence) - Forward NIX_CONFIG to test and deploy containers https://chatgpt.com/share/6947c681-abc8-800f-ba12-de2ff3a7abad
33 lines
679 B
YAML
33 lines
679 B
YAML
name: Test Infinito.Nexus Deploy (server)
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
permissions:
|
|
contents: read
|
|
packages: read
|
|
|
|
jobs:
|
|
test-deploy:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 240
|
|
env:
|
|
NIX_CONFIG: |
|
|
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
distro: [arch, debian, ubuntu, fedora, centos]
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Show Docker version
|
|
run: docker version
|
|
|
|
- name: Run deploy test suite (server)
|
|
run: |
|
|
scripts/tests/deploy.sh --type server --distro "${{ matrix.distro }}" --missing
|