From 47a786953b37f1ac45e3a8d56eafafa960eda622 Mon Sep 17 00:00:00 2001 From: Pablo Chacin Date: Fri, 13 Dec 2024 18:31:28 +0100 Subject: [PATCH 1/2] update k6build v0.5.0 Signed-off-by: Pablo Chacin --- build.go | 16 ++++++++++------ go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/build.go b/build.go index 537147a..90f2f25 100644 --- a/build.go +++ b/build.go @@ -86,12 +86,16 @@ func newLocalBuildService(ctx context.Context, opts *Options) (k6build.BuildServ return nil, err } - conf := local.BuildServiceConfig{ - BuildEnv: map[string]string{"GOWORK": "off"}, - Catalog: catfile, - CopyGoEnv: true, - StoreDir: filepath.Join(cachedir, "build"), - Verbose: slog.Default().Enabled(ctx, slog.LevelDebug), + conf := local.Config{ + Opts: local.Opts{ + GoOpts: local.GoOpts{ + Env: map[string]string{"GOWORK": "off"}, + CopyGoEnv: true, + }, + Verbose: slog.Default().Enabled(ctx, slog.LevelDebug), + }, + Catalog: catfile, + StoreDir: filepath.Join(cachedir, "build"), } return local.NewBuildService(ctx, conf) diff --git a/go.mod b/go.mod index bf92824..faa31d3 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.22.4 require ( github.com/adrg/xdg v0.5.3 github.com/grafana/clireadme v0.1.0 - github.com/grafana/k6build v0.4.1 + github.com/grafana/k6build v0.5.0 github.com/grafana/k6deps v0.1.8 github.com/grafana/k6pack v0.2.3 github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 diff --git a/go.sum b/go.sum index 8276f1b..666ffbb 100644 --- a/go.sum +++ b/go.sum @@ -14,8 +14,8 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/grafana/clireadme v0.1.0 h1:KYEYSnYdSzmHf3bufaK6fQZ5j4dzvM/T+G6Ba+qNnAM= github.com/grafana/clireadme v0.1.0/go.mod h1:Wy4KIG2ZBGMYAYyF9l7qAy+yoJVasqk/txsRgoRI3gc= -github.com/grafana/k6build v0.4.1 h1:hxQjV4BU/ahGuwhoQtNtDRSXxttXiwtBd4QkrfXnpsw= -github.com/grafana/k6build v0.4.1/go.mod h1:Ro2Upb8nsMhFTRfHfxByoHCT6vDcv48DtQ65wKdF0KY= +github.com/grafana/k6build v0.5.0 h1:eeq+vcvRbA/DeoRYLhKLXbgESITBh0uyTXYhAjlQ9Bc= +github.com/grafana/k6build v0.5.0/go.mod h1:ATaInvRPNPmM+M6CAgprPBFCIZkn6c2GA8s2KPurbEM= github.com/grafana/k6catalog v0.2.4 h1:P5wdlqz2APGZhe6qinwQCZXe+z/Rm65VQ7zP/djb4Ng= github.com/grafana/k6catalog v0.2.4/go.mod h1:nYzfIw6c3o1CEN1YlbUAkqtzIK2hoNWYF0lfYOk+RPg= github.com/grafana/k6deps v0.1.8 h1:8ZrkAQR8aWQlYPoRlEqbWVHghhGpSHtOQ42fBL++cmo= From 75f110cdde775f71b38cbc5c62b2129034bc33c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20SZKIBA?= Date: Tue, 17 Dec 2024 08:54:46 +0100 Subject: [PATCH 2/2] release notes --- releases/v0.1.12.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 releases/v0.1.12.md diff --git a/releases/v0.1.12.md b/releases/v0.1.12.md new file mode 100644 index 0000000..b6be7b6 --- /dev/null +++ b/releases/v0.1.12.md @@ -0,0 +1,5 @@ +k6exec `v0.1.12` is here 🎉! + +This release includes dependency updates: + +- k6build to [v0.5.0](https://github.com/grafana/k6build/releases/tag/v0.5.0)