From 15a8267b7092cf6f4d1327ec992ec1c03d79db43 Mon Sep 17 00:00:00 2001 From: "elastic-backstage-prod[bot]" <123036547+elastic-backstage-prod[bot]@users.noreply.github.com> Date: Mon, 10 Apr 2023 15:20:11 +0000 Subject: [PATCH 1/2] Create catalog-info file --- catalog-info.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 catalog-info.yaml diff --git a/catalog-info.yaml b/catalog-info.yaml new file mode 100644 index 00000000..ed8b2790 --- /dev/null +++ b/catalog-info.yaml @@ -0,0 +1,28 @@ +--- +# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/e57ee3bed7a6f73077a3f55a38e76e40ec87a7cf/rre.schema.json +apiVersion: backstage.io/v1alpha1 +kind: Resource +metadata: + name: buildkite-pipeline-cloud-sdk-go + description: Buildkite Pipeline for cloud-sdk-go + links: + - title: Pipeline + url: https://buildkite.com/elastic/cloud-sdk-go + +spec: + type: buildkite-pipeline + owner: group:control-plane-stateful-foundations + system: buildkite + implementation: + apiVersion: buildkite.elastic.dev/v1 + kind: Pipeline + metadata: + name: cloud-sdk-go + spec: + repository: elastic/cloud-sdk-go + pipeline_file: ".buildkite/pipeline.yml" + teams: + # your-team: + # access_level: MANAGE_BUILD_AND_READ + everyone: + access_level: READ_ONLY From a98ab00dd5422d4c8e7dedb219e04e741b815884 Mon Sep 17 00:00:00 2001 From: coolblknerd Date: Mon, 10 Apr 2023 10:37:55 -0500 Subject: [PATCH 2/2] Updated catalog-info file to include component --- catalog-info.yaml | 70 +++++++++++++++++++++++++++++++++-------------- 1 file changed, 49 insertions(+), 21 deletions(-) diff --git a/catalog-info.yaml b/catalog-info.yaml index ed8b2790..ab96438f 100644 --- a/catalog-info.yaml +++ b/catalog-info.yaml @@ -1,28 +1,56 @@ +# This entity represents the Cloud SDK Go, a library. --- -# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/e57ee3bed7a6f73077a3f55a38e76e40ec87a7cf/rre.schema.json apiVersion: backstage.io/v1alpha1 -kind: Resource +kind: Component metadata: - name: buildkite-pipeline-cloud-sdk-go - description: Buildkite Pipeline for cloud-sdk-go + name: cloud-sdk-go + description: Provides common ground for all Elastic Cloud programmatic code in Go. + + annotations: + backstage.io/source-location: url:https://github.com/elastic/cloud-sdk-go + github.com/project-slug: elastic/cloud-sdk-go + github.com/team-slug: elastic/control-plane-stateful-foundations + # buildkite.com/project-slug: elastic/pipeline-slug-here + + tags: + - ess + - library + - go + links: - - title: Pipeline - url: https://buildkite.com/elastic/cloud-sdk-go + - title: Documentation + url: https://github.com/elastic/cloud-sdk-go/blob/master/README.md spec: - type: buildkite-pipeline + type: service owner: group:control-plane-stateful-foundations - system: buildkite - implementation: - apiVersion: buildkite.elastic.dev/v1 - kind: Pipeline - metadata: - name: cloud-sdk-go - spec: - repository: elastic/cloud-sdk-go - pipeline_file: ".buildkite/pipeline.yml" - teams: - # your-team: - # access_level: MANAGE_BUILD_AND_READ - everyone: - access_level: READ_ONLY + lifecycle: production + +--- +# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/e57ee3bed7a6f73077a3f55a38e76e40ec87a7cf/rre.schema.json +# apiVersion: backstage.io/v1alpha1 +# kind: Resource +# metadata: +# name: buildkite-pipeline-cloud-sdk-go +# description: Buildkite Pipeline for cloud-sdk-go +# links: +# - title: Pipeline +# url: https://buildkite.com/elastic/cloud-sdk-go + +# spec: +# type: buildkite-pipeline +# owner: group:control-plane-stateful-foundations +# system: buildkite +# implementation: +# apiVersion: buildkite.elastic.dev/v1 +# kind: Pipeline +# metadata: +# name: cloud-sdk-go +# spec: +# repository: elastic/cloud-sdk-go +# pipeline_file: ".buildkite/pipeline.yml" +# teams: +# # your-team: +# # access_level: MANAGE_BUILD_AND_READ +# everyone: +# access_level: READ_ONLY