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

Merge branch 'release-1.4.4' into dev

parents 2a7d7e28 c60a2885
Branches
Tags
4 merge requests!296Dev,!293Dev,!289Dev,!287Dev
...@@ -581,8 +581,10 @@ release-images: ...@@ -581,8 +581,10 @@ release-images:
refs: refs:
- /^release-.*/ - /^release-.*/
before_script: before_script:
- "echo ${CI_REGISTRY_PASSWORD} | docker login --username ${CI_REGISTRY_USER} --password-stdin $CI_REGISTRY_URL" - "docker logout ${CI_REGISTRY_URL}"
- "echo ${CI_REGISTRY2_PASSWORD} | docker login --username ${CI_REGISTRY2_USER} --password-stdin $CI_REGISTRY2_URL" - "echo ${CI_REGISTRY_PASSWORD} | docker login --username ${CI_REGISTRY_USER} --password-stdin ${CI_REGISTRY_URL}"
- "docker logout ${CI_REGISTRY2_URL}"
- "echo ${CI_REGISTRY2_PASSWORD} | docker login --username ${CI_REGISTRY2_USER} --password-stdin ${CI_REGISTRY2_URL}"
- "ifconfig eth0 mtu 1450 up" - "ifconfig eth0 mtu 1450 up"
- "apk add make bash" - "apk add make bash"
script: script:
...@@ -598,7 +600,10 @@ release-chart: ...@@ -598,7 +600,10 @@ release-chart:
refs: refs:
- release-latest - release-latest
before_script: before_script:
- "echo ${CI_REGISTRY2_PASSWORD} | docker login --username ${CI_REGISTRY2_USER} --password-stdin $CI_REGISTRY2_URL" - "docker logout ${CI_REGISTRY_URL}"
- "echo ${CI_REGISTRY_PASSWORD} | docker login --username ${CI_REGISTRY_USER} --password-stdin ${CI_REGISTRY_URL}"
- "docker logout ${CI_REGISTRY2_URL}"
- "echo ${CI_REGISTRY2_PASSWORD} | docker login --username ${CI_REGISTRY2_USER} --password-stdin ${CI_REGISTRY2_URL}"
- "apk add sed helm curl" - "apk add sed helm curl"
- "helm package ./helm/dbrepo --destination ./build" - "helm package ./helm/dbrepo --destination ./build"
- "helm plugin install https://github.com/sigstore/helm-sigstore" - "helm plugin install https://github.com/sigstore/helm-sigstore"
...@@ -612,11 +617,9 @@ release-docs: ...@@ -612,11 +617,9 @@ release-docs:
refs: refs:
- /^release-.*/ - /^release-.*/
before_script: before_script:
- "wget https://github.com/mikefarah/yq/releases/download/v4.2.0/yq_linux_amd64 -O /usr/bin/yq"
- "chmod +x /usr/bin/yq"
- "apk add --update alpine-sdk bash sed wget openssh" - "apk add --update alpine-sdk bash sed wget openssh"
- "pip install -r ./requirements.txt" - "pip install -r ./requirements.txt"
- "mkdir -p ./final/${APP_VERSION}/swagger" - "mkdir -p ./final/${APP_VERSION}/rest"
script: script:
- "make gen-lib-doc gen-docs-doc" - "make gen-lib-doc gen-docs-doc"
- "cp -r ./lib/python/docs/build/html ./final/${APP_VERSION}/python" # sphinx - "cp -r ./lib/python/docs/build/html ./final/${APP_VERSION}/python" # sphinx
...@@ -633,7 +636,7 @@ release-docs: ...@@ -633,7 +636,7 @@ release-docs:
- "scp -oHostKeyAlgorithms=+ssh-rsa -oPubkeyAcceptedAlgorithms=+ssh-rsa final.tar.gz $CI_DOC_USER@$CI_DOC_IP:final.tar.gz" - "scp -oHostKeyAlgorithms=+ssh-rsa -oPubkeyAcceptedAlgorithms=+ssh-rsa final.tar.gz $CI_DOC_USER@$CI_DOC_IP:final.tar.gz"
- "scp -oHostKeyAlgorithms=+ssh-rsa -oPubkeyAcceptedAlgorithms=+ssh-rsa versions.json $CI_DOC_USER@$CI_DOC_IP:/system/user/ifs/infrastructures/public_html/dbrepo/versions.json" - "scp -oHostKeyAlgorithms=+ssh-rsa -oPubkeyAcceptedAlgorithms=+ssh-rsa versions.json $CI_DOC_USER@$CI_DOC_IP:/system/user/ifs/infrastructures/public_html/dbrepo/versions.json"
- "scp -oHostKeyAlgorithms=+ssh-rsa -oPubkeyAcceptedAlgorithms=+ssh-rsa .docs/redirect.html $CI_DOC_USER@$CI_DOC_IP:/system/user/ifs/infrastructures/public_html/dbrepo/index.html" - "scp -oHostKeyAlgorithms=+ssh-rsa -oPubkeyAcceptedAlgorithms=+ssh-rsa .docs/redirect.html $CI_DOC_USER@$CI_DOC_IP:/system/user/ifs/infrastructures/public_html/dbrepo/index.html"
- "ssh -oHostKeyAlgorithms=+ssh-rsa -oPubkeyAcceptedAlgorithms=+ssh-rsa $CI_DOC_USER@$CI_DOC_IP 'rm -rf /system/user/ifs/infrastructures/public_html/dbrepo/${APP_VERSION}; tar xzf ./final.tar.gz; rm -f ./final.tar.gz; cp -r ./final/* /system/user/ifs/infrastructures/public_html/dbrepo/${APP_VERSION}; rm -rf ./final'" - 'ssh -oHostKeyAlgorithms=+ssh-rsa -oPubkeyAcceptedAlgorithms=+ssh-rsa $CI_DOC_USER@$CI_DOC_IP "rm -rf /system/user/ifs/infrastructures/public_html/dbrepo/${APP_VERSION}; tar xzf ./final.tar.gz; rm -f ./final.tar.gz; cp -r ./final/* /system/user/ifs/infrastructures/public_html/dbrepo/${APP_VERSION}; rm -rf ./final"'
release-libs: release-libs:
stage: release stage: release
......
...@@ -12,7 +12,7 @@ Quickstart ...@@ -12,7 +12,7 @@ Quickstart
---------- ----------
Find numerous quickstart examples on Find numerous quickstart examples on
the `DBRepo website <https://www.ifs.tuwien.ac.at/infrastructures/dbrepo//usage-overview/>`_. the `DBRepo website <https://www.ifs.tuwien.ac.at/infrastructures/dbrepo/1.4.4/api/>`_.
AMQP API Client AMQP API Client
----------- -----------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment