From 1493bbca695dce58de701ee1f12b26b99f30f29d Mon Sep 17 00:00:00 2001 From: jo Date: Thu, 8 Jun 2023 11:51:51 +0200 Subject: [PATCH] ci: add build_metadata job and export env --- .gitlab-ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d3db3d4bf..e784c0383 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -293,6 +293,18 @@ test_front: reports: junit: front/coverage/cobertura-coverage.xml +build_metadata: + stage: build + + image: $CI_REGISTRY/funkwhale/ci/python:3.11 + variables: + GIT_FETCH_EXTRA_FLAGS: --prune + script: + - scripts/build_metadata.py --format env | tee build_metadata.env + artifacts: + reports: + dotenv: build_metadata.env + build_api_schema: stage: build needs: