Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: create an lb to test out some charts #407

Merged
merged 10 commits into from
Feb 5, 2020
11 changes: 11 additions & 0 deletions test/e2e-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,16 @@ install_certmanager() {
echo
}

install_dummylb() {
echo 'Installing dummylb...'
DUMMYLB_SHA="cb4c17d70e63393f8de7cfa97d186aa06e781b3cd25bfff1f374b9d57159e80f"
DUMMYLB_REG="registry.gitlab.com/joejulian/dummylb"
curl -sL https://gitlab.com/joejulian/dummylb/-/raw/f5c51f24e706cd4c5ebe7e5d36e688d167473f8b/dummylb.yaml |
sed "s%image: $DUMMYLB_REG:latest%image: $DUMMYLB_REG@sha256:$DUMMYLB_SHA%" |
docker_exec kubectl apply -f -
echo
}

main() {
run_ct_container "$1"
shift
Expand All @@ -115,6 +125,7 @@ main() {
create_kind_cluster
install_local-path-provisioner
install_tiller
install_dummylb
install_certmanager

docker_exec ct lint-and-install --upgrade --debug "$@"
Expand Down