Skip to content

Commit

Permalink
Use kube-prometheus directly from main branch instead of released ver…
Browse files Browse the repository at this point in the history
…sion
  • Loading branch information
thegridman committed Jun 27, 2024
1 parent 6f6a213 commit 24c6bbc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ TEST_SSL_SECRET := coherence-ssl-secret
# ----------------------------------------------------------------------------------------------------------------------
# Prometheus Operator settings (used in integration tests)
# ----------------------------------------------------------------------------------------------------------------------
PROMETHEUS_VERSION ?= v0.13.0
PROMETHEUS_VERSION ?= main
PROMETHEUS_HOME = $(TOOLS_DIRECTORY)/prometheus/$(PROMETHEUS_VERSION)
PROMETHEUS_NAMESPACE ?= monitoring
PROMETHEUS_ADAPTER_VERSION ?= 2.5.0
Expand Down Expand Up @@ -1679,15 +1679,18 @@ $(TOOLS_BIN)/minikube:
ifeq (Darwin, $(UNAME_S))
ifeq (x86_64, $(UNAME_M))
curl -LOs https://storage.googleapis.com/minikube/releases/$(MINIKUBE_VERSION)/minikube-darwin-amd64
mkdir -p $(TOOLS_BIN)/minikube || true
install minikube-darwin-amd64 $(TOOLS_BIN)/minikube
rm minikube-darwin-amd64
else
curl -LOs https://storage.googleapis.com/minikube/releases/$(MINIKUBE_VERSION)/minikube-darwin-arm64
mkdir -p $(TOOLS_BIN)/minikube || true
install minikube-darwin-arm64 $(TOOLS_BIN)/minikube
rm minikube-darwin-arm64
endif
else
curl -LOs https://storage.googleapis.com/minikube/releases/$(MINIKUBE_VERSION)/minikube-linux-amd64
mkdir -p $(TOOLS_BIN)/minikube || true
install minikube-linux-amd64 $(TOOLS_BIN)/minikube
rm minikube-linux-amd64
endif
Expand Down Expand Up @@ -2025,7 +2028,8 @@ push-release-images: push-operator-image tanzu-repo
get-prometheus: $(PROMETHEUS_HOME)/$(PROMETHEUS_VERSION).txt ## Download Prometheus Operator kube-prometheus

$(PROMETHEUS_HOME)/$(PROMETHEUS_VERSION).txt: $(BUILD_PROPS)
curl -sL https://github.com/prometheus-operator/kube-prometheus/archive/refs/tags/$(PROMETHEUS_VERSION).tar.gz -o $(BUILD_OUTPUT)/prometheus.tar.gz --header $(GH_AUTH)
#curl -sL https://github.com/prometheus-operator/kube-prometheus/archive/refs/tags/$(PROMETHEUS_VERSION).tar.gz -o $(BUILD_OUTPUT)/prometheus.tar.gz --header $(GH_AUTH)
curl -sL https://github.com/prometheus-operator/kube-prometheus/archive/main.zip -o $(BUILD_OUTPUT)/prometheus.tar.gz --header $(GH_AUTH)
mkdir -p $(PROMETHEUS_HOME)
tar -zxf $(BUILD_OUTPUT)/prometheus.tar.gz --directory $(PROMETHEUS_HOME) --strip-components=1
rm $(BUILD_OUTPUT)/prometheus.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<version.plugin.exec>3.0.0</version.plugin.exec>
<version.plugin.helidon-build-tools>2.0.0-M3</version.plugin.helidon-build-tools>
<version.plugin.javadoc>3.1.1</version.plugin.javadoc>
<version.plugin.jib>3.4.3</version.plugin.jib>
<version.plugin.jib>3.4.2</version.plugin.jib>
<version.plugin.maven.assembly>3.1.1</version.plugin.maven.assembly>
<version.plugin.maven.compiler>3.7.0</version.plugin.maven.compiler>
<version.plugin.maven.dependency>3.2.0</version.plugin.maven.dependency>
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/helper/port_forward.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func (f *PortForwarder) Start() error {
if err = f.forwarder.ForwardPorts(); err != nil { // Locks until stopChan is closed.
pfError = err
fmt.Println(err)
close(readyChan)
//close(readyChan)
}
}()

Expand Down

0 comments on commit 24c6bbc

Please sign in to comment.