Skip to content

Commit

Permalink
Merge pull request #12 from jordanopensource/ci/update-drone-template
Browse files Browse the repository at this point in the history
Update Drone Template
  • Loading branch information
itsmohmans authored Sep 3, 2024
2 parents 781af62 + 5e872e8 commit 0947688
Showing 1 changed file with 7 additions and 30 deletions.
37 changes: 7 additions & 30 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,9 @@
# Drone CI File!

kind: pipeline
type: kubernetes
name: default

metadata:
namespace: builds

node_selector:
doks.digitalocean.com/node-pool: josa-cloud-np

steps:
- name: build
image: plugins/docker
settings:
repo: josaorg/nuha-api
tags:
- ${DRONE_COMMIT_SHA}
- latest
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: notify
image: plugins/slack
settings:
webhook:
from_secret: slack_webhook
channel: heartbeat
depends_on:
- build
kind: template
load: container.jsonnet
data:
repositoryName: josaorg/nuha-api
releaseName: nuha-api
buildArgs:

0 comments on commit 0947688

Please sign in to comment.