Skip to content

Commit

Permalink
chore(tests): using staging metrics endpoint (#95)
Browse files Browse the repository at this point in the history
sending helmvm metrics during github workflows to staging endpoint.
  • Loading branch information
ricardomaraschini authored Oct 5, 2023
1 parent ab69c30 commit ea9be33
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions e2e/scripts/addons-only.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ main() {
fi
}

export HELMVM_METRICS_BASEURL="https://staging.replicated.app"
export KUBECONFIG=/root/.helmvm/etc/kubeconfig
export PATH="$PATH:/root/.helmvm/bin"
main
1 change: 1 addition & 0 deletions e2e/scripts/embed-and-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ main() {
fi
}

export HELMVM_METRICS_BASEURL="https://staging.replicated.app"
export KUBECONFIG=/root/.helmvm/etc/kubeconfig
export PATH=$PATH:/root/.helmvm/bin
main
1 change: 1 addition & 0 deletions e2e/scripts/embedded-preflight.sh
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ main() {
fi
}

export HELMVM_METRICS_BASEURL="https://staging.replicated.app"
export KUBECONFIG=/root/.helmvm/etc/kubeconfig
export PATH=$PATH:/root/.helmvm/bin
main
1 change: 1 addition & 0 deletions e2e/scripts/install-with-disabled-addons.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ main() {
fi
}

export HELMVM_METRICS_BASEURL="https://staging.replicated.app"
export KUBECONFIG=/root/.helmvm/etc/kubeconfig
export PATH=$PATH:/root/.helmvm/bin
main
1 change: 1 addition & 0 deletions e2e/scripts/interactive-multi-node-install.exp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ proc configure_node {address} {
expect "Type one of the options above:" { send "/root/.ssh/id_rsa\r" }
}

set env(HELMVM_METRICS_BASEURL) "https://staging.replicated.app"
set env(HELMVM_PLAIN_PROMPTS) "true"
spawn helmvm install --multi-node
configure_node "10.0.0.2"
Expand Down
1 change: 1 addition & 0 deletions e2e/scripts/multi-node-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ main() {
fi
}

export HELMVM_METRICS_BASEURL="https://staging.replicated.app"
export KUBECONFIG=/root/.helmvm/etc/kubeconfig
export PATH=$PATH:/root/.helmvm/bin
main
1 change: 1 addition & 0 deletions e2e/scripts/single-node-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ main() {
fi
}

export HELMVM_METRICS_BASEURL="https://staging.replicated.app"
export KUBECONFIG=/root/.helmvm/etc/kubeconfig
export PATH=$PATH:/root/.helmvm/bin
main
1 change: 1 addition & 0 deletions e2e/scripts/wait-for-ready-nodes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ main() {
exit 0
}

export HELMVM_METRICS_BASEURL="https://staging.replicated.app"
export KUBECONFIG=/root/.helmvm/etc/kubeconfig
export PATH=$PATH:/root/.helmvm/bin
main "$@"

0 comments on commit ea9be33

Please sign in to comment.