Skip to content

Commit

Permalink
renovate: update version of k6 used for integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nadiamoe committed Dec 16, 2024
1 parent 37a3a2c commit 0390e0f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@
"github>grafana/sm-renovate//presets/go.json5",
],
"commitMessagePrefix": "",
"customManagers": [
{
// Update k6 image used for integration tests only.
"customType": "regex",
"depNameTemplate": "grafana/k6",
"datasourceTemplate": "docker",
"fileMatch": [
"^integration/integration_test.go$",
],
"matchStrings": [
"grafana/k6:(?<currentValue>[\\w.-]+)",
],
},
],
"packageRules": [
{
// The default "docker" versioning will try to restrict upgrades to versions that do not change everything after
Expand Down
1 change: 1 addition & 0 deletions integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ func TestIntegration(t *testing.T) {
k6, err := testcontainers.GenericContainer(ctx, testcontainers.GenericContainerRequest{
Started: true,
ContainerRequest: testcontainers.ContainerRequest{
// Renovate updates the version below. Keep its format as it is or update the renovate config with it.
Image: "grafana/k6:0.54.0",
Entrypoint: []string{"/bin/sleep", "infinity"},
Networks: []string{network.Name},
Expand Down

0 comments on commit 0390e0f

Please sign in to comment.