From 55c76aeaf0319dde11772c4a3818a6f9627f9f20 Mon Sep 17 00:00:00 2001 From: ci-reporunner Date: Thu, 13 Feb 2025 10:53:37 +0530 Subject: [PATCH] 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 --- .harness/eventPR.yaml | 198 ++++++++++++++++++++-------------------- .harness/eventPush.yaml | 198 ++++++++++++++++++++-------------------- .harness/eventTag.yaml | 198 ++++++++++++++++++++-------------------- 3 files changed, 300 insertions(+), 294 deletions(-) diff --git a/.harness/eventPR.yaml b/.harness/eventPR.yaml index b32bffc..d7227e6 100644 --- a/.harness/eventPR.yaml +++ b/.harness/eventPR.yaml @@ -1,5 +1,6 @@ inputSet: name: event-PR + tags: {} identifier: eventPR orgIdentifier: default projectIdentifier: Drone_Plugins @@ -13,104 +14,105 @@ inputSet: spec: number: <+trigger.prNumber> stages: - - stage: - identifier: linamd64 - type: CI - spec: - execution: - steps: - - step: - identifier: Build_Push - type: Run - spec: - command: go build -a -tags netgo -o release/linux/amd64/drone-<+matrix.repo> ./cmd/drone-<+matrix.repo> - - step: - identifier: Docker_Build_and_Push - type: Plugin - spec: - settings: - repo: plugins/<+matrix.repo> - dockerfile: docker/<+matrix.repo>/Dockerfile.linux.amd64 - auto_tag_suffix: linux-amd64 - - step: - identifier: BuildAndPushDockerRegistry_1 - type: BuildAndPushDockerRegistry - spec: - repo: plugins/<+matrix.repo> - tags: - - linux-amd64 - dockerfile: docker/<+matrix.repo>/Dockerfile.linux.amd64 - - stage: - identifier: linarm64 - type: CI - spec: - execution: - steps: - - step: - identifier: buildpush - type: Run - spec: - command: go build -a -tags netgo -o release/linux/arm64/drone-<+matrix.repo> ./cmd/drone-<+matrix.repo> - - step: - identifier: Docker_Build_and_Push - type: Plugin - spec: - settings: - repo: plugins/<+matrix.repo> - dockerfile: docker/<+matrix.repo>/Dockerfile.linux.arm64 - auto_tag_suffix: linux-arm64 - - step: - identifier: BuildAndPushDockerRegistry_1 - type: BuildAndPushDockerRegistry - spec: - repo: plugins/<+matrix.repo> - tags: - - linux-arm64 - dockerfile: docker/<+matrix.repo>/Dockerfile.linux.arm64 - - stage: - identifier: win1809amd64 - type: CI - spec: - execution: - steps: - - step: - identifier: Docker_Build_and_Push1 - type: Plugin - spec: - settings: - repo: plugins/<+matrix.repo> - dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.1809 - auto_tag_suffix: windows-1809-amd64 - - step: - identifier: BuildAndPushDockerRegistry_2 - type: BuildAndPushDockerRegistry - spec: - repo: plugins/<+matrix.repo> - tags: - - windows-1809-amd64 - dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.1809 - - stage: - identifier: winamd64 - type: CI - spec: - execution: - steps: - - step: - identifier: Docker_Build_and_Push1 - type: Plugin - spec: - settings: - repo: plugins/<+matrix.repo> - dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.ltsc2022 - auto_tag_suffix: windows-ltsc2022-amd64 - - step: - identifier: BuildAndPushDockerRegistry_2 - type: BuildAndPushDockerRegistry - spec: - repo: plugins/<+matrix.repo> - tags: - - windows-ltsc2022-amd64 - dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.ltsc2022 + - parallel: + - stage: + identifier: linamd64 + type: CI + spec: + execution: + steps: + - step: + identifier: Build_Push + type: Run + spec: + command: go build -a -tags netgo -o release/linux/amd64/drone-<+matrix.repo> ./cmd/drone-<+matrix.repo> + - step: + identifier: Docker_Build_and_Push + type: Plugin + spec: + settings: + repo: plugins/<+matrix.repo> + dockerfile: docker/<+matrix.repo>/Dockerfile.linux.amd64 + auto_tag_suffix: linux-amd64 + - step: + identifier: BuildAndPushDockerRegistry_1 + type: BuildAndPushDockerRegistry + spec: + repo: plugins/<+matrix.repo> + tags: + - linux-amd64 + dockerfile: docker/<+matrix.repo>/Dockerfile.linux.amd64 + - stage: + identifier: linarm64 + type: CI + spec: + execution: + steps: + - step: + identifier: buildpush + type: Run + spec: + command: go build -a -tags netgo -o release/linux/arm64/drone-<+matrix.repo> ./cmd/drone-<+matrix.repo> + - step: + identifier: Docker_Build_and_Push + type: Plugin + spec: + settings: + repo: plugins/<+matrix.repo> + dockerfile: docker/<+matrix.repo>/Dockerfile.linux.arm64 + auto_tag_suffix: linux-arm64 + - step: + identifier: BuildAndPushDockerRegistry_1 + type: BuildAndPushDockerRegistry + spec: + repo: plugins/<+matrix.repo> + tags: + - linux-arm64 + dockerfile: docker/<+matrix.repo>/Dockerfile.linux.arm64 + - stage: + identifier: win1809amd64 + type: CI + spec: + execution: + steps: + - step: + identifier: Docker_Build_and_Push1 + type: Plugin + spec: + settings: + repo: plugins/<+matrix.repo> + dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.1809 + auto_tag_suffix: windows-1809-amd64 + - step: + identifier: BuildAndPushDockerRegistry_2 + type: BuildAndPushDockerRegistry + spec: + repo: plugins/<+matrix.repo> + tags: + - windows-1809-amd64 + dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.1809 + - stage: + identifier: winamd64 + type: CI + spec: + execution: + steps: + - step: + identifier: Docker_Build_and_Push1 + type: Plugin + spec: + settings: + repo: plugins/<+matrix.repo> + dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.ltsc2022 + auto_tag_suffix: windows-ltsc2022-amd64 + - step: + identifier: BuildAndPushDockerRegistry_2 + type: BuildAndPushDockerRegistry + spec: + repo: plugins/<+matrix.repo> + tags: + - windows-ltsc2022-amd64 + dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.ltsc2022 - stage: identifier: Manifest type: CI diff --git a/.harness/eventPush.yaml b/.harness/eventPush.yaml index e047956..0c1405c 100644 --- a/.harness/eventPush.yaml +++ b/.harness/eventPush.yaml @@ -1,5 +1,6 @@ inputSet: name: event-Push + tags: {} identifier: eventPush orgIdentifier: default projectIdentifier: Drone_Plugins @@ -13,104 +14,105 @@ inputSet: spec: branch: <+trigger.branch> stages: - - stage: - identifier: linamd64 - type: CI - spec: - execution: - steps: - - step: - identifier: Build_Push - type: Run - spec: - command: go build -a -tags netgo -o release/linux/amd64/drone-<+matrix.repo> ./cmd/drone-<+matrix.repo> - - step: - identifier: Docker_Build_and_Push - type: Plugin - spec: - settings: - repo: plugins/<+matrix.repo> - dockerfile: docker/<+matrix.repo>/Dockerfile.linux.amd64 - auto_tag_suffix: linux-amd64 - - step: - identifier: BuildAndPushDockerRegistry_1 - type: BuildAndPushDockerRegistry - spec: - repo: plugins/<+matrix.repo> - tags: - - linux-amd64 - dockerfile: docker/<+matrix.repo>/Dockerfile.linux.amd64 - - stage: - identifier: linarm64 - type: CI - spec: - execution: - steps: - - step: - identifier: buildpush - type: Run - spec: - command: go build -a -tags netgo -o release/linux/arm64/drone-<+matrix.repo> ./cmd/drone-<+matrix.repo> - - step: - identifier: Docker_Build_and_Push - type: Plugin - spec: - settings: - repo: plugins/<+matrix.repo> - dockerfile: docker/<+matrix.repo>/Dockerfile.linux.arm64 - auto_tag_suffix: linux-arm64 - - step: - identifier: BuildAndPushDockerRegistry_1 - type: BuildAndPushDockerRegistry - spec: - repo: plugins/<+matrix.repo> - tags: - - linux-arm64 - dockerfile: docker/<+matrix.repo>/Dockerfile.linux.arm64 - - stage: - identifier: win1809amd64 - type: CI - spec: - execution: - steps: - - step: - identifier: Docker_Build_and_Push1 - type: Plugin - spec: - settings: - repo: plugins/<+matrix.repo> - dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.1809 - auto_tag_suffix: windows-1809-amd64 - - step: - identifier: BuildAndPushDockerRegistry_2 - type: BuildAndPushDockerRegistry - spec: - repo: plugins/<+matrix.repo> - tags: - - windows-1809-amd64 - dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.1809 - - stage: - identifier: winamd64 - type: CI - spec: - execution: - steps: - - step: - identifier: Docker_Build_and_Push1 - type: Plugin - spec: - settings: - repo: plugins/<+matrix.repo> - dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.ltsc2022 - auto_tag_suffix: windows-ltsc2022-amd64 - - step: - identifier: BuildAndPushDockerRegistry_2 - type: BuildAndPushDockerRegistry - spec: - repo: plugins/<+matrix.repo> - tags: - - windows-ltsc2022-amd64 - dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.ltsc2022 + - parallel: + - stage: + identifier: linamd64 + type: CI + spec: + execution: + steps: + - step: + identifier: Build_Push + type: Run + spec: + command: go build -a -tags netgo -o release/linux/amd64/drone-<+matrix.repo> ./cmd/drone-<+matrix.repo> + - step: + identifier: Docker_Build_and_Push + type: Plugin + spec: + settings: + repo: plugins/<+matrix.repo> + dockerfile: docker/<+matrix.repo>/Dockerfile.linux.amd64 + auto_tag_suffix: linux-amd64 + - step: + identifier: BuildAndPushDockerRegistry_1 + type: BuildAndPushDockerRegistry + spec: + repo: plugins/<+matrix.repo> + tags: + - linux-amd64 + dockerfile: docker/<+matrix.repo>/Dockerfile.linux.amd64 + - stage: + identifier: linarm64 + type: CI + spec: + execution: + steps: + - step: + identifier: buildpush + type: Run + spec: + command: go build -a -tags netgo -o release/linux/arm64/drone-<+matrix.repo> ./cmd/drone-<+matrix.repo> + - step: + identifier: Docker_Build_and_Push + type: Plugin + spec: + settings: + repo: plugins/<+matrix.repo> + dockerfile: docker/<+matrix.repo>/Dockerfile.linux.arm64 + auto_tag_suffix: linux-arm64 + - step: + identifier: BuildAndPushDockerRegistry_1 + type: BuildAndPushDockerRegistry + spec: + repo: plugins/<+matrix.repo> + tags: + - linux-arm64 + dockerfile: docker/<+matrix.repo>/Dockerfile.linux.arm64 + - stage: + identifier: win1809amd64 + type: CI + spec: + execution: + steps: + - step: + identifier: Docker_Build_and_Push1 + type: Plugin + spec: + settings: + repo: plugins/<+matrix.repo> + dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.1809 + auto_tag_suffix: windows-1809-amd64 + - step: + identifier: BuildAndPushDockerRegistry_2 + type: BuildAndPushDockerRegistry + spec: + repo: plugins/<+matrix.repo> + tags: + - windows-1809-amd64 + dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.1809 + - stage: + identifier: winamd64 + type: CI + spec: + execution: + steps: + - step: + identifier: Docker_Build_and_Push1 + type: Plugin + spec: + settings: + repo: plugins/<+matrix.repo> + dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.ltsc2022 + auto_tag_suffix: windows-ltsc2022-amd64 + - step: + identifier: BuildAndPushDockerRegistry_2 + type: BuildAndPushDockerRegistry + spec: + repo: plugins/<+matrix.repo> + tags: + - windows-ltsc2022-amd64 + dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.ltsc2022 - stage: identifier: Manifest type: CI diff --git a/.harness/eventTag.yaml b/.harness/eventTag.yaml index 454b662..b6cf0d7 100644 --- a/.harness/eventTag.yaml +++ b/.harness/eventTag.yaml @@ -1,5 +1,6 @@ inputSet: name: event-Tag + tags: {} identifier: eventTag orgIdentifier: default projectIdentifier: Drone_Plugins @@ -13,104 +14,105 @@ inputSet: spec: tag: <+trigger.tag> stages: - - stage: - identifier: linamd64 - type: CI - spec: - execution: - steps: - - step: - identifier: Build_Push - type: Run - spec: - command: go build -a -tags netgo -o release/linux/amd64/drone-<+matrix.repo> ./cmd/drone-<+matrix.repo> - - step: - identifier: Docker_Build_and_Push - type: Plugin - spec: - settings: - repo: plugins/<+matrix.repo> - dockerfile: docker/<+matrix.repo>/Dockerfile.linux.amd64 - auto_tag_suffix: linux-amd64 - - step: - identifier: BuildAndPushDockerRegistry_1 - type: BuildAndPushDockerRegistry - spec: - repo: plugins/<+matrix.repo> - tags: - - linux-amd64 - dockerfile: docker/<+matrix.repo>/Dockerfile.linux.amd64 - - stage: - identifier: linarm64 - type: CI - spec: - execution: - steps: - - step: - identifier: buildpush - type: Run - spec: - command: go build -a -tags netgo -o release/linux/arm64/drone-<+matrix.repo> ./cmd/drone-<+matrix.repo> - - step: - identifier: Docker_Build_and_Push - type: Plugin - spec: - settings: - repo: plugins/<+matrix.repo> - dockerfile: docker/<+matrix.repo>/Dockerfile.linux.arm64 - auto_tag_suffix: linux-arm64 - - step: - identifier: BuildAndPushDockerRegistry_1 - type: BuildAndPushDockerRegistry - spec: - repo: plugins/<+matrix.repo> - tags: - - linux-arm64 - dockerfile: docker/<+matrix.repo>/Dockerfile.linux.arm64 - - stage: - identifier: win1809amd64 - type: CI - spec: - execution: - steps: - - step: - identifier: Docker_Build_and_Push1 - type: Plugin - spec: - settings: - repo: plugins/<+matrix.repo> - dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.1809 - auto_tag_suffix: windows-1809-amd64 - - step: - identifier: BuildAndPushDockerRegistry_2 - type: BuildAndPushDockerRegistry - spec: - repo: plugins/<+matrix.repo> - tags: - - windows-1809-amd64 - dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.1809 - - stage: - identifier: winamd64 - type: CI - spec: - execution: - steps: - - step: - identifier: Docker_Build_and_Push1 - type: Plugin - spec: - settings: - repo: plugins/<+matrix.repo> - dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.ltsc2022 - auto_tag_suffix: windows-ltsc2022-amd64 - - step: - identifier: BuildAndPushDockerRegistry_2 - type: BuildAndPushDockerRegistry - spec: - repo: plugins/<+matrix.repo> - tags: - - windows-ltsc2022-amd64 - dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.ltsc2022 + - parallel: + - stage: + identifier: linamd64 + type: CI + spec: + execution: + steps: + - step: + identifier: Build_Push + type: Run + spec: + command: go build -a -tags netgo -o release/linux/amd64/drone-<+matrix.repo> ./cmd/drone-<+matrix.repo> + - step: + identifier: Docker_Build_and_Push + type: Plugin + spec: + settings: + repo: plugins/<+matrix.repo> + dockerfile: docker/<+matrix.repo>/Dockerfile.linux.amd64 + auto_tag_suffix: linux-amd64 + - step: + identifier: BuildAndPushDockerRegistry_1 + type: BuildAndPushDockerRegistry + spec: + repo: plugins/<+matrix.repo> + tags: + - linux-amd64 + dockerfile: docker/<+matrix.repo>/Dockerfile.linux.amd64 + - stage: + identifier: linarm64 + type: CI + spec: + execution: + steps: + - step: + identifier: buildpush + type: Run + spec: + command: go build -a -tags netgo -o release/linux/arm64/drone-<+matrix.repo> ./cmd/drone-<+matrix.repo> + - step: + identifier: Docker_Build_and_Push + type: Plugin + spec: + settings: + repo: plugins/<+matrix.repo> + dockerfile: docker/<+matrix.repo>/Dockerfile.linux.arm64 + auto_tag_suffix: linux-arm64 + - step: + identifier: BuildAndPushDockerRegistry_1 + type: BuildAndPushDockerRegistry + spec: + repo: plugins/<+matrix.repo> + tags: + - linux-arm64 + dockerfile: docker/<+matrix.repo>/Dockerfile.linux.arm64 + - stage: + identifier: win1809amd64 + type: CI + spec: + execution: + steps: + - step: + identifier: Docker_Build_and_Push1 + type: Plugin + spec: + settings: + repo: plugins/<+matrix.repo> + dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.1809 + auto_tag_suffix: windows-1809-amd64 + - step: + identifier: BuildAndPushDockerRegistry_2 + type: BuildAndPushDockerRegistry + spec: + repo: plugins/<+matrix.repo> + tags: + - windows-1809-amd64 + dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.1809 + - stage: + identifier: winamd64 + type: CI + spec: + execution: + steps: + - step: + identifier: Docker_Build_and_Push1 + type: Plugin + spec: + settings: + repo: plugins/<+matrix.repo> + dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.ltsc2022 + auto_tag_suffix: windows-ltsc2022-amd64 + - step: + identifier: BuildAndPushDockerRegistry_2 + type: BuildAndPushDockerRegistry + spec: + repo: plugins/<+matrix.repo> + tags: + - windows-ltsc2022-amd64 + dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.ltsc2022 - stage: identifier: Manifest type: CI