Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Revert "Change from prom/prometheust main to latest in e2e"
Browse files Browse the repository at this point in the history
This reverts commit 06507b0.
  • Loading branch information
alejandrodnm committed Sep 12, 2022
1 parent 06507b0 commit 8ad5f95
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions pkg/internal/testhelpers/prometheus_container.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,7 @@ import (
"github.com/testcontainers/testcontainers-go/wait"
)

// FIXME: we had to change from main to latest because the main tag was
// broken and blocked our CI. Whenever a container is started it fails
// with the following error:
//
// Error setting up container Error response from daemon: failed to create shim
// task: OCI runtime create failed: runc create failed: unable to start
// container process: exec: "/bin/prometheus": permission denied: unknown:
// failed to start container
const prometheusImage = "prom/prometheus:latest"
const prometheusImage = "prom/prometheus:main"

// StartPromContainer starts a Prometheus container for use in testing
func StartPromContainer(storagePath string, ctx context.Context) (testcontainers.Container, string, nat.Port, error) {
Expand Down

0 comments on commit 8ad5f95

Please sign in to comment.