-
Notifications
You must be signed in to change notification settings - Fork 18
/
.drone.yml
76 lines (75 loc) · 2.23 KB
/
.drone.yml
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
kind: pipeline
name: default
steps:
- name: Build
image: python
commands:
- pip install -r requirements.txt
- name: Publish Latest
image: plugins/docker
settings:
username: luisredda
password:
from_secret: p_docker
repo: luisredda/drone-harness-plugin
auto_tag: true
- name: Harness Plugin Test Pipeline
image: luisredda/drone-harness-plugin:latest
settings:
application: "Harness Demo Application"
type: "PIPELINE"
entityname: "CD Pipeline"
accountid:
from_secret: harness_acctid
apikey:
from_secret: harness_secret
service_name: "order-service"
build_number: "131"
artifact_source_name: "harness_todolist-sample_gcr"
wait_for_execution: "true"
wait_for_execution_timeout: 30
execution_notes: "Harness Plugin Automated Execution"
- name: Harness Plugin Test Workflow
image: diegokoala/drone-harness-plugin:latest
settings:
application: "Harness Demo Application"
type: "WORKFLOW"
entityname: "Complex Deployment Template-db"
accountid:
from_secret: harness_acctid
apikey:
from_secret: harness_secret
service_name: "order-service"
build_number: "131"
artifact_source_name: "harness_todolist-sample_gcr"
wait_for_execution: "true"
wait_for_execution_timeout: 30
execution_notes: "Harness Plugin Automated Execution"
dynamic_variables_input: "Environment:development,InfraDefinition_Kubernetes:GKE Dev Cluster"
- name: Harness Plugin Test Pipeline Error Test
image: luisredda/drone-harness-plugin:latest
failure: ignore
settings:
application: "Harness Demo Application"
type: "PIPELINE"
entityname: "CD Pipeline"
accountid:
from_secret: harness_acctid
apikey:
from_secret: harness_secret
service_name: "order-service"
build_number: "131"
artifact_source_name: "harness_todolist-sample_gcr"
wait_for_execution: "true"
wait_for_execution_timeout: 30
execution_notes: "Harness Plugin Automated Execution"
return_error_if_execution_fail: "true"
- name: Publish Stable
image: plugins/docker
settings:
username: luisredda
password:
from_secret: p_docker
repo: luisredda/drone-harness-plugin
auto_tag: true
auto_tag_suffix: stable