Skip to content

Commit a23175d

Browse files
committed
Revert build changes from multi-project
1 parent 7686d47 commit a23175d

File tree

5 files changed

+26
-33
lines changed

5 files changed

+26
-33
lines changed

.buildkite/hooks/pre-command

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,8 @@ export GRADLE_BUILD_CACHE_USERNAME
4444
GRADLE_BUILD_CACHE_PASSWORD=$(vault read -field=password secret/ci/elastic-elasticsearch/migrated/gradle-build-cache)
4545
export GRADLE_BUILD_CACHE_PASSWORD
4646

47-
DEVELOCITY_ACCESS_KEY="$(vault read -field=accesskey secret/ci/elastic-elasticsearch/migrated/gradle-build-cache)"
48-
if [ -n "${DEVELOCITY_ACCESS_KEY}" ]
49-
then
50-
DEVELOCITY_ACCESS_KEY="gradle-enterprise.elastic.co=${DEVELOCITY_ACCESS_KEY}"
51-
export DEVELOCITY_ACCESS_KEY
52-
else
53-
printf "%s: Error obtaining DEVELOCITY_ACCESS_KEY from Vault" "$0" | tee -a /dev/stderr
54-
fi
47+
DEVELOCITY_ACCESS_KEY="gradle-enterprise.elastic.co=$(vault read -field=accesskey secret/ci/elastic-elasticsearch/migrated/gradle-build-cache)"
48+
export DEVELOCITY_ACCESS_KEY
5549

5650
BUILDKITE_API_TOKEN=$(vault read -field=token secret/ci/elastic-elasticsearch/buildkite-api-token)
5751
export BUILDKITE_API_TOKEN

.buildkite/pipelines/intake.template.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ steps:
9292
image: family/elasticsearch-ubuntu-2004
9393
machineType: custom-32-98304
9494
buildDirectory: /dev/shm/bk
95-
# - wait
96-
# - trigger: elasticsearch-dra-workflow
97-
# label: Trigger DRA snapshot workflow
98-
# async: true
99-
# branches: "main 9.* 8.* 7.17"
100-
# build:
101-
# branch: "$BUILDKITE_BRANCH"
102-
# commit: "$BUILDKITE_COMMIT"
103-
# env:
104-
# DRA_WORKFLOW: snapshot
95+
- wait
96+
- trigger: elasticsearch-dra-workflow
97+
label: Trigger DRA snapshot workflow
98+
async: true
99+
branches: "main 9.* 8.* 7.17"
100+
build:
101+
branch: "$BUILDKITE_BRANCH"
102+
commit: "$BUILDKITE_COMMIT"
103+
env:
104+
DRA_WORKFLOW: snapshot

.buildkite/pipelines/intake.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,13 @@ steps:
9393
image: family/elasticsearch-ubuntu-2004
9494
machineType: custom-32-98304
9595
buildDirectory: /dev/shm/bk
96-
# - wait
97-
# - trigger: elasticsearch-dra-workflow
98-
# label: Trigger DRA snapshot workflow
99-
# async: true
100-
# branches: "main 9.* 8.* 7.17"
101-
# build:
102-
# branch: "$BUILDKITE_BRANCH"
103-
# commit: "$BUILDKITE_COMMIT"
104-
# env:
105-
# DRA_WORKFLOW: snapshot
96+
- wait
97+
- trigger: elasticsearch-dra-workflow
98+
label: Trigger DRA snapshot workflow
99+
async: true
100+
branches: "main 9.* 8.* 7.17"
101+
build:
102+
branch: "$BUILDKITE_BRANCH"
103+
commit: "$BUILDKITE_COMMIT"
104+
env:
105+
DRA_WORKFLOW: snapshot

.buildkite/pull-requests.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"jobs": [
33
{
44
"enabled": true,
5-
"pipeline_slug": "elasticsearch-multi-project-pull-request",
5+
"pipeline_slug": "elasticsearch-pull-request",
66
"allow_org_users": true,
77
"allowed_repo_permissions": [
88
"admin",

catalog-info.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ spec:
123123
pipeline_file: .buildkite/pipelines/lucene-snapshot/build-snapshot.yml
124124
env:
125125
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: "true"
126-
SLACK_NOTIFICATIONS_CHANNEL: "#lucene"
126+
SLACK_NOTIFICATIONS_CHANNEL: "#lucene-ci"
127127
SLACK_NOTIFICATIONS_ALL_BRANCHES: "true"
128128
branch_configuration: lucene_snapshot
129129
default_branch: lucene_snapshot
@@ -167,9 +167,8 @@ spec:
167167
pipeline_file: .buildkite/pipelines/lucene-snapshot/update-branch.yml
168168
env:
169169
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: "true"
170-
SLACK_NOTIFICATIONS_CHANNEL: "#lucene"
170+
SLACK_NOTIFICATIONS_CHANNEL: "#lucene-ci"
171171
SLACK_NOTIFICATIONS_ALL_BRANCHES: "true"
172-
branch_configuration: lucene_snapshot
173172
default_branch: lucene_snapshot
174173
teams:
175174
elasticsearch-team: {}
@@ -211,7 +210,7 @@ spec:
211210
pipeline_file: .buildkite/pipelines/lucene-snapshot/run-tests.yml
212211
env:
213212
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: "true"
214-
SLACK_NOTIFICATIONS_CHANNEL: "#lucene"
213+
SLACK_NOTIFICATIONS_CHANNEL: "#lucene-ci"
215214
SLACK_NOTIFICATIONS_ALL_BRANCHES: "true"
216215
branch_configuration: lucene_snapshot
217216
default_branch: lucene_snapshot

0 commit comments

Comments
 (0)