Skip to content

Package and ship frontend independently - #2893

Merged
simonpasquier merged 1 commit into
prometheus:mainfrom
roidelapluie:packagefe
Apr 22, 2022
Merged

simonpasquier merged 1 commit into
prometheus:mainfrom
roidelapluie:packagefe

Conversation

@roidelapluie

Copy link
Copy Markdown
Member

Enable frontend consumption by downstreams, like debian and nixos

Signed-off-by: Julien Pivotto [email protected]

Enable frontend consumption by downstreams, like debian and nixos

Signed-off-by: Julien Pivotto <[email protected]>
@roidelapluie roidelapluie changed the title Package and ship frontend independenlty Package and ship frontend independently Apr 22, 2022

@simonpasquier simonpasquier left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm

@simonpasquier
simonpasquier merged commit 74ebd3d into prometheus:main Apr 22, 2022
SoloJacobs added a commit to SoloJacobs/alertmanager that referenced this pull request Feb 20, 2026
The original commit made `alertmanager-web-ui-{version}.tar.gz`
available as a release artefact for downstream consumption, see
prometheus#2893

However, we stopped shipping this with the removal of the circle CI, as
can been seen by comparing:
https://github.com/prometheus/alertmanager/releases/download/v0.28.1/alertmanager-web-ui-0.28.1.tar.gz
and
https://github.com/prometheus/alertmanager/releases/tag/v0.29.0

So, this code can be removed without any effect. Because we are moving
to `//go:embed`, it is not helpful to fix this issue.

Signed-off-by: Solomon Jacobs <[email protected]>
@SoloJacobs SoloJacobs mentioned this pull request Feb 20, 2026
2 of 10 tasks
SoloJacobs added a commit that referenced this pull request Feb 22, 2026
The original commit made `alertmanager-web-ui-{version}.tar.gz`
available as a release artefact for downstream consumption, see
#2893

However, we stopped shipping this with the removal of the circle CI, as
can been seen by comparing:
https://github.com/prometheus/alertmanager/releases/download/v0.28.1/alertmanager-web-ui-0.28.1.tar.gz
and
https://github.com/prometheus/alertmanager/releases/tag/v0.29.0

So, this code can be removed without any effect. Because we are moving
to `//go:embed`, it is not helpful to fix this issue.

Signed-off-by: Solomon Jacobs <[email protected]>
SoloJacobs added a commit that referenced this pull request Feb 22, 2026
* Makefile: remove `assets-tarball`

The original commit made `alertmanager-web-ui-{version}.tar.gz`
available as a release artefact for downstream consumption, see
#2893

However, we stopped shipping this with the removal of the circle CI, as
can been seen by comparing:
https://github.com/prometheus/alertmanager/releases/download/v0.28.1/alertmanager-web-ui-0.28.1.tar.gz
and
https://github.com/prometheus/alertmanager/releases/tag/v0.29.0

So, this code can be removed without any effect. Because we are moving
to `//go:embed`, it is not helpful to fix this issue.

Signed-off-by: Solomon Jacobs <[email protected]>

* fix (ui): Use single `FileServer`

Previously, we spawned one `FileServer` per `GET` request. That is not
necessary, and the commit introducing this behaviour was a refactoring
commit: 3558e6f

Performance improvement here should be immaterial.

Signed-off-by: Solomon Jacobs <[email protected]>

---------

Signed-off-by: Solomon Jacobs <[email protected]>
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