forked from luisredda/drone-python-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdrone.yaml
More file actions
34 lines (31 loc) · 690 Bytes
/
drone.yaml
File metadata and controls
34 lines (31 loc) · 690 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
kind: pipeline
name: default
steps:
- name: build
image: python
commands:
- pip install -r requirements.txt
- name: publish
image: plugins/docker
settings:
username:
from_secret: u_docker
password:
from_secret: p_docker
repo: ryannelson01/drone-python-starter
auto_tag: true
- name: harness-deploy
image: luisredda/drone-simple-plugin
settings:
application: "ECommerce"
pipeline: "Deploy to K8s"
service: "${DRONE_REPO_NAME}"
build: "${DRONE_TAG}"
accountid:
from_secret: harness_acctid
apikey:
from_secret: harness_secret
body: |
any other payload here
image_pull_secrets:
- dockerconfig