From 00dcb4a5feeab48befa5e98fb4a64cc87dabd7e3 Mon Sep 17 00:00:00 2001 From: "enghub-ops-integration[bot]" <141459326+enghub-ops-integration[bot]@users.noreply.github.com> Date: Thu, 15 May 2025 14:35:30 +0000 Subject: [PATCH 1/4] Register Component into Software Catalog and set up TechDocs publishing --- .github/workflows/publish-techdocs.yaml | 25 +++++++++++++++++++++++++ catalog-info.yaml | 14 ++++++++++++++ mkdocs.yml | 14 ++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 .github/workflows/publish-techdocs.yaml create mode 100644 catalog-info.yaml create mode 100644 mkdocs.yml diff --git a/.github/workflows/publish-techdocs.yaml b/.github/workflows/publish-techdocs.yaml new file mode 100644 index 0000000..8b86bdf --- /dev/null +++ b/.github/workflows/publish-techdocs.yaml @@ -0,0 +1,25 @@ +name: Publish TechDocs +on: + push: + branches: + - main + paths: + - 'docs/**' + - 'mkdocs.yml' + - 'catalog-info.yaml' + - '.github/workflows/publish-techdocs.yaml' +concurrency: + group: '${{ github.workflow }}-${{ github.ref }}' + cancel-in-progress: true +permissions: {} +jobs: + publish-docs: + uses: grafana/shared-workflows/.github/workflows/publish-techdocs.yaml@main + permissions: + contents: read + id-token: write + with: + namespace: default + kind: component + name: xk6-output-influxdb + default-working-directory: . diff --git a/catalog-info.yaml b/catalog-info.yaml new file mode 100644 index 0000000..1cfda1b --- /dev/null +++ b/catalog-info.yaml @@ -0,0 +1,14 @@ +apiVersion: backstage.io/v1alpha1 +kind: Component +metadata: + name: xk6-output-influxdb + title: xk6-output-influxdb + description: | + k6 extension to output real-time test metrics to an InfluxDB 2.x database. + annotations: + backstage.io/techdocs-ref: dir:. + github.com/project-slug: grafana/xk6-output-influxdb +spec: + type: library + owner: group:default/k6-core + lifecycle: production diff --git a/mkdocs.yml b/mkdocs.yml new file mode 100644 index 0000000..ea87fad --- /dev/null +++ b/mkdocs.yml @@ -0,0 +1,14 @@ +# To run locally +# npx @techdocs/cli serve -v -c ./mkdocs.yml +# +site_name: 'xk6-output-influxdb Internal Documentation' +repo_url: https://github.com/grafana/xk6-output-influxdb +edit_uri: edit/main/docs + +theme: + name: material + features: + - navigation.sections + +plugins: + - techdocs-core From b84a2b896988428ba64ff21fa4621f10e56e9336 Mon Sep 17 00:00:00 2001 From: Erik Sommer Date: Thu, 15 May 2025 16:35:57 +0200 Subject: [PATCH 2/4] Delete .github/workflows/publish-techdocs.yaml --- .github/workflows/publish-techdocs.yaml | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 .github/workflows/publish-techdocs.yaml diff --git a/.github/workflows/publish-techdocs.yaml b/.github/workflows/publish-techdocs.yaml deleted file mode 100644 index 8b86bdf..0000000 --- a/.github/workflows/publish-techdocs.yaml +++ /dev/null @@ -1,25 +0,0 @@ -name: Publish TechDocs -on: - push: - branches: - - main - paths: - - 'docs/**' - - 'mkdocs.yml' - - 'catalog-info.yaml' - - '.github/workflows/publish-techdocs.yaml' -concurrency: - group: '${{ github.workflow }}-${{ github.ref }}' - cancel-in-progress: true -permissions: {} -jobs: - publish-docs: - uses: grafana/shared-workflows/.github/workflows/publish-techdocs.yaml@main - permissions: - contents: read - id-token: write - with: - namespace: default - kind: component - name: xk6-output-influxdb - default-working-directory: . From c9e0ded0ba334975e03eeb95f4a3e26f30ca5a81 Mon Sep 17 00:00:00 2001 From: Erik Sommer Date: Thu, 15 May 2025 16:36:08 +0200 Subject: [PATCH 3/4] Delete mkdocs.yml --- mkdocs.yml | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 mkdocs.yml diff --git a/mkdocs.yml b/mkdocs.yml deleted file mode 100644 index ea87fad..0000000 --- a/mkdocs.yml +++ /dev/null @@ -1,14 +0,0 @@ -# To run locally -# npx @techdocs/cli serve -v -c ./mkdocs.yml -# -site_name: 'xk6-output-influxdb Internal Documentation' -repo_url: https://github.com/grafana/xk6-output-influxdb -edit_uri: edit/main/docs - -theme: - name: material - features: - - navigation.sections - -plugins: - - techdocs-core From ddf81629a7e3402febfa1ed557e7c24743cd3697 Mon Sep 17 00:00:00 2001 From: Erik Sommer Date: Thu, 15 May 2025 16:36:22 +0200 Subject: [PATCH 4/4] Update catalog-info.yaml --- catalog-info.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/catalog-info.yaml b/catalog-info.yaml index 1cfda1b..0f30738 100644 --- a/catalog-info.yaml +++ b/catalog-info.yaml @@ -6,7 +6,6 @@ metadata: description: | k6 extension to output real-time test metrics to an InfluxDB 2.x database. annotations: - backstage.io/techdocs-ref: dir:. github.com/project-slug: grafana/xk6-output-influxdb spec: type: library