This commit is contained in:
16
.drone.yml
16
.drone.yml
@@ -3,7 +3,7 @@ type: docker
|
||||
name: Publish Pipeline
|
||||
|
||||
workspace:
|
||||
path: /drone/looking
|
||||
path: /drone/looking-api
|
||||
|
||||
steps:
|
||||
- name: Publish Image
|
||||
@@ -60,7 +60,7 @@ type: docker
|
||||
name: Staging Deploy Pipeline
|
||||
|
||||
workspace:
|
||||
path: /drone/auth
|
||||
path: /drone/looking-api
|
||||
|
||||
steps:
|
||||
- name: Deploy Container
|
||||
@@ -69,18 +69,18 @@ steps:
|
||||
environment:
|
||||
CONTAINER_PREFIX: staging
|
||||
HOST: bikini.mifi.dev
|
||||
ROUTE_PREFIX: /auth
|
||||
ROUTE_PREFIX: /looking/api
|
||||
PORT: 9001
|
||||
commands:
|
||||
- docker compose -f docker-compose.staging-build.yml build --pull --no-cache
|
||||
- docker compose -f docker-compose.staging-build.yml up --remove-orphans --force-recreate --wait
|
||||
- docker compose -f docker-compose.yml build --pull --no-cache
|
||||
- docker compose -f docker-compose.yml up --remove-orphans --force-recreate --wait
|
||||
volumes:
|
||||
- name: env-secrets
|
||||
path: /drone/auth/staging.env
|
||||
path: /drone/looking-api/staging.env
|
||||
- name: dockersock
|
||||
path: /var/run/docker.sock
|
||||
- name: dockerconfig
|
||||
path: /drone/auth/.docker/config.json
|
||||
path: /drone/looking-api/.docker/config.json
|
||||
- name: Send Status Notifications
|
||||
image: plugins/webhook
|
||||
privileged: true
|
||||
@@ -107,7 +107,7 @@ volumes:
|
||||
path: /var/run/docker.sock
|
||||
- name: env-secrets
|
||||
host:
|
||||
path: /volume1/docker/beethoven/labs-auth/staging.env
|
||||
path: /volume1/docker/beethoven/looking-api/staging.env
|
||||
|
||||
# depends_on:
|
||||
# - Test Pipeline
|
||||
|
||||
Reference in New Issue
Block a user