Pipeline updates
This commit is contained in:
113
.drone.yml
113
.drone.yml
@@ -54,69 +54,70 @@ trigger:
|
|||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
# ---
|
---
|
||||||
# kind: pipeline
|
kind: pipeline
|
||||||
# type: docker
|
type: docker
|
||||||
# name: Staging Deploy Pipeline
|
name: Staging Deploy Pipeline
|
||||||
|
|
||||||
# workspace:
|
workspace:
|
||||||
# path: /drone/auth
|
path: /drone/auth
|
||||||
|
|
||||||
# steps:
|
steps:
|
||||||
# - name: Deploy Container
|
- name: Deploy Container
|
||||||
# image: docker
|
image: docker
|
||||||
# privileged: true
|
privileged: true
|
||||||
# environment:
|
environment:
|
||||||
# CONTAINER_PREFIX: staging
|
CONTAINER_PREFIX: staging
|
||||||
# HOST: area51.mifi.dev
|
HOST: bikini.mifi.dev
|
||||||
# ROUTE_PREFIX: /auth
|
ROUTE_PREFIX: /auth
|
||||||
# PORT: 9001
|
PORT: 9001
|
||||||
# commands:
|
commands:
|
||||||
# - docker compose -f docker-compose.staging-build.yml build --pull --no-cache
|
- docker compose -f docker-compose.staging-build.yml build --pull --no-cache
|
||||||
# - docker compose -f docker-compose.staging-build.yml up --remove-orphans --force-recreate --wait
|
- docker compose -f docker-compose.staging-build.yml up --remove-orphans --force-recreate --wait
|
||||||
# volumes:
|
volumes:
|
||||||
# - name: env-secrets
|
- name: env-secrets
|
||||||
# path: /drone/auth/staging.env
|
path: /drone/auth/staging.env
|
||||||
# - name: dockersock
|
- name: dockersock
|
||||||
# path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
# - name: dockerconfig
|
- name: dockerconfig
|
||||||
# path: /drone/auth/.docker/config.json
|
path: /drone/auth/.docker/config.json
|
||||||
# - name: Send Status Notifications
|
- name: Send Status Notifications
|
||||||
# image: plugins/webhook
|
image: plugins/webhook
|
||||||
# privileged: true
|
privileged: true
|
||||||
# settings:
|
settings:
|
||||||
# urls: https://lab.mifi.dev/hooks/ccw34hdf7tgbjmzp96nptn938r
|
urls: https://lab.mifi.dev/hooks/ccw34hdf7tgbjmzp96nptn938r
|
||||||
# content_type: application/json
|
content_type: application/json
|
||||||
# template: |
|
template: |
|
||||||
# {
|
{
|
||||||
# "icon_url":"https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/120/apple/198/freezing-face_1f976.png",
|
"icon_url":"https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/120/apple/198/freezing-face_1f976.png",
|
||||||
# "text": "[{{ repo.name }} - Build # {{ build.number }}] Staging Deploy {{ build.status }} {{#success build.status}}:tada:{{else}}:poop:{{/success}}",
|
"text": "[{{ repo.name }} - Build # {{ build.number }}] Staging Deploy {{ build.status }} {{#success build.status}}:tada:{{else}}:poop:{{/success}}",
|
||||||
# "username":"DroneBot"
|
"username":"DroneBot"
|
||||||
# }
|
}
|
||||||
# when:
|
when:
|
||||||
# status:
|
status:
|
||||||
# - success
|
- success
|
||||||
# - failure
|
- failure
|
||||||
|
|
||||||
# volumes:
|
volumes:
|
||||||
# - name: dockerconfig
|
- name: dockerconfig
|
||||||
# host:
|
host:
|
||||||
# path: /volume1/docker/dockerconfig.json
|
path: /volume1/docker/dockerconfig.json
|
||||||
# - name: dockersock
|
- name: dockersock
|
||||||
# host:
|
host:
|
||||||
# path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
# - name: env-secrets
|
- name: env-secrets
|
||||||
# host:
|
host:
|
||||||
# path: /volume1/docker/beethoven/labs-auth/staging.env
|
path: /volume1/docker/beethoven/labs-auth/staging.env
|
||||||
|
|
||||||
# depends_on:
|
# depends_on:
|
||||||
# - Test Pipeline
|
# - Test Pipeline
|
||||||
|
|
||||||
# trigger:
|
trigger:
|
||||||
# branch:
|
branch:
|
||||||
# - develop
|
- develop
|
||||||
# event:
|
- master
|
||||||
# - push
|
event:
|
||||||
|
- push
|
||||||
|
|
||||||
# ---
|
# ---
|
||||||
# kind: pipeline
|
# kind: pipeline
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "looking-api",
|
"name": "looking-api",
|
||||||
"version": "0.1.1",
|
"version": "0.2.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node ./bin/www"
|
"start": "node ./bin/www"
|
||||||
|
|||||||
Reference in New Issue
Block a user