-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Deprecate loadimpact docker image #3121
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
ca27b28
Add an entrypoint script that displays deprecation banner
andrewslotin a3a8a82
Build loadimpact/k6 image from grafana/k6
andrewslotin d56d054
Separate building of loadimpact/k6 image from grafana/k6
andrewslotin faeb62f
Support multi-platform images for loadimpact/k6
andrewslotin 456440f
Consistent naming for Docker image publish steps
andrewslotin 6d151e7
Use username instead of GID in the Dockerfile
andrewslotin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/sh | ||
|
||
cat >&2 <<-EOF | ||
+------------------------------------------------------------------------------+ | ||
| WARNING: The loadimpact/k6 Docker image has been replaced by grafana/k6. | | ||
| THIS IMAGE IS DEPRECATED and its support will be discontinued after | | ||
| Dec 31, 2023. Please update your scripts to use grafana/k6 to | | ||
| continue using the latest version of k6. | | ||
+------------------------------------------------------------------------------+ | ||
|
||
EOF | ||
|
||
/usr/bin/k6 "$@" |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a good timeframe 👍
The idea is that by "discontinued" we mean that we will stop pushing new k6 releases to it, but it will still work with this warning. And some time after that (6 months?) we would push the
exit 1
change, and a bit more after that (another 6 months?) we would delete theloadimpact
namespace altogether.Is this mostly the plan, pending timeframe agreements?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe we can decide on how much do we want to push users to upgrade later. Personally I become more and more reluctant to adding
exit 1
. Not publishing new releases to theloadimpact
org might be good enough.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exit 1
is part of making a gradual change. The first step is this deprecation warning; the next step is to stop pushing toloadimpact/k6
; then some time after that we push a final image to make k6 tests start failing withexit 1
so that users will actually notice the warning; and the final step is removing theloadimpact
org, where CI builds would fail much earlier.I suppose there's no harm in letting old images of k6 there forever, but we do want users to upgrade to new versions, and since Load Impact is not an entity anymore, there's no sense in keeping the org around. This way we avoid some Docker Inc. manager deciding again that maybe OSS projects should start paying for the data and traffic 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe once the EOL date has passed, we can retire
loadimpact
anytime should such decision be made.