Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release k6 v0.26.1 #1335

Merged
merged 2 commits into from
Feb 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ There are two reasons for this. The first is, of course: performance. If you rea

But there's another, more interesting reason. By forcing all imports and file reads into the init context, we design for distributed execution. We know which files will be needed, so we distribute only those files to each node in the cluster. We know which modules will be imported, so we can bundle them up in an [archive](https://docs.k6.io/docs/archives-for-bundling-sharing-test) from the get-go. And, tying into the performance point above, the other nodes don't even need writable file systems - everything can be kept in-memory.

This means that if your script works when it's executed with `k6 run` locally, it should also work without any modifications in a distributed execution environment like `k6 cloud` (that executes it in the Load Impact cloud infrastructure) or, in the future, with the [planned](https://github.com/loadimpact/k6/wiki/Roadmap) k6 native cluster execution mode.
This means that if your script works when it's executed with `k6 run` locally, it should also work without any modifications in a distributed execution environment like `k6 cloud` (that executes it in the commercial [k6 cloud infrastructure](https://k6.io/cloud)) or, in the future, with the [planned](https://github.com/loadimpact/k6/wiki/Roadmap) k6 native cluster execution mode.

### Script execution

Expand Down
2 changes: 1 addition & 1 deletion cmd/login_cloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ This will set the default token used when just "k6 run -o cloud" is passed.`,
}

if res.Token == "" {
return errors.New(`Your account has no API token, please generate one: "https://app.loadimpact.com/account/token".`)
return errors.New(`your account has no API token, please generate one at https://app.k6.io/account/api-token`)
}

newCloudConf.Token = null.StringFrom(res.Token)
Expand Down
2 changes: 1 addition & 1 deletion cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ a commandline interface for interacting with it.`,
// If the user hasn't opted out: report usage.
if !conf.NoUsageReport.Bool {
go func() {
u := "http://k6reports.loadimpact.com/"
u := "https://reports.k6.io/"
mime := "application/json"
var endTSeconds float64
if endT := engine.Executor.GetEndTime(); endT.Valid {
Expand Down
2 changes: 1 addition & 1 deletion lib/consts/consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
)

// Version contains the current semantic version of k6.
var Version = "0.26.0" //nolint:gochecknoglobals
var Version = "0.26.1" //nolint:gochecknoglobals

// VersionDetails can be set externally as part of the build process
var VersionDetails = "" // nolint:gochecknoglobals
Expand Down
12 changes: 12 additions & 0 deletions release notes/v0.26.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
k6 v0.26.1 is here! This is a minor release that supports the rebranding of LoadImpact to k6, the new [k6.io website](https://k6.io/), and the new [k6 cloud service](https://k6.io/cloud)! :tada:

In practical terms, all that it means for k6 is that the URLs for cloud tests will point to https://app.k6.io, instead of https://app.loadimpact.com. The old URLs (and old k6 versions) will still continue to work - for the next 3 months the old app and the new one would work in parallel, and after that period the old app will redirect to the new one. Nothing changes in regards to the k6 open source project and our commitment to it!

You can find more information about the rebranding in our blog post about it: https://k6.io/blog/load-impact-rebranding-to-k6

# Changes in this release compared to v0.26.0:

* Fix how HTTP request timeouts are specified internally. This is not a bug in current k6 releases, it only affects k6 if it is compiled with Go 1.14, which at this time is still not officially released. (#1261)
* Improve the official docker image to use an unprivileged user. Thanks, @funkypenguin! (#1314)
* Fix the unintentional sharing of `__ENV` between VUs, which could result in data races and crashes of k6. (#1329)
* Update cloud URLs to point to https://app.k6.io instead of https://app.loadimpact.com. (#1335)
4 changes: 2 additions & 2 deletions stats/cloud/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ type Config struct {
// NewConfig creates a new Config instance with default values for some fields.
func NewConfig() Config {
return Config{
Host: null.NewString("https://ingest.loadimpact.com", false),
WebAppURL: null.NewString("https://app.loadimpact.com", false),
Host: null.NewString("https://ingest.k6.io", false),
WebAppURL: null.NewString("https://app.k6.io", false),
MetricPushInterval: types.NewNullDuration(1*time.Second, false),
MaxMetricSamplesPerPackage: null.NewInt(100000, false),
// Aggregation is disabled by default, since AggregationPeriod has no default value
Expand Down
2 changes: 1 addition & 1 deletion stats/cloud/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ func URLForResults(refID string, config Config) string {
if config.Token.String == "" {
path = "anonymous"
}
return fmt.Sprintf("%s/k6/%s/%s", config.WebAppURL.String, path, refID)
return fmt.Sprintf("%s/%s/%s", config.WebAppURL.String, path, refID)
}