ci: add build_metadata job and export env

This commit is contained in:
jo 2023-06-08 11:51:51 +02:00
parent 6a65495b50
commit 1493bbca69
No known key found for this signature in database
GPG Key ID: B2FEC9B22722B984
1 changed files with 12 additions and 0 deletions

View File

@ -293,6 +293,18 @@ test_front:
reports: reports:
junit: front/coverage/cobertura-coverage.xml 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: build_api_schema:
stage: build stage: build
needs: needs: