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

View File

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