Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dce5699

Browse files
authored
Enable publishing packages from integrations-publish pipeline (elastic#9712)
Enable publishing packages from integrations-publish pipeline, and remove corresponding step from the main pipeline.
1 parent c7bc530 commit dce5699

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

.buildkite/pipeline.publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ steps:
3737
memory: "8G"
3838
env:
3939
ARTIFACTS_FOLDER: "artifacts-to-sign"
40-
DRY_RUN: "true"
40+
# by default it will publish packages
41+
DRY_RUN: "${DRY_RUN:-false}"
4142
depends_on:
4243
- step: "check"
4344
allow_failure: false

.buildkite/pipeline.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
2-
32
env:
43
SETUP_GVM_VERSION: "v0.5.2"
54
LINUX_AGENT_IMAGE: "golang:${GO_VERSION}"
@@ -29,22 +28,6 @@ steps:
2928
cpu: "8"
3029
memory: "4G"
3130

32-
- label: ":package: Build packages"
33-
key: "build-packages"
34-
command: ".buildkite/scripts/build_packages.sh"
35-
agents:
36-
image: "${LINUX_AGENT_IMAGE}"
37-
cpu: "8"
38-
memory: "8G"
39-
env:
40-
ARTIFACTS_FOLDER: "artifacts-to-sign"
41-
DRY_RUN: "false"
42-
depends_on:
43-
- step: "check"
44-
allow_failure: false
45-
artifact_paths:
46-
- artifacts-to-sign/*.zip
47-
4831
- label: "Trigger integrations"
4932
key: "test-integrations"
5033
command: ".buildkite/scripts/trigger_integrations_in_parallel.sh"

0 commit comments

Comments
 (0)