Skip to content

feat(mixin): Add zipped dashboards as a release artifact#5603

Merged
jharvey10 merged 4 commits intomainfrom
cursor/mixin-dashboards-release-artifact-9c93
Feb 23, 2026
Merged

feat(mixin): Add zipped dashboards as a release artifact#5603
jharvey10 merged 4 commits intomainfrom
cursor/mixin-dashboards-release-artifact-9c93

Conversation

@thampiotr
Copy link
Contributor

@thampiotr thampiotr commented Feb 19, 2026

Brief description of Pull Request

release: publish rendered mixin dashboards as release asset

Pull Request Details

This PR configures GitHub Actions to publish the rendered mixin dashboards from operations/alloy-mixin/rendered/dashboards/ as a zip archive in GitHub releases. Previously, these dashboards were only available in the source code. This change makes them easily downloadable as a release artifact, allowing users to fetch them all when importing to Grafana.

The tools/publish-release-artifacts.sh script is updated to create dist/alloy-mixin-dashboards-${RELEASE_TAG}.zip which is then automatically included in existing GitHub releases via .github/workflows/release-publish-alloy-artifacts.yml.

Issue(s) fixed by this Pull Request

Related #5074

PR Checklist

  • Documentation added
  • Tests updated
  • Config converters updated

@cursor
Copy link

cursor bot commented Feb 19, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@CLAassistant
Copy link

CLAassistant commented Feb 19, 2026

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds functionality to package and publish the rendered Alloy mixin dashboards as a GitHub release artifact. The dashboards from operations/alloy-mixin/rendered/dashboards/ will now be automatically bundled into a zip file and uploaded to GitHub releases, making them easier for users to download and import into Grafana.

Changes:

  • Updated tools/publish-release-artifacts.sh to create a zip archive of rendered mixin dashboards
  • Added error handling to verify dashboards directory exists and contains JSON files
  • Modified binary zipping step to exclude already-zipped files to prevent re-zipping

Co-authored-by: Piotr <thampiotr@users.noreply.github.com>
@cursor cursor bot force-pushed the cursor/mixin-dashboards-release-artifact-9c93 branch from 5056900 to a4e3dac Compare February 19, 2026 14:22
@thampiotr thampiotr changed the title Mixin dashboards release artifact feat(mixin): Add zipped dashboards as a release artifact Feb 19, 2026
@thampiotr thampiotr marked this pull request as ready for review February 19, 2026 14:47
@thampiotr thampiotr requested a review from a team as a code owner February 19, 2026 14:47
@thampiotr thampiotr enabled auto-merge (squash) February 20, 2026 10:55
Co-authored-by: Piotr <thampiotr@users.noreply.github.com>
@github-actions

This comment has been minimized.

Co-authored-by: Piotr <thampiotr@users.noreply.github.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 6 comments.

@thampiotr thampiotr marked this pull request as draft February 23, 2026 16:51
auto-merge was automatically disabled February 23, 2026 16:51

Pull request was converted to draft

Co-authored-by: Piotr <thampiotr@users.noreply.github.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.

@thampiotr thampiotr marked this pull request as ready for review February 23, 2026 17:18
Copy link
Contributor

@jharvey10 jharvey10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@jharvey10 jharvey10 added the backport/v1.13 Backport to release/v1.13 label Feb 23, 2026
@jharvey10 jharvey10 merged commit 34f79f6 into main Feb 23, 2026
57 of 58 checks passed
@jharvey10 jharvey10 deleted the cursor/mixin-dashboards-release-artifact-9c93 branch February 23, 2026 19:04
@grafana-alloybot grafana-alloybot bot mentioned this pull request Feb 23, 2026
grafana-alloybot bot pushed a commit that referenced this pull request Feb 23, 2026
This PR configures GitHub Actions to publish the rendered mixin
dashboards from `operations/alloy-mixin/rendered/dashboards/` as a zip
archive in GitHub releases. Previously, these dashboards were only
available in the source code. This change makes them easily downloadable
as a release artifact, allowing users to fetch them all when importing
to Grafana.

### Issue(s) fixed by this Pull Request

Related #5074

Co-authored-by: Piotr <thampiotr@users.noreply.github.com>
(cherry picked from commit 34f79f6)
jharvey10 pushed a commit that referenced this pull request Feb 23, 2026
…5625)

## Backport of #5603

This PR backports #5603 to release/v1.13.

### Original PR Author
@thampiotr

### Description
### Brief description of Pull Request

release: publish rendered mixin dashboards as release asset

### Pull Request Details

This PR configures GitHub Actions to publish the rendered mixin
dashboards from `operations/alloy-mixin/rendered/dashboards/` as a zip
archive in GitHub releases. Previously, these dashboards were only
available in the source code. This change makes them easily downloadable
as a release artifact, allowing users to fetch them all when importing
to Grafana.

Related #5074 

---
*This backport was created automatically.*

Co-authored-by: Piotr <17101802+thampiotr@users.noreply.github.com>
Co-authored-by: Piotr <thampiotr@users.noreply.github.com>
jharvey10 pushed a commit that referenced this pull request Feb 26, 2026
This PR configures GitHub Actions to publish the rendered mixin
dashboards from `operations/alloy-mixin/rendered/dashboards/` as a zip
archive in GitHub releases. Previously, these dashboards were only
available in the source code. This change makes them easily downloadable
as a release artifact, allowing users to fetch them all when importing
to Grafana.

### Issue(s) fixed by this Pull Request

Related #5074 

Co-authored-by: Piotr <thampiotr@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/v1.13 Backport to release/v1.13

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants