5 Commits

Author SHA1 Message Date
ad9ffc89b5 With links and fixed names...
Some checks failed
continuous-integration/drone/push Build encountered an error
2023-05-05 09:09:06 -04:00
f482750d08 this may break everything...
Some checks failed
continuous-integration/drone/push Build encountered an error
2023-05-05 08:47:54 -04:00
7b77df0c4c v0.0.13 - fixed triggers perhaps...
Some checks failed
continuous-integration/drone/push Build encountered an error
2023-05-05 08:32:17 -04:00
8ee5d627aa Resolving stupid errors
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-05 08:21:02 -04:00
775dd60b56 Mostly passing pipelines, still a broken deploy... 2023-05-05 08:19:29 -04:00
4 changed files with 12 additions and 6 deletions

View File

@@ -58,10 +58,11 @@ steps:
- failure - failure
trigger: trigger:
branch:
- main
event: event:
- pull_request - pull_request
- push - push
- tag
--- ---
kind: pipeline kind: pipeline
@@ -73,7 +74,7 @@ workspace:
path: /drone/grow path: /drone/grow
steps: steps:
- name: Build Service - name: Build Package
image: node:latest image: node:latest
commands: commands:
- yarn install - yarn install
@@ -154,12 +155,13 @@ volumes:
path: /volume1/docker/grow/labs-auth/.npmrc path: /volume1/docker/grow/labs-auth/.npmrc
depends_on: depends_on:
- Build Pipeline - Test Pipeline
trigger: trigger:
branch: branch:
- main - main
event: event:
- push
- tag - tag
--- ---
@@ -175,7 +177,9 @@ steps:
image: docker image: docker
privileged: true privileged: true
commands: commands:
- docker compose pull
- docker compose build --no-cache - docker compose build --no-cache
- docker compose rm --stop .
- docker compose up --wait - docker compose up --wait
volumes: volumes:
- name: env - name: env
@@ -213,10 +217,11 @@ volumes:
path: /volume1/docker/labs/grow-auth/.env path: /volume1/docker/labs/grow-auth/.env
depends_on: depends_on:
- Build Pipeline - Test Pipeline
trigger: trigger:
branch: branch:
- main - main
event: event:
- push
- tag - tag

View File

@@ -23,5 +23,4 @@ WORKDIR /home/node/app
COPY package*.json ./ COPY package*.json ./
RUN yarn install --frozen-lockfile --production RUN yarn install --frozen-lockfile --production
COPY --from=0 /home/node/app/dist . COPY --from=0 /home/node/app/dist .
EXPOSE 80
CMD ["node","server/index.js"] CMD ["node","server/index.js"]

View File

@@ -46,6 +46,8 @@ services:
- docknet - docknet
restart: unless-stopped restart: unless-stopped
image: node image: node
links:
- auth-service_mongo:${CONTAINER_PREFIX}-${SERVICE_NAME}_${DB_TYPE}
depends_on: depends_on:
- auth-service_mongo - auth-service_mongo
networks: networks:

View File

@@ -1,6 +1,6 @@
{ {
"name": "@mifi/auth", "name": "@mifi/auth",
"version": "0.0.10", "version": "0.0.15",
"author": "mifi (Mike Fitzpatrick)", "author": "mifi (Mike Fitzpatrick)",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {