From 2c105b6d0bea16d8cfca6ad4d0c23a5ee9021c32 Mon Sep 17 00:00:00 2001 From: Meutel Date: Sun, 15 Sep 2019 13:52:45 +0200 Subject: [PATCH] prefix consul drafts --- .drone.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 196d16c..0ff12e6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -33,9 +33,9 @@ steps: MC_HOST_meutel: from_secret: MC_HOST_meutel commands: - - "consul kv put -http-addr=http://consul:8500 traefik/frontends/${DRONE_COMMIT}/backend minio" - - "consul kv put -http-addr=http://consul:8500 traefik/frontends/${DRONE_COMMIT}/entrypoints http" - - "consul kv put -http-addr=http://consul:8500 traefik/frontends/${DRONE_COMMIT}/routes/${DRONE_COMMIT}/rule 'Host:${DRONE_COMMIT}.home.www.meutel.net;AddPrefix:/home-drafts/${DRONE_COMMIT};ReplacePathRegex: ^/home-drafts/${DRONE_COMMIT}/$ /home-drafts/${DRONE_COMMIT}/index.html'" + - "consul kv put -http-addr=http://consul:8500 traefik/frontends/home-drafts-${DRONE_COMMIT}/backend minio" + - "consul kv put -http-addr=http://consul:8500 traefik/frontends/home-drafts-${DRONE_COMMIT}/entrypoints http" + - "consul kv put -http-addr=http://consul:8500 traefik/frontends/home-drafts-${DRONE_COMMIT}/routes/${DRONE_COMMIT}/rule 'Host:${DRONE_COMMIT}.home.www.meutel.net;AddPrefix:/home-drafts/${DRONE_COMMIT};ReplacePathRegex: ^/home-drafts/${DRONE_COMMIT}/$ /home-drafts/${DRONE_COMMIT}/index.html'" - echo http://${DRONE_COMMIT}.home.www.meutel.net when: branch: @@ -48,6 +48,6 @@ trigger: --- kind: signature -hmac: 51d6d806563a63fd83f9944f577642debdc0a6467ccd3cb69ae6baddd0cf6365 +hmac: aaba50ea0cb9790e6590e78a08c079041bca6ef6e7e0f406c63b0dcc583f91ab ...