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

feat: fetch precompiled xk6 extension from grafana/xk6-sm #966

Merged
merged 8 commits into from
Jan 23, 2025
Merged

Conversation

nadiamoe
Copy link
Member

@nadiamoe nadiamoe commented Oct 30, 2024

This PR removes the sm extension code from this repo and adjust Makefiles and Dockerfiles to pull k6 from https://github.com/grafana/xk6-sm.

A bullet-point summary

  • $(DISTDIR)/$(OS)-$(ARCH)/sm-k6 targets have been added to curl k6 from grafana/xk6-sm releases
    • sm-k6-native is a convenient alias for the host's OS/ARCH, while sm-k6 downloads sm-k6 for all known architectures
  • No dependencies have been added to test or package targets. They can be, but as the package target does not depend on build, I followed that pattern.
    • Instead, make sm-k6 is manually invoked in the pipeline.
  • I've bothered to make goreleaser work with this, just to have drone not fail while we get to remove it. For that, the build target needs to depend on sm-k6-native. If we decide to not keep dependencies, we can remove this when we ditch goreleaser (details on why this was needed are on a comment).

Part of https://github.com/grafana/synthetic-monitoring/issues/160

@nadiamoe nadiamoe force-pushed the xk6-sm-repo branch 5 times, most recently from 22c0782 to b932ad2 Compare October 30, 2024 10:47
@nadiamoe nadiamoe force-pushed the xk6-sm-repo branch 14 times, most recently from a87160d to 26f8d91 Compare November 12, 2024 17:55
@nadiamoe nadiamoe marked this pull request as ready for review November 13, 2024 09:52
@nadiamoe nadiamoe requested a review from a team as a code owner November 13, 2024 09:52
@nadiamoe nadiamoe changed the title wip: fetch precompiled xk6 extension from grafana/xk6-sm fetch precompiled xk6 extension from grafana/xk6-sm Nov 13, 2024
@nadiamoe
Copy link
Member Author

Drone CI fails as it is going to be decommissioned soon, and agreed with @mem that it is not worth maintaining.

@mem
Copy link
Contributor

mem commented Dec 11, 2024

@roobre rebase, please?

@nadiamoe
Copy link
Member Author

@mem Rebased!

@nadiamoe nadiamoe changed the title fetch precompiled xk6 extension from grafana/xk6-sm feat:fetch precompiled xk6 extension from grafana/xk6-sm Dec 12, 2024
@nadiamoe nadiamoe changed the title feat:fetch precompiled xk6 extension from grafana/xk6-sm feat: fetch precompiled xk6 extension from grafana/xk6-sm Dec 12, 2024
@nadiamoe nadiamoe changed the title feat: fetch precompiled xk6 extension from grafana/xk6-sm ⚠️ Do not merge ⚠️ feat: fetch precompiled xk6 extension from grafana/xk6-sm Dec 17, 2024
@nadiamoe
Copy link
Member Author

⚠️ There is a bug in xk6-sm that breaks browser metrics. We should change this PR to point to the last known good release of xk6-sm before merging.

@nadiamoe nadiamoe changed the title ⚠️ Do not merge ⚠️ feat: fetch precompiled xk6 extension from grafana/xk6-sm feat: fetch precompiled xk6 extension from grafana/xk6-sm Jan 21, 2025
@nadiamoe nadiamoe merged commit 0a57fad into main Jan 23, 2025
6 checks passed
@nadiamoe nadiamoe deleted the xk6-sm-repo branch January 23, 2025 14:34
@sm-release-app sm-release-app bot mentioned this pull request Jan 23, 2025
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

Successfully merging this pull request may close these issues.

2 participants