Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lpotthast committed Mar 17, 2024
1 parent 56e4e62 commit f96edd6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ stages:
- deploy

variables:
CARGO_HOME: "${CI_PROJECT_DIR}/cargo"
CARGO_HOME: "${CI_PROJECT_DIR}/cargo" # Move cargo data into the project directory so it can be cached!
RULES_CHANGES_PATH: "**/*"
RULES_ONLY: "ALL"
GIT_SUBMODULE_STRATEGY: recursive

.deploy-configuration: &deploy_configuration
image: registry.gitlab.com/lukaspotthast/docker-images/nomad-deployment:latest
image: registry.gitlab.com/lukaspotthast/docker-images/nomad-deployment:1.6.3
before_script:
- export NOMAD_ADDR=${NOMAD_ADDR}
- export NOMAD_CACERT=${NOMAD_CA_PEM}
Expand Down Expand Up @@ -82,7 +82,6 @@ book-build-and-package:
- image="${CI_REGISTRY_IMAGE}/leptonic-book"
- tag="${CI_COMMIT_SHA}"
- docker pull "${image}:latest" || true
- echo "Finalizing Dockerfile"
- cat "${LEPTONIC_DEV_CERT_PEM_FILE}" > "certs/ssl_cert.pem"
- cat "${LEPTONIC_DEV_KEY_PEM_FILE}" > "certs/ssl_key.pem"
- echo "Building docker image '${image}:${tag}'"
Expand Down

0 comments on commit f96edd6

Please sign in to comment.