Teleport not happy with envs
This commit is contained in:
parent
b44320c945
commit
269e9aa5f3
1 changed files with 3 additions and 4 deletions
|
@ -6,7 +6,6 @@ variables:
|
||||||
ALPINE_VERSION: '3'
|
ALPINE_VERSION: '3'
|
||||||
DEBIAN_IMAGE: '12'
|
DEBIAN_IMAGE: '12'
|
||||||
TELEPORT_VERSION: '13.1.1'
|
TELEPORT_VERSION: '13.1.1'
|
||||||
TELEPORT_HOST: 'tp.fhoss.de'
|
|
||||||
|
|
||||||
image: docker:$DOCKER_VERSION-git
|
image: docker:$DOCKER_VERSION-git
|
||||||
|
|
||||||
|
@ -74,12 +73,12 @@ deploy_release:
|
||||||
image: debian:${DEBIAN_IMAGE}-slim
|
image: debian:${DEBIAN_IMAGE}-slim
|
||||||
id_tokens:
|
id_tokens:
|
||||||
TBOT_GITLAB_JWT:
|
TBOT_GITLAB_JWT:
|
||||||
aud: $TELEPORT_HOST
|
aud: tp.fhoss.de
|
||||||
script:
|
script:
|
||||||
- apt-get update && apt-get install curl -y
|
- apt-get update && apt-get install curl -y
|
||||||
- cd /tmp
|
- cd /tmp
|
||||||
- 'curl -O https://cdn.teleport.dev/teleport-v${TELEPORT_VERSION}-linux-amd64-bin.tar.gz'
|
- 'curl -O https://cdn.teleport.dev/teleport-v${TELEPORT_VERSION}-linux-amd64-bin.tar.gz'
|
||||||
- tar -xvf teleport-v${TELEPORT_VERSION}-linux-amd64-bin.tar.gz
|
- tar -xvf teleport-v${TELEPORT_VERSION}-linux-amd64-bin.tar.gz
|
||||||
- ./teleport/install
|
- ./teleport/install
|
||||||
- 'tbot start --token=gitlab --destination-dir=/tmp/tbot-user --data-dir=/tmp/tbot-data --auth-server=${TELEPORT_HOST}:443 --join-method=gitlab --oneshot'
|
- '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 ${TELEPORT_HOST}:443 ssh bot@benelli "docker compose -f /opt/docker/home/docker-compose.yml up -d --pull always"'
|
- '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"'
|
||||||
|
|
Loading…
Reference in a new issue