Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 9b49f666 authored by Christophe Chaudier's avatar Christophe Chaudier :rocket:
Browse files

fix: use brackets for vars

parent e0ab695d
No related branches found
No related tags found
No related merge requests found
......@@ -247,7 +247,7 @@ node::build:
paths:
- node_modules
before_script:
- cd $working_directory
- cd ${working_directory}
script:
- npm ci
```
......
......@@ -2,4 +2,4 @@
variables:
working_directory: "$CI_PROJECT_DIR"
script:
- cd $working_directory
\ No newline at end of file
- cd ${working_directory}
......@@ -19,14 +19,15 @@ variables:
variables:
working_directory: "$CI_PROJECT_DIR"
before_script:
- cd $working_directory
- cd ${working_directory}
.base_ansible:
extends: .base_tpl
variables:
ANSIBLE_VAULT_PASSWORD_FILE: .vault_pass
before_script:
- cd $working_directory
- cd ${working_directory}
- test -z ${ANSIBLE_VAULT_PASSWORD} || echo ${ANSIBLE_VAULT_PASSWORD} > ${ANSIBLE_VAULT_PASSWORD_FILE}
- test -d ansible && chmod 750 ansible
......@@ -40,7 +41,7 @@ variables:
## without extra base64 encoding.
## https://gitlab.com/gitlab-examples/ssh-private-key/issues/1#note_48526556
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
- cd $working_directory
- cd ${working_directory}
.node-cache-push:
cache:
......
......@@ -2,4 +2,4 @@
variables:
working_directory: "$CI_PROJECT_DIR"
script:
- cd $working_directory
\ No newline at end of file
- cd ${working_directory}
......@@ -23,14 +23,14 @@ variables:
variables:
working_directory: "$CI_PROJECT_DIR"
before_script:
- cd $working_directory
- cd ${working_directory}
.base_ansible:
extends: .base_tpl
variables:
ANSIBLE_VAULT_PASSWORD_FILE: .vault_pass
before_script:
- cd $working_directory
- cd ${working_directory}
- test -z ${ANSIBLE_VAULT_PASSWORD} || echo ${ANSIBLE_VAULT_PASSWORD} > ${ANSIBLE_VAULT_PASSWORD_FILE}
- test -d ansible && chmod 750 ansible
......@@ -44,7 +44,7 @@ variables:
## without extra base64 encoding.
## https://gitlab.com/gitlab-examples/ssh-private-key/issues/1#note_48526556
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
- cd $working_directory
- cd ${working_directory}
# --------[ Node ]--------
.node-cache-push:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment