blob: 5c7dd072340607047c1aff95189d36836a80cefd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
IMAGE_REPO ?= 10.42.0.1:30000
IMAGE_NAME ?= git-http
IMAGE_TAG ?= latest
IMAGE_SLUG := $(IMAGE_REPO)/$(IMAGE_NAME):$(IMAGE_TAG)
git-container-build: copy-testdata
docker build -t $(IMAGE_SLUG) -f ./containers/git/Dockerfile ./containers/git
git-container-push: git-container-build
docker push $(IMAGE_SLUG)
copy-testdata:
cp -r testdata containers/git
install-prereqs:
kustomize build prereqs/argocd | kubectl -n argocd-image-updater-e2e apply -f -
kubectl apply -n argocd-image-updater-e2e -f prereqs/registry/registry.yaml
kubectl rollout -n argocd-image-updater-e2e status deployment e2e-registry-public
sleep 5
make git-container-push
kubectl apply -n argocd-image-updater-e2e -f prereqs/repo/install.yaml
.PHONY: git-container-build
.PHONY: git-container-push
.PHONY: copy-testdata
|