6 Commits
0.0.37 ... main

Author SHA1 Message Date
cd980f2af9 Merge pull request 'feature/deploy-from-image-2' (#4) from feature/deploy-from-image-2 into main
Reviewed-on: #4
2023-05-10 00:48:40 +00:00
0e02c8ab15 add develop branch pr's to test checks
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone Build is failing
2023-05-09 20:39:35 -04:00
01cb2818ff Perhaps this will work! 2023-05-09 20:38:01 -04:00
67c84a7254 Merge pull request 'Switch to docker image for deploy' (#3) from feature/deploy-from-image into main
Reviewed-on: #3
2023-05-10 00:32:10 +00:00
5b15fcd60f Merge branch 'main' into feature/deploy-from-image
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone Build was killed
2023-05-10 00:27:59 +00:00
1e1eac9dd6 Switch to docker image for deploy
All checks were successful
continuous-integration/drone/pr Build is passing
2023-05-09 20:27:28 -04:00
2 changed files with 9 additions and 6 deletions

View File

@@ -60,6 +60,7 @@ steps:
trigger:
branch:
- main
- develop
event:
- pull_request
@@ -155,6 +156,9 @@ name: Deploy Pipeline
workspace:
path: /drone/grow
clone:
disable: true
steps:
- name: Deploy Container
image: docker
@@ -165,10 +169,10 @@ steps:
ROUTE_PREFIX: /auth
PORT: 9001
commands:
- docker compose -f docker-compose.staging.yml pull
- docker compose -f docker-compose.staging.yml build --no-cache
- docker compose -f docker-compose.staging.yml rm --stop
- docker compose -f docker-compose.staging.yml up --wait
- docker compose -f docker-compose.staging_image.yml pull
- docker compose -f docker-compose.staging_image.yml build --no-cache
- docker compose -f docker-compose.staging_image.yml rm --stop
- docker compose -f docker-compose.staging_image.yml up --wait
volumes:
- name: env-secrets
path: /drone/grow/staging.env

View File

@@ -15,7 +15,6 @@ services:
auth-service:
env_file:
- staging.env
build: .
container_name: ${CONTAINER_PREFIX}-auth-service
environment:
- DB_HOST=${CONTAINER_PREFIX}-auth-service_mongo
@@ -30,7 +29,7 @@ services:
networks:
- docknet
restart: unless-stopped
image: node:20-alpine
image: git.mifi.dev/mifi/mifi/auth:latest
depends_on:
- auth-service_mongo
networks: