4 Commits

Author SHA1 Message Date
2814c6820b Perhaps...
Some checks failed
continuous-integration/drone/push Build is failing
2023-05-04 11:32:09 -04:00
d9cafe009d Pipeline triggers 2023-05-04 11:28:12 -04:00
d011f15136 - Resolve version number issue
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-04 11:25:58 -04:00
ee398feeb9 Update pipelines
Some checks are pending
continuous-integration/drone/push Build is running
2023-05-04 11:23:28 -04:00
2 changed files with 35 additions and 26 deletions

View File

@@ -102,11 +102,11 @@ steps:
- name: Build Service
image: node:latest
commands:
- cp /drone/grow/package.json ./
- cp /drone/grow/yarn.lock ./
- yarn install --frozen-lockfile
- cp -r /drone/grow/* .
- yarn build
- cp /drone/grow/package.json .
- cp /drone/grow/yarn.lock .
- yarn install --frozen-lockfile --production
- cp -r /drone/grow/dist .
- yarn build:production
- name: Publish NPM
image: plugins/npm
settings:
@@ -123,6 +123,11 @@ steps:
registry: git.mifi.dev
ssh-agent-key:
from_secret: gitea_token
volumes:
- name: dockersock
Path: /var/run/docker.sock
- name: dockerconfig
Path: /.docker/config.json
- name: Send Status Notifications
image: plugins/webhook
settings:
@@ -139,14 +144,20 @@ steps:
- success
- failure
volumes:
- name: dockersock
path: /var/run/docker.sock
- name: dockerconfig
path: /volume1/docker/labs/grow-auth/dockerconfig.json
depends_on:
- Build Pipeline
trigger:
branch:
- main
event:
- tag
# event:
# - tag
---
kind: pipeline
@@ -164,12 +175,14 @@ steps:
image: docker
commands:
- compose build .
- compose up -d
# volumes:
# - name: env
# path: ./.env
# - name: dockersock
# Path: /var/run/docker.sock
- compose up --wait
volumes:
- name: env
path: /.env
- name: dockersock
Path: /var/run/docker.sock
- name: dockerconfig
Path: /.docker/config.json
- name: Send Status Notifications
image: plugins/webhook
settings:
@@ -187,16 +200,12 @@ steps:
- failure
volumes:
- /volume1/docker/labs/grow-auth/.env:.env
- /var/run/docker.sock:/var/run/docker.sock
- /volume1/docker/labs/grow-auth/dockerconfig.json:.docker/config.json
# - name: env
# host:
# path: /volume1/docker/labs/grow-auth/.env
# - name: dockersock
# host:
# path: /var/run/docker.sock
- name: env
path: /volume1/docker/labs/grow-auth/.env
- name: dockersock
path: /var/run/docker.sock
- name: dockerconfig
path: /volume1/docker/labs/grow-auth/dockerconfig.json
depends_on:
- Build Pipeline
@@ -204,5 +213,5 @@ depends_on:
trigger:
branch:
- main
event:
- tag
# event:
# - tag

View File

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