Skip to content

build(test-infra): pin prometheus and grafana image tags - #680

Open
varex83agent wants to merge 1 commit into
mainfrom
fix/issue-90-pin-example-image-tags
Open

build(test-infra): pin prometheus and grafana image tags#680
varex83agent wants to merge 1 commit into
mainfrom
fix/issue-90-pin-example-image-tags

Conversation

@varex83agent

Copy link
Copy Markdown
Collaborator

Closes #90.

Pins the previously floating prom/prometheus:latest and grafana/grafana:latest container images to explicit release tags in the test-infra compose files, so the observability stack is reproducible. Addresses the review note from charon-rs#82 to pin all dependencies even in examples.

Co-Authored-By: Bohdan Ohorodnii 35969035+varex83@users.noreply.github.com

Closes #90.

Co-Authored-By: Bohdan Ohorodnii <35969035+varex83@users.noreply.github.com>

@emlautarom1 emlautarom1 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We should also pin all dependencies listed in test-infra:

  • Nethermind
  • Lighthouse
  • Teku

among other minor tools (ex. curl). These will most likely not be affected by #597 so we can work on them now.


prometheus:
image: prom/prometheus:latest
image: prom/prometheus:v3.14.0

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I'd suggest using the same versions as the ones pinned in the smoke tests:

image: prom/prometheus:${PROMETHEUS_VERSION:-v2.50.1}

image: grafana/grafana:${GRAFANA_VERSION:-10.4.2}

This way whenever we reference "Prometheus" or "Grafana" we're always talking about the same versions. This is specially true since the versions used there and the ones proposed in this PR differ on major.

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.

Fix dependencies in the tracing example

3 participants