This commit is contained in:
40
.drone.yml
40
.drone.yml
@@ -115,6 +115,9 @@ steps:
|
|||||||
registry: https://git.mifi.dev
|
registry: https://git.mifi.dev
|
||||||
token:
|
token:
|
||||||
- from_secret: gitea_token
|
- from_secret: gitea_token
|
||||||
|
volumes:
|
||||||
|
- name: yarnrc
|
||||||
|
path: .yarnrc.yml
|
||||||
- name: Send Status Notifications
|
- name: Send Status Notifications
|
||||||
image: plugins/webhook
|
image: plugins/webhook
|
||||||
settings:
|
settings:
|
||||||
@@ -131,6 +134,10 @@ steps:
|
|||||||
- success
|
- success
|
||||||
- failure
|
- failure
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: yarnrc
|
||||||
|
path: /Volume1/docker/.yarnrc.yml
|
||||||
|
|
||||||
# depends_on:
|
# depends_on:
|
||||||
# - Build Pipeline
|
# - Build Pipeline
|
||||||
|
|
||||||
@@ -142,7 +149,7 @@ trigger:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker:dind
|
type: docker
|
||||||
name: Publish Pipeline - Docker Image
|
name: Publish Pipeline - Docker Image
|
||||||
group: publish
|
group: publish
|
||||||
|
|
||||||
@@ -160,8 +167,8 @@ steps:
|
|||||||
settings:
|
settings:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
squash: true
|
squash: true
|
||||||
repo: https://git.mifi.dev/mifi/auth
|
repo: git.mifi.dev/mifi/auth
|
||||||
registry: https://git.mifi.dev
|
registry: git.mifi.dev
|
||||||
username:
|
username:
|
||||||
from_secret: registry_username
|
from_secret: registry_username
|
||||||
password:
|
password:
|
||||||
@@ -170,7 +177,7 @@ steps:
|
|||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
volumes:
|
volumes:
|
||||||
- name: dockersock
|
- name: dockersock
|
||||||
Path: /var/run
|
Path: /var/run/docker.sock
|
||||||
- name: dockerconfig
|
- name: dockerconfig
|
||||||
Path: /.docker/config.json
|
Path: /.docker/config.json
|
||||||
- name: Send Status Notifications
|
- name: Send Status Notifications
|
||||||
@@ -189,17 +196,9 @@ steps:
|
|||||||
- success
|
- success
|
||||||
- failure
|
- failure
|
||||||
|
|
||||||
services:
|
|
||||||
- name: docker
|
|
||||||
image: docker:dind
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: dockersock
|
- name: dockersock
|
||||||
path: /var/run
|
path: /var/run/docker.sock
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: dockersock
|
|
||||||
path: /var/run
|
|
||||||
- name: dockerconfig
|
- name: dockerconfig
|
||||||
path: /volume1/docker/labs/grow-auth/dockerconfig.json
|
path: /volume1/docker/labs/grow-auth/dockerconfig.json
|
||||||
|
|
||||||
@@ -226,7 +225,6 @@ workspace:
|
|||||||
steps:
|
steps:
|
||||||
- name: Deploy Container
|
- name: Deploy Container
|
||||||
image: docker:dind
|
image: docker:dind
|
||||||
privileged: true
|
|
||||||
commands:
|
commands:
|
||||||
- docker compose build
|
- docker compose build
|
||||||
- docker compose up --wait
|
- docker compose up --wait
|
||||||
@@ -234,9 +232,9 @@ steps:
|
|||||||
- name: env
|
- name: env
|
||||||
path: /.env
|
path: /.env
|
||||||
- name: dockersock
|
- name: dockersock
|
||||||
Path: /var/run
|
Path: /var/run/docker.sock
|
||||||
- name: dockerconfig
|
- name: dockerconfig
|
||||||
Path: /.docker/config.json
|
Path: ./.docker/config.json
|
||||||
- name: Send Status Notifications
|
- name: Send Status Notifications
|
||||||
image: plugins/webhook
|
image: plugins/webhook
|
||||||
settings:
|
settings:
|
||||||
@@ -253,19 +251,11 @@ steps:
|
|||||||
- success
|
- success
|
||||||
- failure
|
- failure
|
||||||
|
|
||||||
services:
|
|
||||||
- name: docker
|
|
||||||
image: docker:dind
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
|
||||||
- name: dockersock
|
|
||||||
path: /var/run
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: env
|
- name: env
|
||||||
path: /volume1/docker/labs/grow-auth/.env
|
path: /volume1/docker/labs/grow-auth/.env
|
||||||
- name: dockersock
|
- name: dockersock
|
||||||
path: /var/run
|
path: /var/run/docker.sock
|
||||||
- name: dockerconfig
|
- name: dockerconfig
|
||||||
path: /volume1/docker/labs/grow-auth/dockerconfig.json
|
path: /volume1/docker/labs/grow-auth/dockerconfig.json
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user