fix: clone via https

This commit is contained in:
Marc 2024-05-09 01:13:20 -04:00
parent 7c1e949d7e
commit be8efd8120
Signed by: marc
GPG key ID: 048E042F22B5DC79

View file

@ -15,7 +15,7 @@ tasks:
- test -f {{.CONFIG_ROOT}}/common.env - test -f {{.CONFIG_ROOT}}/common.env
cmds: cmds:
- rm -rf {{.SERVICES_ROOT}}/{{.CLI_ARGS}} - rm -rf {{.SERVICES_ROOT}}/{{.CLI_ARGS}}
- git clone "git@forge-ssh.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
env: env:
IMAGE_VERSION: "{{.IMAGE_VERSION}}" IMAGE_VERSION: "{{.IMAGE_VERSION}}"
@ -28,7 +28,7 @@ tasks:
- test -f {{.CONFIG_ROOT}}/{{.CLI_ARGS}}.env - test -f {{.CONFIG_ROOT}}/{{.CLI_ARGS}}.env
cmds: cmds:
- rm -rf {{.SERVICES_ROOT}}/{{.CLI_ARGS}} - rm -rf {{.SERVICES_ROOT}}/{{.CLI_ARGS}}
- git clone "git@forge-ssh.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: ['common.env']
env: env:
@ -42,6 +42,6 @@ tasks:
- test -f {{.CONFIG_ROOT}}/common.env - test -f {{.CONFIG_ROOT}}/common.env
cmds: cmds:
- rm -rf {{.SERVICES_ROOT}}/{{.CLI_ARGS}} - rm -rf {{.SERVICES_ROOT}}/{{.CLI_ARGS}}
- git clone "git@forge-ssh.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: ['common.env']