From 2829743d17c41189ddf38153f44377015f9972b7 Mon Sep 17 00:00:00 2001 From: Adam Veldhousen Date: Wed, 12 Jul 2023 15:22:03 -0500 Subject: [PATCH] test internal routing --- .drone.yml | 44 +++++++++++++++++++++++++++++++++++++------- 1 file changed, 37 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index dd91948..e15e030 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,7 +17,7 @@ steps: dockerfile: "./src/Dockerfile.prod-backend" context: "./src" target: production - registry: git.vdhsn.com + registry: gitea.homelab-public repo: git.vdhsn.com/barretthousen/service-catalog enable_cache: true cache_repo: git.vdhsn.com/barretthousen/ci-cache @@ -47,7 +47,7 @@ steps: dockerfile: "./src/Dockerfile.prod-backend" context: "./src" target: production - registry: git.vdhsn.com + registry: gitea.homelab-public repo: git.vdhsn.com/barretthousen/service-runner enable_cache: true cache_repo: git.vdhsn.com/barretthousen/ci-cache @@ -77,7 +77,7 @@ steps: dockerfile: "./src/Dockerfile.prod-backend" context: "./src" target: production - registry: git.vdhsn.com + registry: gitea.homelab-public repo: git.vdhsn.com/barretthousen/service-auth enable_cache: true cache_repo: git.vdhsn.com/barretthousen/ci-cache @@ -107,7 +107,7 @@ steps: dockerfile: "./src/Dockerfile.prod-backend" context: "./src" target: production - registry: git.vdhsn.com + registry: gitea.homelab-public repo: git.vdhsn.com/barretthousen/service-proxy-admin enable_cache: true cache_repo: git.vdhsn.com/barretthousen/ci-cache @@ -137,7 +137,7 @@ steps: dockerfile: "./src/Dockerfile.prod-backend" context: "./src" target: production - registry: git.vdhsn.com + registry: gitea.homelab-public repo: git.vdhsn.com/barretthousen/service-proxy-web enable_cache: true cache_repo: git.vdhsn.com/barretthousen/ci-cache @@ -167,7 +167,37 @@ steps: dockerfile: "./src/Dockerfile.frontend" context: "./src/web-client" target: production - registry: git.vdhsn.com + registry: gitea.homelab-public + repo: git.vdhsn.com/barretthousen/service-proxy-web + enable_cache: true + cache_repo: git.vdhsn.com/barretthousen/ci-cache + skip_unused_stages: true + build_args: + - "service=proxy-web" + tags: + - ${DRONE_COMMIT_SHA} + custom_labels: + - com.barretthousen.service=proxy-web + - com.barretthousen.version=${DRONE_COMMIT_SHA} + - com.barretthousen.git-ref=${DRONE_COMMIT_SHA} + - com.barretthousen.build-date=${DRONE_BUILD_STARTED} + - com.barrethousen.builder=${DRONE_COMMIT_AUTHOR} + username: + from_secret: DOCKER_USERNAME + password: + from_secret: DOCKER_PASSWORD + + - name: Build & Publish Web Client + image: plugins/kaniko + resources: + requests: + cpu: 2 + memory: 1Gi + settings: + dockerfile: "./src/Dockerfile.frontend" + context: "./src/web-client" + target: production + repo: git.vdhsn.com/barretthousen/client-web-client enable_cache: true cache_repo: git.vdhsn.com/barretthousen/ci-cache @@ -191,7 +221,7 @@ steps: dockerfile: "./src/Dockerfile.frontend" context: "./src/admin-client" target: production - registry: git.vdhsn.com + registry: gitea.homelab-public repo: git.vdhsn.com/barretthousen/client-admin-client enable_cache: true cache_repo: git.vdhsn.com/barretthousen/ci-cache