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

Push Docker image #32

Closed
Moon1706 opened this issue Jul 26, 2022 · 9 comments
Closed

Push Docker image #32

Moon1706 opened this issue Jul 26, 2022 · 9 comments
Assignees

Comments

@Moon1706
Copy link

Hi folks! Why don't you want to push your docker images to the official registry? For example, I wanna export the result of K6 testing performance to Prometheus in Keptn and I must write the image name, I can't build it. Now I've upped a fork, but maybe you're gonna use GHA to push image?

@javaducky
Copy link
Contributor

Hi @Moon1706. Because k6 can be extended with multiple extensions, we'd end up having to create so many permutations of images having varying extensions included, so it's easier to just have folks build their own custom images containing all the features they want. We've been including the Dockerfile locally to ease the process of creating your own custom image which could be pushed to their own container registry.

I'll discuss this internally if we want to start pushing images with just this extension. Obviously, anyone wishing to include an additional extension would have the same issue in that they'd have to build the image on their own.

@Moon1706
Copy link
Author

If you do not agree on this issue, you can leave this issue open and people can use my image. It's a matter of trust, but my image is built from the fork of your repository with one additional commit.

@ppcano
Copy link
Contributor

ppcano commented Aug 4, 2022

An official Docker image would also be used for the Keptn integration -> https://github.com/keptn-sandbox/k6-service/

@jainammm
Copy link

jainammm commented Aug 4, 2022

I support this feature request. It'll be good to have an official K6 extension docker image. Users would get more flexibility to run in production systems than always installing xk6 from golang and then building binary and using it in their pipelines. Thanks!

@Moon1706
Copy link
Author

Moon1706 commented Nov 11, 2022

I'm going to continue to use this project, so I've builded images with versions 0.0.4 and 0.0.5 (now latest). I'm planning to support my fork of this project with custom build steps.

PS: I will provide here build updates.

@Moon1706
Copy link
Author

ANNONCE: Docker image 0.0.6 was created.

@Moon1706
Copy link
Author

ANNONCE: Docker image 0.0.7 was created.

@Moon1706
Copy link
Author

Moon1706 commented Dec 15, 2022

ANNONCE: Docker image 0.0.8 was created.

@codebien
Copy link
Contributor

codebien commented Dec 16, 2022

We are releasing a new k6 version the next week that will include this extension as an experimental builtin output so a docker image will finally be available. In the meantime, the grafana/k6:master image already includes it.

@Moon1706 I close this issue but feel free to continue to comment with the new versions if you make more builds. Thanks for the effort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants