1
0
mirror of https://github.com/coreos/prometheus-operator.git synced 2026-02-05 06:45:27 +01:00

chore: fix podman commands

Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
This commit is contained in:
Jayapriya Pai
2024-09-25 12:11:54 +05:30
parent 02ffdd7a27
commit 0b2ee45306
2 changed files with 8 additions and 8 deletions

View File

@@ -395,12 +395,12 @@ test-e2e-feature-gates:
.PHONY: test-e2e-images
test-e2e-images: image
ifeq (podman, $(CONTAINER_CLI))
podman save --quiet -o tmp/$(IMAGE_OPERATOR).tar -n $(KIND_CONTEXT) $(KIND_CONTEXT) $(IMAGE_OPERATOR):$(TAG)
podman save --quiet -o tmp/$(IMAGE_RELOADER).tar -n $(KIND_CONTEXT) $(IMAGE_RELOADER):$(TAG)
podman save --quiet -o tmp/$(IMAGE_WEBHOOK).tar -n $(KIND_CONTEXT) $(IMAGE_WEBHOOK):$(TAG)
kind load image-archive -n $(KIND_CONTEXT) tmp/$(IMAGE_OPERATOR).tar
kind load image-archive -n $(KIND_CONTEXT) tmp/$(IMAGE_RELOADER).tar
kind load image-archive -n $(KIND_CONTEXT) tmp/$(IMAGE_WEBHOOK).tar
podman save --quiet -o tmp/prometheus-operator.tar $(IMAGE_OPERATOR):$(TAG)
podman save --quiet -o tmp/prometheus-config-reloader.tar $(IMAGE_RELOADER):$(TAG)
podman save --quiet -o tmp/admission-webhook.tar $(IMAGE_WEBHOOK):$(TAG)
kind load image-archive -n $(KIND_CONTEXT) tmp/prometheus-operator.tar
kind load image-archive -n $(KIND_CONTEXT) tmp/prometheus-config-reloader.tar
kind load image-archive -n $(KIND_CONTEXT) tmp/admission-webhook.tar
else
kind load docker-image -n $(KIND_CONTEXT) $(IMAGE_OPERATOR):$(TAG)
kind load docker-image -n $(KIND_CONTEXT) $(IMAGE_RELOADER):$(TAG)

View File

@@ -74,7 +74,7 @@ To run e2e-tests locally, first start a Kubernetes cluster. We recommend [KinD](
For manual testing, you can use the utility script [scripts/run-external.sh](scripts/run-external.sh), it will check all the requirements and run your local version of the Prometheus Operator on your Kind cluster:
```
```shell
./scripts/run-external.sh -c
```
@@ -106,7 +106,7 @@ CONTAINER_CLI=podman KIND_CONTEXT=e2e make test-e2e-image
To run the automated end-to-end tests, run the following command:
```
```shell
make test-e2e
```