From 259a6e98d61142ea5d298a8f87b3cde6b1c61518 Mon Sep 17 00:00:00 2001 From: "elastic-backstage-prod[bot]" <123036547+elastic-backstage-prod[bot]@users.noreply.github.com> Date: Thu, 13 Jun 2024 06:52:50 +0000 Subject: [PATCH 1/4] Create catalog-info file --- .buildkite/pipeline.yml | 33 +++++++++++++-------------------- .github/CODEOWNERS | 3 +++ catalog-info.yaml | 22 +++++++++++++++------- 3 files changed, 31 insertions(+), 27 deletions(-) create mode 100644 .github/CODEOWNERS diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index f2d924f2a..477c43337 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -1,21 +1,14 @@ +--- +# $yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json steps: - - label: ":elasticsearch: :php: ES PHP ({{ matrix.php }}) Test Suite: {{ matrix.suite }}" - agents: - provider: "gcp" - env: - PHP_VERSION: "{{ matrix.php }}" - TEST_SUITE: "{{ matrix.suite }}" - STACK_VERSION: 8.14.0-SNAPSHOT - matrix: - setup: - suite: - - "free" - - "platinum" - php: - - "8.3-cli" - - "8.2-cli" - - "8.1-cli" - - "8.0-cli" - - "7.4-cli" - command: ./.buildkite/run-tests - artifact_paths: "*.xml" + - label: "Build" + command: "true" + + - label: "Test" + command: "true" + + - label: "Deploy" + command: "true" + + - label: "Publish" + command: "true" diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 000000000..fc4e57471 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,3 @@ +# These owners will be the default owners for everything in +# the repo. +* @elastic/devtools-team diff --git a/catalog-info.yaml b/catalog-info.yaml index 4a1323499..94ec02d97 100644 --- a/catalog-info.yaml +++ b/catalog-info.yaml @@ -1,22 +1,30 @@ +# Declare your Buildkite pipelines below --- +# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json apiVersion: backstage.io/v1alpha1 kind: Resource metadata: - name: 76f58964-9833-4fee-995e-ac20f4e32263 - namespace: terrazzo-local + name: buildkite-pipeline-elasticsearch-php + description: Buildkite Pipeline for elasticsearch-php + links: + - title: Pipeline + url: https://buildkite.com/elastic/elasticsearch-php + spec: + type: buildkite-pipeline + owner: group:devtools-team + system: buildkite implementation: apiVersion: buildkite.elastic.dev/v1 kind: Pipeline metadata: - description: Elasticsearch PHP Client name: elasticsearch-php + description: spec: - default_branch: null repository: elastic/elasticsearch-php + pipeline_file: ".buildkite/pipeline.yml" teams: - devtools-team: {} + devtools-team: + access_level: MANAGE_BUILD_AND_READ everyone: access_level: READ_ONLY - owner: group:devtools-team - type: buildkite-pipeline From 9c12157c0bf29a281e17f0434c6dd16ebe6cb6ce Mon Sep 17 00:00:00 2001 From: Ellie <4158750+esenmarti@users.noreply.github.com> Date: Thu, 13 Jun 2024 12:23:10 +0200 Subject: [PATCH 2/4] Update pipeline.yml --- .buildkite/pipeline.yml | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 477c43337..821a9b7ee 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -1,14 +1,22 @@ --- # $yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json -steps: - - label: "Build" - command: "true" - - - label: "Test" - command: "true" - - - label: "Deploy" - command: "true" - - - label: "Publish" - command: "true" + - label: ":elasticsearch: :php: ES PHP ({{ matrix.php }}) Test Suite: {{ matrix.suite }}" + agents: + provider: "gcp" + env: + PHP_VERSION: "{{ matrix.php }}" + TEST_SUITE: "{{ matrix.suite }}" + STACK_VERSION: 8.14.0-SNAPSHOT + matrix: + setup: + suite: + - "free" + - "platinum" + php: + - "8.3-cli" + - "8.2-cli" + - "8.1-cli" + - "8.0-cli" + - "7.4-cli" + command: ./.buildkite/run-tests + artifact_paths: "*.xml" From a9ffe0073dda903831f866186e3e8b367f316016 Mon Sep 17 00:00:00 2001 From: Ellie <4158750+esenmarti@users.noreply.github.com> Date: Thu, 13 Jun 2024 12:23:28 +0200 Subject: [PATCH 3/4] Update pipeline.yml --- .buildkite/pipeline.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 821a9b7ee..d087788f2 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -1,5 +1,6 @@ --- # $yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json +steps: - label: ":elasticsearch: :php: ES PHP ({{ matrix.php }}) Test Suite: {{ matrix.suite }}" agents: provider: "gcp" From 0276cdaf60a78e68b934e98d6d02c122df0bdfbf Mon Sep 17 00:00:00 2001 From: Ellie <4158750+esenmarti@users.noreply.github.com> Date: Thu, 13 Jun 2024 12:24:18 +0200 Subject: [PATCH 4/4] Update catalog-info.yaml --- catalog-info.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalog-info.yaml b/catalog-info.yaml index 94ec02d97..f7d778b6c 100644 --- a/catalog-info.yaml +++ b/catalog-info.yaml @@ -19,7 +19,7 @@ spec: kind: Pipeline metadata: name: elasticsearch-php - description: + description: Elasticsearch PHP Client spec: repository: elastic/elasticsearch-php pipeline_file: ".buildkite/pipeline.yml"