Skip to content

Commit 55c76ae

Browse files
Update inputset event-Push (#474)
* Update inputset event-Push * Update inputset event-Push * Update inputset event-PR * Update inputset event-Tag --------- Co-authored-by: Archit Mallik <[email protected]>
1 parent b54379f commit 55c76ae

File tree

3 files changed

+300
-294
lines changed

3 files changed

+300
-294
lines changed

.harness/eventPR.yaml

Lines changed: 100 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
inputSet:
22
name: event-PR
3+
tags: {}
34
identifier: eventPR
45
orgIdentifier: default
56
projectIdentifier: Drone_Plugins
@@ -13,104 +14,105 @@ inputSet:
1314
spec:
1415
number: <+trigger.prNumber>
1516
stages:
16-
- stage:
17-
identifier: linamd64
18-
type: CI
19-
spec:
20-
execution:
21-
steps:
22-
- step:
23-
identifier: Build_Push
24-
type: Run
25-
spec:
26-
command: go build -a -tags netgo -o release/linux/amd64/drone-<+matrix.repo> ./cmd/drone-<+matrix.repo>
27-
- step:
28-
identifier: Docker_Build_and_Push
29-
type: Plugin
30-
spec:
31-
settings:
32-
repo: plugins/<+matrix.repo>
33-
dockerfile: docker/<+matrix.repo>/Dockerfile.linux.amd64
34-
auto_tag_suffix: linux-amd64
35-
- step:
36-
identifier: BuildAndPushDockerRegistry_1
37-
type: BuildAndPushDockerRegistry
38-
spec:
39-
repo: plugins/<+matrix.repo>
40-
tags:
41-
- linux-amd64
42-
dockerfile: docker/<+matrix.repo>/Dockerfile.linux.amd64
43-
- stage:
44-
identifier: linarm64
45-
type: CI
46-
spec:
47-
execution:
48-
steps:
49-
- step:
50-
identifier: buildpush
51-
type: Run
52-
spec:
53-
command: go build -a -tags netgo -o release/linux/arm64/drone-<+matrix.repo> ./cmd/drone-<+matrix.repo>
54-
- step:
55-
identifier: Docker_Build_and_Push
56-
type: Plugin
57-
spec:
58-
settings:
59-
repo: plugins/<+matrix.repo>
60-
dockerfile: docker/<+matrix.repo>/Dockerfile.linux.arm64
61-
auto_tag_suffix: linux-arm64
62-
- step:
63-
identifier: BuildAndPushDockerRegistry_1
64-
type: BuildAndPushDockerRegistry
65-
spec:
66-
repo: plugins/<+matrix.repo>
67-
tags:
68-
- linux-arm64
69-
dockerfile: docker/<+matrix.repo>/Dockerfile.linux.arm64
70-
- stage:
71-
identifier: win1809amd64
72-
type: CI
73-
spec:
74-
execution:
75-
steps:
76-
- step:
77-
identifier: Docker_Build_and_Push1
78-
type: Plugin
79-
spec:
80-
settings:
81-
repo: plugins/<+matrix.repo>
82-
dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.1809
83-
auto_tag_suffix: windows-1809-amd64
84-
- step:
85-
identifier: BuildAndPushDockerRegistry_2
86-
type: BuildAndPushDockerRegistry
87-
spec:
88-
repo: plugins/<+matrix.repo>
89-
tags:
90-
- windows-1809-amd64
91-
dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.1809
92-
- stage:
93-
identifier: winamd64
94-
type: CI
95-
spec:
96-
execution:
97-
steps:
98-
- step:
99-
identifier: Docker_Build_and_Push1
100-
type: Plugin
101-
spec:
102-
settings:
103-
repo: plugins/<+matrix.repo>
104-
dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.ltsc2022
105-
auto_tag_suffix: windows-ltsc2022-amd64
106-
- step:
107-
identifier: BuildAndPushDockerRegistry_2
108-
type: BuildAndPushDockerRegistry
109-
spec:
110-
repo: plugins/<+matrix.repo>
111-
tags:
112-
- windows-ltsc2022-amd64
113-
dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.ltsc2022
17+
- parallel:
18+
- stage:
19+
identifier: linamd64
20+
type: CI
21+
spec:
22+
execution:
23+
steps:
24+
- step:
25+
identifier: Build_Push
26+
type: Run
27+
spec:
28+
command: go build -a -tags netgo -o release/linux/amd64/drone-<+matrix.repo> ./cmd/drone-<+matrix.repo>
29+
- step:
30+
identifier: Docker_Build_and_Push
31+
type: Plugin
32+
spec:
33+
settings:
34+
repo: plugins/<+matrix.repo>
35+
dockerfile: docker/<+matrix.repo>/Dockerfile.linux.amd64
36+
auto_tag_suffix: linux-amd64
37+
- step:
38+
identifier: BuildAndPushDockerRegistry_1
39+
type: BuildAndPushDockerRegistry
40+
spec:
41+
repo: plugins/<+matrix.repo>
42+
tags:
43+
- linux-amd64
44+
dockerfile: docker/<+matrix.repo>/Dockerfile.linux.amd64
45+
- stage:
46+
identifier: linarm64
47+
type: CI
48+
spec:
49+
execution:
50+
steps:
51+
- step:
52+
identifier: buildpush
53+
type: Run
54+
spec:
55+
command: go build -a -tags netgo -o release/linux/arm64/drone-<+matrix.repo> ./cmd/drone-<+matrix.repo>
56+
- step:
57+
identifier: Docker_Build_and_Push
58+
type: Plugin
59+
spec:
60+
settings:
61+
repo: plugins/<+matrix.repo>
62+
dockerfile: docker/<+matrix.repo>/Dockerfile.linux.arm64
63+
auto_tag_suffix: linux-arm64
64+
- step:
65+
identifier: BuildAndPushDockerRegistry_1
66+
type: BuildAndPushDockerRegistry
67+
spec:
68+
repo: plugins/<+matrix.repo>
69+
tags:
70+
- linux-arm64
71+
dockerfile: docker/<+matrix.repo>/Dockerfile.linux.arm64
72+
- stage:
73+
identifier: win1809amd64
74+
type: CI
75+
spec:
76+
execution:
77+
steps:
78+
- step:
79+
identifier: Docker_Build_and_Push1
80+
type: Plugin
81+
spec:
82+
settings:
83+
repo: plugins/<+matrix.repo>
84+
dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.1809
85+
auto_tag_suffix: windows-1809-amd64
86+
- step:
87+
identifier: BuildAndPushDockerRegistry_2
88+
type: BuildAndPushDockerRegistry
89+
spec:
90+
repo: plugins/<+matrix.repo>
91+
tags:
92+
- windows-1809-amd64
93+
dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.1809
94+
- stage:
95+
identifier: winamd64
96+
type: CI
97+
spec:
98+
execution:
99+
steps:
100+
- step:
101+
identifier: Docker_Build_and_Push1
102+
type: Plugin
103+
spec:
104+
settings:
105+
repo: plugins/<+matrix.repo>
106+
dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.ltsc2022
107+
auto_tag_suffix: windows-ltsc2022-amd64
108+
- step:
109+
identifier: BuildAndPushDockerRegistry_2
110+
type: BuildAndPushDockerRegistry
111+
spec:
112+
repo: plugins/<+matrix.repo>
113+
tags:
114+
- windows-ltsc2022-amd64
115+
dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.ltsc2022
114116
- stage:
115117
identifier: Manifest
116118
type: CI

0 commit comments

Comments
 (0)