prefix consul drafts
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
97101917cc
commit
2c105b6d0b
|
@ -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
|
||||
|
||||
...
|
||||
|
|
Loading…
Reference in New Issue