Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion scripts/dev/contexts/root-context
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ export OPS_MANAGER_NAMESPACE="operator-testing-50-current"
export LOCAL_RUN=true

if [[ "${OVERRIDE_VERSION_ID:-}" != "" ]]; then
echo "Overriding operator related versions with ${OVERRIDE_VERSION_ID}"
OPERATOR_VERSION="${OVERRIDE_VERSION_ID}"
READINESS_PROBE_VERSION="${OVERRIDE_VERSION_ID}"
VERSION_UPGRADE_HOOK_VERSION="${OVERRIDE_VERSION_ID}"
Expand Down
4 changes: 2 additions & 2 deletions scripts/dev/evg_host.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ fi
kubeconfig_path="${HOME}/.operator-dev/evg-host.kubeconfig"

configure() {
shift 1
shift || true
auto_recreate="false"

# Parse arguments
Expand All @@ -64,7 +64,7 @@ configure() {
jq '. | with_entries(select(.key == "auths"))' "${HOME}/.docker/config.json" | ssh -T -q "${host_url}" 'cat > /home/ubuntu/.docker/config.json'
fi

sync
sync | prepend "sync"

ssh -T -q "${host_url}" "cd ~/mongodb-kubernetes; scripts/dev/switch_context.sh root-context; scripts/dev/setup_evg_host.sh ${auto_recreate}"
}
Expand Down
11 changes: 6 additions & 5 deletions scripts/dev/setup_evg_host.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
set -Eeou pipefail

source scripts/funcs/install
source scripts/funcs/printing

set_limits() {
echo "Increasing fs.inotify.max_user_instances"
Expand Down Expand Up @@ -61,14 +62,14 @@ download_helm() {
rm -rf linux-"${ARCH}/"
}

set_limits
download_kind &
download_kubectl &
download_helm &
set_limits | prepend "set_limits"
download_kind | prepend "download_kind" &
download_kubectl | prepend "download_kubectl" &
download_helm | prepend "download_helm" &

AUTO_RECREATE=${1:-false}
if [[ "${AUTO_RECREATE}" == "true" ]]; then
set_auto_recreate &
set_auto_recreate | prepend "set_auto_recreate" &
fi

wait