From be3756f4d471873123c7595f0e62b9e5ff92adc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20SZKIBA?= Date: Fri, 6 Jun 2025 09:19:08 +0000 Subject: [PATCH 1/3] ci: updated xk6 workflow reference to v1.0.0 --- .github/workflows/release.yml | 2 +- .github/workflows/validate.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7c0bcb8..154e8e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ on: jobs: release: name: Release - uses: grafana/xk6/.github/workflows/extension-release.yml@v0.20.1 + uses: grafana/xk6/.github/workflows/extension-release.yml@v1.0.0 permissions: contents: write with: diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index b87cdfd..47b2bbe 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -12,7 +12,7 @@ on: jobs: validate: name: Validate - uses: grafana/xk6/.github/workflows/extension-validate.yml@v0.20.1 + uses: grafana/xk6/.github/workflows/extension-validate.yml@v1.0.0 permissions: pages: write id-token: write From a7144de7dc9859c6f9cb806567e3f92607c61b50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20SZKIBA?= Date: Fri, 6 Jun 2025 11:29:46 +0200 Subject: [PATCH 2/3] docs: correction on starter section --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 71e73e1..b1863de 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ To create a local development environment, you need an IDE that supports [Develo ## Starter -The repository demonstrates how Go and JavaScript interact, serving as a valuable learning resource. You won't need these files when building a new extension. +The repository demonstrates how to handle metrics. These files are useful as a learning resource, but are not needed when creating a new extension. You can use the `.starter.patch` file with the `git apply` command to delete these files. From e1586a514977585c09c281c9f46b9da4ae619501 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20SZKIBA?= Date: Tue, 10 Jun 2025 08:14:24 +0000 Subject: [PATCH 3/3] updated xk6 to v1.0.0 --- .devcontainer/devcontainer.json | 5 ++--- .github/workflows/release.yml | 2 +- .github/workflows/validate.yml | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 8850c28..063a37f 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -23,13 +23,12 @@ }, "ghcr.io/szkiba/devcontainer-features/cdo:1": { "version": "0.1.2" }, "ghcr.io/szkiba/devcontainer-features/mdcode:1": { "version": "0.2.0" }, - "ghcr.io/grafana/devcontainer-features/xk6:1": { "version": "0.20.1" } + "ghcr.io/grafana/devcontainer-features/xk6:1": { "version": "1.0.0" } }, "remoteEnv": { "GH_TOKEN": "${localEnv:GH_TOKEN}", - "GITHUB_TOKEN": "${localEnv:GITHUB_TOKEN}", - "XK6_EARLY_ACCESS": "true" + "GITHUB_TOKEN": "${localEnv:GITHUB_TOKEN}" }, "postStartCommand": "xk6 adjust --dev-container" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 154e8e1..bca2060 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,4 +17,4 @@ jobs: os: '["linux", "windows", "darwin"]' arch: '["amd64", "arm64"]' k6-version: "v1.0.0" - xk6-version: "0.20.1" + xk6-version: "1.0.0" diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 47b2bbe..c562c7f 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -22,4 +22,4 @@ jobs: golangci-lint-version: "v2.1.6" platforms: '["ubuntu-latest", "windows-latest", "macos-latest"]' k6-versions: '["v1.0.0", "v0.58.0"]' - xk6-version: "0.20.1" + xk6-version: "1.0.0"