Add environment
This commit is contained in:
parent
1bcada3008
commit
bf3bd89bab
3 changed files with 5 additions and 1 deletions
|
@ -6,6 +6,7 @@ variables:
|
|||
ALPINE_VERSION: '3'
|
||||
DEBIAN_VERSION: '12'
|
||||
TELEPORT_VERSION: '13.1.1'
|
||||
PRODUCTION_URL: 'https://home.unjx.de'
|
||||
|
||||
image: docker:$DOCKER_VERSION-git
|
||||
|
||||
|
|
|
@ -13,3 +13,6 @@ deploy_release:
|
|||
- ./teleport/install
|
||||
- 'tbot start --token=gitlab --destination-dir=/tmp/tbot-user --data-dir=/tmp/tbot-data --auth-server=tp.fhoss.de:443 --join-method=gitlab --oneshot'
|
||||
- 'tsh -i /tmp/tbot-user/identity --proxy tp.fhoss.de:443 ssh bot@benelli "docker compose -f /opt/docker/home/docker-compose.yml up -d --pull always"'
|
||||
environment:
|
||||
name: production
|
||||
url: $PRODUCTION_URL
|
||||
|
|
2
dev.sh
2
dev.sh
|
@ -15,7 +15,7 @@ parse_yaml() {
|
|||
}'
|
||||
}
|
||||
|
||||
eval $(parse_yaml .gitlab-ci.yml)
|
||||
eval $(parse_yaml .gitlab/_common.gitlab-ci.yml)
|
||||
|
||||
echo "DOCKER_VERSION="$variables_DOCKER_VERSION >.env
|
||||
echo "GOLANG_VERSION="$variables_GOLANG_VERSION >>.env
|
||||
|
|
Loading…
Reference in a new issue