diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f2e59741eff5ea0cbf8efa8e84e545cd8bb2e39e..64d2ce6535d79d748cb9129d6cf50da36aff71a2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,9 +4,9 @@ variables: TRIVY_CACHE_DIR: ".trivycache/" DOCKER_HOST: "unix:///var/run/dind/docker.sock" TESTCONTAINERS_RYUK_DISABLED: "false" - DOC_VERSIONS: "latest,1.4.2,1.4.1,1.4.0,1.3.0" - APP_VERSION: "1.4.3-rc.0" - CHART_VERSION: "1.4.3-rc.0" + DOC_VERSIONS: "latest,1.4.3,1.4.2,1.4.1,1.4.0" + APP_VERSION: "1.4.3" + CHART_VERSION: "1.4.3" image: debian:12-slim @@ -545,8 +545,9 @@ docs-registry: only: refs: - /^release-.*/ + before_script: + - "apt-get update && apt-get install -y sed" script: - - apt-get update && apt-get install -y sed - pip install -r ./requirements.txt - find .docs -type f -exec sed -i -e "s/__APP_VERSION__/${APP_VERSION}/g" {} \; - python3 .docs/docker/release.py @@ -610,8 +611,9 @@ release-docs: only: refs: - /^release-.*/ + before_script: + - "apt-get update && apt-get install -y git make sed wget ssh" script: - - apt-get update && apt-get install -y git make sed wget ssh - make docs - eval $(ssh-agent -s) - echo "$CI_KEY_PRIVATE" > /root/.ssh/id_rsa && chmod 0600 /root/.ssh/id_rsa @@ -629,9 +631,10 @@ release-libs: - /^release-.*/ variables: PIPENV_PIPFILE: "./dbrepo-analyse-service/Pipfile" + before_script: + - "apk add sed bash" + - "pip install pipenv twine build" + - "pipenv install gunicorn && pipenv install --dev --system --deploy" script: - - apk add sed bash - - pip install pipenv twine build - - pipenv install gunicorn && pipenv install --dev --system --deploy - bash ./lib/python/package.sh - bash ./lib/python/release.sh \ No newline at end of file