add drone ci
ci.vdhsn.com/push Build is failing
Details
ci.vdhsn.com/push Build is failing
Details
parent
eb4fe808d7
commit
f7dcb544d5
|
|
@ -0,0 +1,51 @@
|
||||||
|
kind: pipeline
|
||||||
|
type: kubernetes
|
||||||
|
name: Build Images
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Build & Publish
|
||||||
|
image: plugins/kaniko
|
||||||
|
settings:
|
||||||
|
dockerfile: "./src/catalog/Dockerfile.prod-backend"
|
||||||
|
context: "./src"
|
||||||
|
registry: git.vdhsn.com
|
||||||
|
repo: git.vdhsn.com/barretthousen/service-catalog
|
||||||
|
username:
|
||||||
|
from_secret: DOCKER_USERNAME
|
||||||
|
password:
|
||||||
|
from_secret: DOCKER_PASSWORD
|
||||||
|
args:
|
||||||
|
- "service=catalog"
|
||||||
|
no-push: true
|
||||||
|
tags:
|
||||||
|
- ${DRONE_COMMIT_SHA}
|
||||||
|
# ---
|
||||||
|
# kind: pipeline
|
||||||
|
# type: kubernetes
|
||||||
|
# name: Deploy beta
|
||||||
|
|
||||||
|
# trigger:
|
||||||
|
# event:
|
||||||
|
# - push
|
||||||
|
# branch:
|
||||||
|
# - trunk
|
||||||
|
|
||||||
|
# steps:
|
||||||
|
# - name: discord notification
|
||||||
|
# image: appleboy/drone-discord
|
||||||
|
# environment:
|
||||||
|
# DISCORD_WEBHOOK_ID:
|
||||||
|
# from_secret: DISCORD_WEBHOOK_ID
|
||||||
|
# DISCORD_WEBHOOK_TOKEN:
|
||||||
|
# from_secret: DISCORD_WEBHOOK_TOKEN
|
||||||
|
# settings:
|
||||||
|
# username: Drone CI
|
||||||
|
# message: Weekly Server Update Complete!
|
||||||
|
# webhook_id:
|
||||||
|
# from_secret: DISCORD_WEBHOOK_ID
|
||||||
|
# webhook_token:
|
||||||
|
# from_secret: DISCORD_WEBHOOK_TOKEN
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
creation_rules:
|
creation_rules:
|
||||||
- path_regex: env/.*/master\.json$
|
- path_regex: env/master\.json$
|
||||||
pgp: 4FA79E5B6598505C8DFA30A7A466CEE1415C0B9C
|
pgp: 4FA79E5B6598505C8DFA30A7A466CEE1415C0B9C
|
||||||
- path_regex: env/base/.*\.yaml$
|
- path_regex: env/base/.*\.yaml$
|
||||||
encrypted_regex: ^(data|stringData)$
|
encrypted_regex: ^(data|stringData)$
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue