From a10e6b7fd7090ac177622ce0aebe0f6a5e322e4e Mon Sep 17 00:00:00 2001 From: "Jens L." Date: Wed, 29 Jan 2025 14:45:07 +0100 Subject: [PATCH] ci: run full docker test suite in built image on a schedule (#12863) 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 0000000000..9d847dee79 --- /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