Skip to content
Snippets Groups Projects
Verified Commit feab1566 authored by Martin Weise's avatar Martin Weise
Browse files

WIP

parent 310f282c
No related branches found
No related tags found
2 merge requests!268Master,!266Dev
...@@ -4,9 +4,9 @@ variables: ...@@ -4,9 +4,9 @@ variables:
TRIVY_CACHE_DIR: ".trivycache/" TRIVY_CACHE_DIR: ".trivycache/"
DOCKER_HOST: "unix:///var/run/dind/docker.sock" DOCKER_HOST: "unix:///var/run/dind/docker.sock"
TESTCONTAINERS_RYUK_DISABLED: "false" TESTCONTAINERS_RYUK_DISABLED: "false"
DOC_VERSIONS: "latest,1.4.2,1.4.1,1.4.0,1.3.0" DOC_VERSIONS: "latest,1.4.3,1.4.2,1.4.1,1.4.0"
APP_VERSION: "1.4.3-rc.0" APP_VERSION: "1.4.3"
CHART_VERSION: "1.4.3-rc.0" CHART_VERSION: "1.4.3"
image: debian:12-slim image: debian:12-slim
...@@ -545,8 +545,9 @@ docs-registry: ...@@ -545,8 +545,9 @@ docs-registry:
only: only:
refs: refs:
- /^release-.*/ - /^release-.*/
before_script:
- "apt-get update && apt-get install -y sed"
script: script:
- apt-get update && apt-get install -y sed
- pip install -r ./requirements.txt - pip install -r ./requirements.txt
- find .docs -type f -exec sed -i -e "s/__APP_VERSION__/${APP_VERSION}/g" {} \; - find .docs -type f -exec sed -i -e "s/__APP_VERSION__/${APP_VERSION}/g" {} \;
- python3 .docs/docker/release.py - python3 .docs/docker/release.py
...@@ -610,8 +611,9 @@ release-docs: ...@@ -610,8 +611,9 @@ release-docs:
only: only:
refs: refs:
- /^release-.*/ - /^release-.*/
before_script:
- "apt-get update && apt-get install -y git make sed wget ssh"
script: script:
- apt-get update && apt-get install -y git make sed wget ssh
- make docs - make docs
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- echo "$CI_KEY_PRIVATE" > /root/.ssh/id_rsa && chmod 0600 /root/.ssh/id_rsa - echo "$CI_KEY_PRIVATE" > /root/.ssh/id_rsa && chmod 0600 /root/.ssh/id_rsa
...@@ -629,9 +631,10 @@ release-libs: ...@@ -629,9 +631,10 @@ release-libs:
- /^release-.*/ - /^release-.*/
variables: variables:
PIPENV_PIPFILE: "./dbrepo-analyse-service/Pipfile" 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: 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/package.sh
- bash ./lib/python/release.sh - bash ./lib/python/release.sh
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment