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

- refactor: rename stages, moved to top

parent a94aa677
No related branches found
No related tags found
No related merge requests found
Pipeline #5093 failed
stages: # List of stages for jobs, and their order of execution
- build-env
- build-verapdf
- package-verapdf
- test-package
variables: variables:
VERAPDF_VERSION: "1.24.1" VERAPDF_VERSION: "1.24.1"
DOCKERFILE_DEB: "${CI_PROJECT_DIR}/gitlab-ci/Dockerfile_DEB" DOCKERFILE_DEB: "${CI_PROJECT_DIR}/gitlab-ci/Dockerfile_DEB"
...@@ -5,12 +11,6 @@ variables: ...@@ -5,12 +11,6 @@ variables:
IMAGE_TARGET_DEB: "${CI_REGISTRY_IMAGE}/debian12_verapdf_build_env" IMAGE_TARGET_DEB: "${CI_REGISTRY_IMAGE}/debian12_verapdf_build_env"
INSTALL_PATH_DEB: "/usr/local/verapdf" INSTALL_PATH_DEB: "/usr/local/verapdf"
stages: # List of stages for jobs, and their order of execution
- build-env
- local-install
- package
- install-test
.build-env-job: .build-env-job:
stage: build-env stage: build-env
timeout: 10m timeout: 10m
...@@ -48,7 +48,7 @@ build-debian-env-job: ...@@ -48,7 +48,7 @@ build-debian-env-job:
IMAGE_TARGET: ${IMAGE_TARGET_DEB} IMAGE_TARGET: ${IMAGE_TARGET_DEB}
local-install-debian-job: # This job runs in the test stage. local-install-debian-job: # This job runs in the test stage.
stage: local-install # It only starts when the job in the build stage completes successfully. stage: build-verapdf # It only starts when the job in the build stage completes successfully.
timeout: 5m timeout: 5m
tags: tags:
- "docker" - "docker"
...@@ -75,7 +75,7 @@ local-install-debian-job: # This job runs in the test stage. ...@@ -75,7 +75,7 @@ local-install-debian-job: # This job runs in the test stage.
- CALL_VERAPDF=$("${INSTALL_PATH_DEB}/verapdf" --version | grep "${VERAPDF_VERSION}") - CALL_VERAPDF=$("${INSTALL_PATH_DEB}/verapdf" --version | grep "${VERAPDF_VERSION}")
package-debian-job: package-debian-job:
stage: package stage: package-verapdf
timeout: 5m timeout: 5m
image: image:
name: "${IMAGE_TARGET_DEB}:latest" name: "${IMAGE_TARGET_DEB}:latest"
...@@ -108,7 +108,7 @@ package-debian-job: ...@@ -108,7 +108,7 @@ package-debian-job:
- "*.deb" - "*.deb"
test-install-debian-job: test-install-debian-job:
stage: test-install stage: test-package
timeout: 5m timeout: 5m
image: image:
# HINT: debian base image to simulate an installation target # HINT: debian base image to simulate an installation target
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment