Skip to content
Snippets Groups Projects
Commit 50ca9ade authored by michael.minelli's avatar michael.minelli
Browse files

Merge branch 'rename_enonce_exercice' into API-v2.0.0

parents 21d4c6ea 68c45044
No related branches found
No related tags found
No related merge requests found
variables:
GIT_SUBMODULE_STRATEGY: recursive
GIT_SUBMODULE_FORCE_HTTPS: "true"
SECURE_FILES_DOWNLOAD_PATH: './'
stages: stages:
- deploy - deploy
...@@ -6,15 +11,15 @@ deploy: ...@@ -6,15 +11,15 @@ deploy:
stage: deploy stage: deploy
tags: tags:
- dojo_backend_deployment - dojo_backend_deployment
variables:
GIT_SUBMODULE_STRATEGY: recursive
GIT_SUBMODULE_FORCE_HTTPS: "true"
SECURE_FILES_DOWNLOAD_PATH: './'
script: script:
- apk update
- apk add jq
- >
VERSION=$(jq -r .version API/package.json)
# Download secure files # Download secure files
- curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash - curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash
# Prepare environment # Prepare environment
- mv env .env - mv env_$VERSION .env
- cp .env API/.env - cp .env API/.env
# Deploy # Deploy
- ./infra --run - ./infra --run
......
Subproject commit 390c277c4a283e4b202aed09becd3fb5e378e819 Subproject commit fc95c7c0f0df6f8db3a69a928ae3952a9edfde8e
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment