Skip to content

Commit 2626575

Browse files
authored
Merge pull request #234 from jordanopensource/ci/update-drone-template
Update Drone Template
2 parents 6c93624 + 38e97f7 commit 2626575

File tree

1 file changed

+6
-39
lines changed

1 file changed

+6
-39
lines changed

.drone.yml

Lines changed: 6 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +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/community-web
18-
build_args_from_env:
19-
[
20-
DRONE_BUILD_NUMBER,
21-
DRONE_BUILD_LINK,
22-
DRONE_COMMIT_SHA,
23-
DRONE_COMMIT_LINK,
24-
DRONE_REPO_LINK,
25-
DRONE_BUILD_FINISHED,
26-
]
27-
tags:
28-
- ${DRONE_COMMIT_SHA}
29-
- latest
30-
username:
31-
from_secret: docker_username
32-
password:
33-
from_secret: docker_password
34-
- name: notify
35-
image: plugins/slack
36-
settings:
37-
webhook:
38-
from_secret: slack_webhook
39-
channel: heartbeat
40-
depends_on:
41-
- build
3+
kind: template
4+
load: container.jsonnet
5+
data:
6+
repositoryName: josaorg/community-web
7+
releaseName: community-web
8+
buildArgs:

0 commit comments

Comments
 (0)