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

More debugging

parent e6d6501f
No related branches found
No related tags found
No related merge requests found
...@@ -10,10 +10,13 @@ variables: ...@@ -10,10 +10,13 @@ variables:
image: debian:12-slim image: debian:12-slim
cache: default:
cache: &global_cache
key: $CI_COMMIT_REF_SLUG
paths: paths:
- /root/.m2/repository/ - .m2/
- /root/.npm/ - node_modules/
policy: pull-push
stages: stages:
# - build # - build
...@@ -479,43 +482,44 @@ docs-docs: ...@@ -479,43 +482,44 @@ docs-docs:
- apt-get update && apt-get install -y git make sed wget - apt-get update && apt-get install -y git make sed wget
- make docs - make docs
cache: cache:
key: $CI_COMMIT_REF_SLUG
paths: paths:
- ./final - ./final
release-images: #release-images:
stage: release # stage: release
image: docker:24-dind # image: docker:24-dind
# needs: # needs:
# - test-metadata-service # - test-metadata-service
# - test-data-service # - test-data-service
# - test-analyse-service # - test-analyse-service
# - test-frontend # - test-frontend
only: # only:
refs: # refs:
- /^release-.*/ # - /^release-.*/
before_script: # before_script:
- echo "$CI_REGISTRY_PASSWORD" | docker login --username "$CI_REGISTRY_USER" --password-stdin $CI_REGISTRY_URL # - echo "$CI_REGISTRY_PASSWORD" | docker login --username "$CI_REGISTRY_USER" --password-stdin $CI_REGISTRY_URL
- echo "$CI_REGISTRY2_PASSWORD" | docker login --username "$CI_REGISTRY2_USER" --password-stdin $CI_REGISTRY2_URL # - echo "$CI_REGISTRY2_PASSWORD" | docker login --username "$CI_REGISTRY2_USER" --password-stdin $CI_REGISTRY2_URL
script: # script:
- "ifconfig eth0 mtu 1450 up" # - "ifconfig eth0 mtu 1450 up"
- "apk add make bash" # - "apk add make bash"
- "TAG=${APP_VERSION} make release" # - "TAG=${APP_VERSION} make release"
release-chart: #release-chart:
stage: release # stage: release
image: docker:24-dind # image: docker:24-dind
only: # only:
refs: # refs:
- /^release-.*/ # - /^release-.*/
before_script: # before_script:
- echo "$CI_REGISTRY2_PASSWORD" | docker login --username "$CI_REGISTRY2_USER" --password-stdin $CI_REGISTRY2_URL # - echo "$CI_REGISTRY2_PASSWORD" | docker login --username "$CI_REGISTRY2_USER" --password-stdin $CI_REGISTRY2_URL
script: # script:
- apk add sed helm curl # - apk add sed helm curl
- 'sed -i -e "s/^version:.*/version: \"${CHART_VERSION}\"/g" ./helm-charts/dbrepo/Chart.yaml' # - 'sed -i -e "s/^version:.*/version: \"${CHART_VERSION}\"/g" ./helm-charts/dbrepo/Chart.yaml'
- 'sed -i -e "s/^appVersion:.*/appVersion: \"${APP_VERSION}\"/g" ./helm-charts/dbrepo/Chart.yaml' # - 'sed -i -e "s/^appVersion:.*/appVersion: \"${APP_VERSION}\"/g" ./helm-charts/dbrepo/Chart.yaml'
- find ./helm-charts -type f -exec sed -i -e "s/__CHARTVERSION__/${CHART_VERSION}/g" {} \; # - find ./helm-charts -type f -exec sed -i -e "s/__CHARTVERSION__/${CHART_VERSION}/g" {} \;
- helm package ./helm-charts/dbrepo --destination ./build # - helm package ./helm-charts/dbrepo --destination ./build
- helm push "./build/dbrepo-${CHART_VERSION}.tgz" "oci://${CI_REGISTRY2_URL}/helm" # - helm push "./build/dbrepo-${CHART_VERSION}.tgz" "oci://${CI_REGISTRY2_URL}/helm"
release-docs: release-docs:
stage: release stage: release
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment