fix: path prefix for common dotenv
This commit is contained in:
parent
be8efd8120
commit
3c1e5545a9
1 changed files with 3 additions and 2 deletions
|
@ -17,6 +17,7 @@ tasks:
|
||||||
- rm -rf {{.SERVICES_ROOT}}/{{.CLI_ARGS}}
|
- rm -rf {{.SERVICES_ROOT}}/{{.CLI_ARGS}}
|
||||||
- git clone "https://forge.karnov.club/spadinastan/{{.CLI_ARGS}}.git" "{{.SERVICES_ROOT}}/{{.CLI_ARGS}}"
|
- git clone "https://forge.karnov.club/spadinastan/{{.CLI_ARGS}}.git" "{{.SERVICES_ROOT}}/{{.CLI_ARGS}}"
|
||||||
- cd {{ .SERVICES_ROOT }}/{{ .CLI_ARGS }} && . ./build.sh
|
- cd {{ .SERVICES_ROOT }}/{{ .CLI_ARGS }} && . ./build.sh
|
||||||
|
dotenv: ['{{.CONFIG_ROOT}}/common.env']
|
||||||
env:
|
env:
|
||||||
IMAGE_VERSION: "{{.IMAGE_VERSION}}"
|
IMAGE_VERSION: "{{.IMAGE_VERSION}}"
|
||||||
|
|
||||||
|
@ -30,7 +31,7 @@ tasks:
|
||||||
- rm -rf {{.SERVICES_ROOT}}/{{.CLI_ARGS}}
|
- rm -rf {{.SERVICES_ROOT}}/{{.CLI_ARGS}}
|
||||||
- git clone "https://forge.karnov.club/spadinastan/{{.CLI_ARGS}}.git" "{{.SERVICES_ROOT}}/{{.CLI_ARGS}}"
|
- git clone "https://forge.karnov.club/spadinastan/{{.CLI_ARGS}}.git" "{{.SERVICES_ROOT}}/{{.CLI_ARGS}}"
|
||||||
- cd {{ .SERVICES_ROOT }}/{{ .CLI_ARGS }} && . ./start.sh
|
- cd {{ .SERVICES_ROOT }}/{{ .CLI_ARGS }} && . ./start.sh
|
||||||
dotenv: ['common.env']
|
dotenv: ['{{.CONFIG_ROOT}}/common.env']
|
||||||
env:
|
env:
|
||||||
IMAGE_VERSION: "{{.IMAGE_VERSION}}"
|
IMAGE_VERSION: "{{.IMAGE_VERSION}}"
|
||||||
ENV_FILE_DIR: "{{.CONFIG_ROOT}}"
|
ENV_FILE_DIR: "{{.CONFIG_ROOT}}"
|
||||||
|
@ -44,4 +45,4 @@ tasks:
|
||||||
- rm -rf {{.SERVICES_ROOT}}/{{.CLI_ARGS}}
|
- rm -rf {{.SERVICES_ROOT}}/{{.CLI_ARGS}}
|
||||||
- git clone "https://forge.karnov.club/spadinastan/{{.CLI_ARGS}}.git" "{{.SERVICES_ROOT}}/{{.CLI_ARGS}}"
|
- git clone "https://forge.karnov.club/spadinastan/{{.CLI_ARGS}}.git" "{{.SERVICES_ROOT}}/{{.CLI_ARGS}}"
|
||||||
- cd {{ .SERVICES_ROOT }}/{{ .CLI_ARGS }} && . ./stop.sh
|
- cd {{ .SERVICES_ROOT }}/{{ .CLI_ARGS }} && . ./stop.sh
|
||||||
dotenv: ['common.env']
|
dotenv: ['{{.CONFIG_ROOT}}/common.env']
|
||||||
|
|
Loading…
Reference in a new issue