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