Skip to content

Commit a27b477

Browse files
authored
Merge pull request #38 from jordanopensource/ci/update-drone-template
Update Drone Template
2 parents 3f050a7 + c432aed commit a27b477

File tree

1 file changed

+6
-35
lines changed

1 file changed

+6
-35
lines changed

.drone.yml

+6-35
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,8 @@
11
# Drone CI File!
22

3-
kind: pipeline
4-
type: kubernetes
5-
name: default
6-
7-
metadata:
8-
namespace: builds
9-
10-
node_selector:
11-
doks.digitalocean.com/node-pool: josa-cloud-np
12-
13-
steps:
14-
- name: build
15-
image: plugins/docker
16-
settings:
17-
repo: josaorg/safepass
18-
build_args:
19-
[
20-
MATOMO_URL=https://track.josa.ngo/,
21-
MATOMO_SITE_ID=15,
22-
]
23-
tags:
24-
- ${DRONE_COMMIT_SHA}
25-
- stable
26-
username:
27-
from_secret: docker_username
28-
password:
29-
from_secret: docker_password
30-
- name: notify
31-
image: plugins/slack
32-
settings:
33-
webhook:
34-
from_secret: slack_webhook
35-
channel: heartbeat
36-
depends_on:
37-
- build
3+
kind: template
4+
load: container.jsonnet
5+
data:
6+
repositoryName: josaorg/safepass
7+
releaseName: safepass
8+
buildArgs: MATOMO_URL=https://track.josa.ngo/, MATOMO_SITE_ID=15

0 commit comments

Comments
 (0)