Skip to content

Commit

Permalink
Merge pull request #38 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 3f050a7 + c432aed commit a27b477
Showing 1 changed file with 6 additions and 35 deletions.
41 changes: 6 additions & 35 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,8 @@
# 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/safepass
build_args:
[
MATOMO_URL=https://track.josa.ngo/,
MATOMO_SITE_ID=15,
]
tags:
- ${DRONE_COMMIT_SHA}
- stable
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/safepass
releaseName: safepass
buildArgs: MATOMO_URL=https://track.josa.ngo/, MATOMO_SITE_ID=15

0 comments on commit a27b477

Please sign in to comment.