From 60c36d3d04b194d4ad8c2a4b9eaefe5366addc03 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 29 Jan 2025 02:39:50 +0100 Subject: [PATCH] ci: run full docker test suite in built image on a schedule Signed-off-by: Jens Langhammer --- .github/workflows/ci-main-daily.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/ci-main-daily.yml diff --git a/.github/workflows/ci-main-daily.yml b/.github/workflows/ci-main-daily.yml new file mode 100644 index 000000000000..9d847dee7904 --- /dev/null +++ b/.github/workflows/ci-main-daily.yml @@ -0,0 +1,28 @@ +--- +name: authentik-ci-main-daily + +on: + workflow_dispatch: + schedule: + # Every night at 3am + - cron: "0 3 * * *" + +jobs: + test-container: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + version: + - docs + - version-2024-12 + - version-2024-10 + steps: + - uses: actions/checkout@v4 + - run: | + current="$(pwd)" + dir="/tmp/authentik/${{ matrix.version }}" + mkdir -p $dir + cd $dir + wget https://${{ matrix.version }}.goauthentik.io/docker-compose.yml + ${current}/scripts/test_docker.sh