diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d6fb29a37d79f8daef86ee3b897e1ef95401f25c..8465085474e9d797ed88191c0aec46e86dcf6c13 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -389,7 +389,7 @@ build-webui-bundle: # Relative paths are interpreted relative to `src/` # Escape it with extra `../` WEBUI_BUNDLE: ../picodata-webui/dist/bundle.json - PRESERVE_ENVVARS: VER_TNT,WEBUI_BUNDLE + PRESERVE_ENVVARS: VER_TNT,WEBUI_BUNDLE,GIT_DESCRIBE GIT_DEPTH: 100 GIT_SUBMODULE_STRATEGY: recursive DOCKER_AUTH_CONFIG: $DOCKER_AUTH_RO @@ -413,7 +413,8 @@ build-webui-bundle: - | # Describe picodata until git describe; do git fetch --deepen 100; done - git describe --long + export GIT_DESCRIBE=$(git describe --long) + echo $GIT_DESCRIBE timeout: 2h needs: - build-webui-bundle