Skip to content
Snippets Groups Projects
Commit 7489ead5 authored by Jens Steidl's avatar Jens Steidl :baby_chick:
Browse files

- refator: use a global path variable

parent 4dca0d1c
No related branches found
No related tags found
No related merge requests found
Pipeline #5081 failed
......@@ -2,6 +2,7 @@ variables:
VERAPDF_VERSION: "1.24.1"
DOCKERFILE_DEB: "${CI_PROJECT_DIR}/gitlab-ci/Dockerfile_DEB"
IMAGE_TARGET_DEB: "${CI_REGISTRY_IMAGE}/debian12_verapdf_build_env"
INSTALL_PATH_DEB: "/usr/local/verapdf"
stages: # List of stages for jobs, and their order of execution
- build-env
......@@ -52,8 +53,6 @@ local-install-debian-job: # This job runs in the test stage.
- "docker"
image:
name: "${IMAGE_TARGET_DEB}:latest"
variables:
INSTALL_PATH_DEB: "/usr/local/verapdf"
script:
# download zipped verapdf installer
# HINT: https://software.verapdf.org/rel/1.24/verapdf-greenfield-1.24.1-installer.zip
......@@ -71,7 +70,7 @@ local-install-debian-job: # This job runs in the test stage.
# run headless verapdf installation
- "${VERAPDF_UNZIP_DIR}/verapdf-install" "${AUTO_INSTALL_XML_PATH}"
# test call verapdf
- /usr/local/verapdf/verapdf --version | grep "${VERAPDF_VERSION}"
- "${INSTALL_PATH_DEB}/verapdf" --version | grep "${VERAPDF_VERSION}"
package-debian-job:
stage: package
......@@ -116,4 +115,4 @@ test-install-debian-job:
- "docker"
script:
- apt install -y ./verapdf*.deb
- /usr/local/verapdf/verapdf --version | grep '${VERAPDF_VERSION}'
\ No newline at end of file
- "${INSTALL_PATH_DEB}/verapdf" --version | grep "${VERAPDF_VERSION}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment