Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mediaconch_plugin4rosetta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Harbor Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Preservation
mediaconch_plugin4rosetta
Commits
b4eee674
Commit
b4eee674
authored
3 months ago
by
Jörg Sachse
Committed by
Andreas Romeyke
3 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix CI & update versions
parent
92dbe603
No related branches found
No related tags found
1 merge request
!3
Fix CI & update versions
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+4
-3
4 additions, 3 deletions
.gitlab-ci.yml
Makefile
+2
-1
2 additions, 1 deletion
Makefile
gitlab-ci/Dockerfile
+2
-2
2 additions, 2 deletions
gitlab-ci/Dockerfile
with
8 additions
and
6 deletions
.gitlab-ci.yml
+
4
−
3
View file @
b4eee674
...
...
@@ -5,8 +5,9 @@ stages: # List of stages for jobs, and their order of execution
variables
:
EXLIBRIS_SDK_DIR
:
"
/exlibris"
ROSETTASDK
:
"
${EXLIBRIS_SDK_DIR}/7.3/lib/"
IMAGE_TARGET
:
"
$CI_REGISTRY_IMAGE/bullseye_subapp"
# ROSETTASDK: "${EXLIBRIS_SDK_DIR}/7.3/lib/"
ROSETTASDK
:
"
${EXLIBRIS_SDK_DIR}/8.2/lib/"
IMAGE_TARGET
:
"
$CI_REGISTRY_IMAGE/bookworm_mediaconch_plugin4rosetta"
FF_USE_FASTZIP
:
"
true"
# These can be specified per job or per pipeline
ARTIFACT_COMPRESSION_LEVEL
:
"
fast"
...
...
@@ -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
script
:
-
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".
-
echo "CI_PROJECT_DIR=${CI_PROJECT_DIR}"
-
>-
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
2
−
1
View file @
b4eee674
...
...
@@ -6,7 +6,8 @@ JAVAPATH=$(wildcard /usr/lib/jvm/java-1.17.0-openjdk-*/bin/)
JAVARELEASE
=
17
# Verwendete Rosetta-Version
ROSETTAVERSION
:=
7.3.0
# ROSETTAVERSION:=7.3.0
ROSETTAVERSION
:=
8.2.0
# Pfad zum Rosetta-SDK
ROSETTASDK
:=
/exlibris/dps/d4_1/system.dir/dps-sdk-
${
ROSETTAVERSION
}
/lib/
...
...
This diff is collapsed.
Click to expand it.
gitlab-ci/Dockerfile
+
2
−
2
View file @
b4eee674
FROM
git
.slub-dresden.de/
debian-packaging/dependency_proxy/containers
/debian:
bullsey
e-slim
FROM
sdvharbor
.slub-dresden.de/
replication
/debian:
stabl
e-slim
ARG
GITDIR
ENV
DEBIAN_FRONTEND=noninteractive
...
...
@@ -9,7 +9,7 @@ ENV EXLIBRIS_PATH=/exlibris
RUN
apt-get update
;
\
apt-get
install
-y
--no-install-recommends
gnupg wget
;
\
wget
-O
- http://sdvdebianrepo.slub-dresden.de/deb-repository/pub.gpg.key | apt-key add -
;
\
echo
"deb http://sdvdebianrepo.slub-dresden.de/deb-repository b
ullseye
main"
>
/etc/apt/sources.list.d/slub.list
;
echo
"deb http://sdvdebianrepo.slub-dresden.de/deb-repository b
ookworm
main"
>
/etc/apt/sources.list.d/slub.list
;
RUN
apt-get update
;
\
apt-get
-y
upgrade
;
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment