<commit_before>REGISTRY?=luxas
ARCH?=amd64
ALL_ARCH=amd64 arm arm64
ML_PLATFORMS=linux/amd64,linux/arm,linux/arm64

GCR_REGISTRY?=gcr.io/google_containers
HEAPSTER_VERSION?=v1.3.0
GRAFANA_VERSION?=v4.0.2
INFLUXDB_VERSION?=v1.1.1
DASHBOARD_VERSION?=v1.6.0
ETCD_VERSION?=3.0.17
#PROXY_VERSION?=$(shell curl -sSL dl.k8s.io/release/latest.txt)

tag-%:
	docker pull $(GCR_REGISTRY)/$*
	docker tag $(GCR_REGISTRY)/$* $(REGISTRY)/$*
	docker push $(REGISTRY)/$*

push-%:
	$(MAKE) tag-heapster-$*:$(HEAPSTER_VERSION)
#	$(MAKE) tag-heapster-grafana-$*:$(GRAFANA_VERSION)
#	$(MAKE) tag-heapster-influxdb-$*:$(INFLUXDB_VERSION)
	$(MAKE) tag-kubernetes-dashboard-$*:$(DASHBOARD_VERSION)
	$(MAKE) tag-etcd-$*:$(ETCD_VERSION)
#	$(MAKE) tag-kube-proxy-$*:$(PROXY_VERSION)

push: ./manifest-tool $(addprefix push-,$(ALL_ARCH))
	./manifest-tool push from-args --platforms $(ML_PLATFORMS) --template $(REGISTRY)/heapster-ARCH:$(HEAPSTER_VERSION) --target $(REGISTRY)/heapster:$(HEAPSTER_VERSION)
#	./manifest-tool push from-args --platforms $(ML_PLATFORMS) --template $(REGISTRY)/heapster-grafana-ARCH:$(GRAFANA_VERSION) --target $(REGISTRY)/heapster-grafana:$(GRAFANA_VERSION)
#	./manifest-tool push from-args --platforms $(ML_PLATFORMS) --template $(REGISTRY)/heapster-influxdb-ARCH:$(INFLUXDB_VERSION) --target $(REGISTRY)/heapster-influxdb:$(INFLUXDB_VERSION)
	./manifest-tool push from-args --platforms $(ML_PLATFORMS) --template $(REGISTRY)/kubernetes-dashboard-ARCH:$(DASHBOARD_VERSION) --target $(REGISTRY)/kubernetes-dashboard:$(DASHBOARD_VERSION)
	./manifest-tool push from-args --platforms $(ML_PLATFORMS) --template $(REGISTRY)/etcd-ARCH:$(ETCD_VERSION) --target $(REGISTRY)/etcd:$(ETCD_VERSION)
#	./manifest-tool push from-args --platforms $(ML_PLATFORMS) --template $(REGISTRY)/kube-proxy-ARCH:$(PROXY_VERSION) --target $(REGISTRY)/kube-proxy:$(PROXY_VERSION)

./manifest-tool:
	curl -sSL https://github.com/estesp/manifest-tool/releases/download/v0.4.0/manifest-tool-linux-amd64 > manifest-tool
	chmod +x manifest-tool<commit_msg>Remove some comments from the manifest list Makefile<commit_after>REGISTRY?=luxas
ARCH?=amd64
ALL_ARCH=amd64 arm arm64
ML_PLATFORMS=linux/amd64,linux/arm,linux/arm64

GCR_REGISTRY?=gcr.io/google_containers
HEAPSTER_VERSION?=v1.3.0
GRAFANA_VERSION?=v4.0.2
INFLUXDB_VERSION?=v1.1.1
DASHBOARD_VERSION?=v1.6.0
ETCD_VERSION?=3.0.17
PROXY_VERSION?=$(shell curl -sSL dl.k8s.io/release/latest.txt)

tag-%:
	docker pull $(GCR_REGISTRY)/$*
	docker tag $(GCR_REGISTRY)/$* $(REGISTRY)/$*
	docker push $(REGISTRY)/$*

push-%:
	$(MAKE) tag-heapster-$*:$(HEAPSTER_VERSION)
	$(MAKE) tag-heapster-grafana-$*:$(GRAFANA_VERSION)
	$(MAKE) tag-heapster-influxdb-$*:$(INFLUXDB_VERSION)
	$(MAKE) tag-kubernetes-dashboard-$*:$(DASHBOARD_VERSION)
	$(MAKE) tag-etcd-$*:$(ETCD_VERSION)
	$(MAKE) tag-kube-proxy-$*:$(PROXY_VERSION)

push: ./manifest-tool $(addprefix push-,$(ALL_ARCH))
	./manifest-tool push from-args --platforms $(ML_PLATFORMS) --template $(REGISTRY)/heapster-ARCH:$(HEAPSTER_VERSION) --target $(REGISTRY)/heapster:$(HEAPSTER_VERSION)
	./manifest-tool push from-args --platforms $(ML_PLATFORMS) --template $(REGISTRY)/heapster-grafana-ARCH:$(GRAFANA_VERSION) --target $(REGISTRY)/heapster-grafana:$(GRAFANA_VERSION)
	./manifest-tool push from-args --platforms $(ML_PLATFORMS) --template $(REGISTRY)/heapster-influxdb-ARCH:$(INFLUXDB_VERSION) --target $(REGISTRY)/heapster-influxdb:$(INFLUXDB_VERSION)
	./manifest-tool push from-args --platforms $(ML_PLATFORMS) --template $(REGISTRY)/kubernetes-dashboard-ARCH:$(DASHBOARD_VERSION) --target $(REGISTRY)/kubernetes-dashboard:$(DASHBOARD_VERSION)
	./manifest-tool push from-args --platforms $(ML_PLATFORMS) --template $(REGISTRY)/etcd-ARCH:$(ETCD_VERSION) --target $(REGISTRY)/etcd:$(ETCD_VERSION)
	./manifest-tool push from-args --platforms $(ML_PLATFORMS) --template $(REGISTRY)/kube-proxy-ARCH:$(PROXY_VERSION) --target $(REGISTRY)/kube-proxy:$(PROXY_VERSION)

./manifest-tool:
	curl -sSL https://github.com/estesp/manifest-tool/releases/download/v0.4.0/manifest-tool-linux-amd64 > manifest-tool
	chmod +x manifest-tool
{'fraction_non_alphanumeric': 0.1848677766895201, 'fraction_numerical': 0.015670910871694418, 'mean_word_length': 6.141608391608392, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2124223', 'n_tokens_mistral': 1698, 'n_tokens_neox': 1601, 'n_words': 218}