Skip to content
Snippets Groups Projects
Commit de3ff5b3 authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

Merge branch 'ci' into 'master'

Fix CI & update versions

See merge request !3
parents 92dbe603 b4eee674
No related branches found
No related tags found
Loading
Pipeline #8990 passed
...@@ -5,8 +5,9 @@ stages: # List of stages for jobs, and their order of execution ...@@ -5,8 +5,9 @@ stages: # List of stages for jobs, and their order of execution
variables: variables:
EXLIBRIS_SDK_DIR: "/exlibris" EXLIBRIS_SDK_DIR: "/exlibris"
ROSETTASDK: "${EXLIBRIS_SDK_DIR}/7.3/lib/" # ROSETTASDK: "${EXLIBRIS_SDK_DIR}/7.3/lib/"
IMAGE_TARGET: "$CI_REGISTRY_IMAGE/bullseye_subapp" ROSETTASDK: "${EXLIBRIS_SDK_DIR}/8.2/lib/"
IMAGE_TARGET: "$CI_REGISTRY_IMAGE/bookworm_mediaconch_plugin4rosetta"
FF_USE_FASTZIP: "true" FF_USE_FASTZIP: "true"
# These can be specified per job or per pipeline # These can be specified per job or per pipeline
ARTIFACT_COMPRESSION_LEVEL: "fast" ARTIFACT_COMPRESSION_LEVEL: "fast"
...@@ -35,7 +36,7 @@ build-env-job: # This job runs in the build stage, which runs first. ...@@ -35,7 +36,7 @@ build-env-job: # This job runs in the build stage, which runs first.
# docu: https://docs.gitlab.com/ee/ci/docker/using_kaniko.html, this is basically copy-pasted from there # docu: https://docs.gitlab.com/ee/ci/docker/using_kaniko.html, this is basically copy-pasted from there
script: script:
- mkdir -p /kaniko/.docker - mkdir -p /kaniko/.docker
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"$(printf "%s:%s" "$CI_REGISTRY_USER" "$CI_REGISTRY_PASSWORD" | base64 | tr -d '\n')\"},\"$(printf "%s" "$CI_DEPENDENCY_PROXY_SERVER" | cut -d':' -f1)\":{\"auth\":\"$(printf "%s:%s" "$CI_DEPENDENCY_PROXY_USER" "$CI_DEPENDENCY_PROXY_PASSWORD" | base64 | tr -d '\n')\"}}}" > /kaniko/.docker/config.json - echo "{\"auths\":{\"${HARBOR_HOST}\":{\"auth\":\"$(echo -n ${HARBOR_USERNAME}:${HARBOR_PASSWORD} | base64 | tr -d '\n')\"}},\"$(printf "%s" "$CI_DEPENDENCY_PROXY_SERVER" | cut -d':' -f1)\":{\"auth\":\"$(printf "%s:%s" "$CI_DEPENDENCY_PROXY_USER" "$CI_DEPENDENCY_PROXY_PASSWORD" | base64 | tr -d '\n')\"}}}" > /kaniko/.docker/config.json;
# In this task, Kaniko executor is called to build the Image based on the Dockerfile provided with "--dockerfile". # In this task, Kaniko executor is called to build the Image based on the Dockerfile provided with "--dockerfile".
- echo "CI_PROJECT_DIR=${CI_PROJECT_DIR}" - echo "CI_PROJECT_DIR=${CI_PROJECT_DIR}"
- >- - >-
......
...@@ -6,7 +6,8 @@ JAVAPATH=$(wildcard /usr/lib/jvm/java-1.17.0-openjdk-*/bin/) ...@@ -6,7 +6,8 @@ JAVAPATH=$(wildcard /usr/lib/jvm/java-1.17.0-openjdk-*/bin/)
JAVARELEASE=17 JAVARELEASE=17
# Verwendete Rosetta-Version # Verwendete Rosetta-Version
ROSETTAVERSION:=7.3.0 # ROSETTAVERSION:=7.3.0
ROSETTAVERSION:=8.2.0
# Pfad zum Rosetta-SDK # Pfad zum Rosetta-SDK
ROSETTASDK:=/exlibris/dps/d4_1/system.dir/dps-sdk-${ROSETTAVERSION}/lib/ ROSETTASDK:=/exlibris/dps/d4_1/system.dir/dps-sdk-${ROSETTAVERSION}/lib/
......
FROM git.slub-dresden.de/debian-packaging/dependency_proxy/containers/debian:bullseye-slim FROM sdvharbor.slub-dresden.de/replication/debian:stable-slim
ARG GITDIR ARG GITDIR
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
...@@ -9,7 +9,7 @@ ENV EXLIBRIS_PATH=/exlibris ...@@ -9,7 +9,7 @@ ENV EXLIBRIS_PATH=/exlibris
RUN apt-get update; \ RUN apt-get update; \
apt-get install -y --no-install-recommends gnupg wget; \ apt-get install -y --no-install-recommends gnupg wget; \
wget -O - http://sdvdebianrepo.slub-dresden.de/deb-repository/pub.gpg.key | apt-key add - ; \ wget -O - http://sdvdebianrepo.slub-dresden.de/deb-repository/pub.gpg.key | apt-key add - ; \
echo "deb http://sdvdebianrepo.slub-dresden.de/deb-repository bullseye main" > /etc/apt/sources.list.d/slub.list; echo "deb http://sdvdebianrepo.slub-dresden.de/deb-repository bookworm main" > /etc/apt/sources.list.d/slub.list;
RUN apt-get update; \ RUN apt-get update; \
apt-get -y upgrade; \ apt-get -y upgrade; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment