Update pipelines
This commit is contained in:
41
.drone.yml
41
.drone.yml
@@ -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,6 +144,12 @@ 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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user