mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-07 14:05:50 +00:00
use us-west1-a for instances because us-west1-b doesn't have arm64
This commit is contained in:
@@ -240,7 +240,7 @@ gke | aks | eks)
|
||||
log_note "KUBECONFIG='$KUBECONFIG' TEST_ENV_PATH='/tmp/integration-test-env' SOURCE_PATH='$pinniped_repo' $ROOT/pipelines/shared-tasks/run-integration-tests/task.sh"
|
||||
;;
|
||||
kind)
|
||||
log_note "KUBECONFIG='$KUBECONFIG' TEST_ENV_PATH='/tmp/integration-test-env' SOURCE_PATH='$pinniped_repo' START_GCLOUD_PROXY=yes GCP_PROJECT=$PINNIPED_GCP_PROJECT GCP_ZONE=us-west1-b $ROOT/pipelines/shared-tasks/run-integration-tests/task.sh"
|
||||
log_note "KUBECONFIG='$KUBECONFIG' TEST_ENV_PATH='/tmp/integration-test-env' SOURCE_PATH='$pinniped_repo' START_GCLOUD_PROXY=yes GCP_PROJECT=$PINNIPED_GCP_PROJECT GCP_ZONE=us-west1-a $ROOT/pipelines/shared-tasks/run-integration-tests/task.sh"
|
||||
;;
|
||||
*)
|
||||
log_error "Huh? Should never get here."
|
||||
|
||||
@@ -13,7 +13,7 @@ fi
|
||||
instance_name="${REMOTE_INSTANCE_NAME:-${USER}}"
|
||||
instance_user="${REMOTE_INSTANCE_USERNAME:-${USER}}"
|
||||
project="$PINNIPED_GCP_PROJECT"
|
||||
zone="us-west1-b"
|
||||
zone="us-west1-a"
|
||||
here="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
# Create a VM called $instance_name with some reasonable compute power and disk.
|
||||
|
||||
@@ -12,7 +12,7 @@ fi
|
||||
|
||||
instance_name="${REMOTE_INSTANCE_NAME:-${USER}}"
|
||||
project="$PINNIPED_GCP_PROJECT"
|
||||
zone="us-west1-b"
|
||||
zone="us-west1-a"
|
||||
|
||||
# Delete the instance forever. Will prompt for confirmation.
|
||||
echo "Destroying VM $instance_name..."
|
||||
|
||||
@@ -19,7 +19,7 @@ dest_dir="./workspace/pinniped"
|
||||
instance_name="${REMOTE_INSTANCE_NAME:-${USER}}"
|
||||
instance_user="${REMOTE_INSTANCE_USERNAME:-${USER}}"
|
||||
project="$PINNIPED_GCP_PROJECT"
|
||||
zone="us-west1-b"
|
||||
zone="us-west1-a"
|
||||
config_file="/tmp/gcp-ssh-config"
|
||||
here="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ dest_dir="./workspace"
|
||||
instance_name="${REMOTE_INSTANCE_NAME:-${USER}}"
|
||||
instance_user="${REMOTE_INSTANCE_USERNAME:-${USER}}"
|
||||
project="$PINNIPED_GCP_PROJECT"
|
||||
zone="us-west1-b"
|
||||
zone="us-west1-a"
|
||||
config_file="/tmp/gcp-ssh-config"
|
||||
here="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ fi
|
||||
instance_name="${REMOTE_INSTANCE_NAME:-${USER}}"
|
||||
instance_user="${REMOTE_INSTANCE_USERNAME:-${USER}}"
|
||||
project="$PINNIPED_GCP_PROJECT"
|
||||
zone="us-west1-b"
|
||||
zone="us-west1-a"
|
||||
|
||||
# Run ssh with identities forwarded so you can use them with git on the remote host.
|
||||
# Optionally run an arbitrary command on the remote host.
|
||||
|
||||
@@ -12,7 +12,7 @@ fi
|
||||
|
||||
instance_name="${REMOTE_INSTANCE_NAME:-${USER}}"
|
||||
project="$PINNIPED_GCP_PROJECT"
|
||||
zone="us-west1-b"
|
||||
zone="us-west1-a"
|
||||
|
||||
# Start an instance which was previously stopped to save money.
|
||||
echo "Starting VM $instance_name..."
|
||||
|
||||
@@ -12,7 +12,7 @@ fi
|
||||
|
||||
instance_name="${REMOTE_INSTANCE_NAME:-${USER}}"
|
||||
project="$PINNIPED_GCP_PROJECT"
|
||||
zone="us-west1-b"
|
||||
zone="us-west1-a"
|
||||
|
||||
# Stop the instance, to save money, in a way that it can be restarted.
|
||||
echo "Stopping VM $instance_name..."
|
||||
|
||||
@@ -16,7 +16,7 @@ meta:
|
||||
|
||||
# GCP account info and which zone the workers should be created in and deleted from.
|
||||
gcp_account_params: &gcp_account_params
|
||||
INSTANCE_ZONE: us-west1-b
|
||||
INSTANCE_ZONE: us-west1-a
|
||||
GCP_PROJECT: ((gcp-project-name))
|
||||
GCP_USERNAME: ((gcp-instance-admin-username))
|
||||
GCP_JSON_KEY: ((gcp-instance-admin-json-key))
|
||||
|
||||
@@ -18,7 +18,7 @@ meta:
|
||||
|
||||
# GCP account info and which zone the workers should be created in and deleted from.
|
||||
gcp_account_params: &gcp_account_params
|
||||
INSTANCE_ZONE: us-west1-b
|
||||
INSTANCE_ZONE: us-west1-a
|
||||
GCP_PROJECT: ((gcp-project-name))
|
||||
GCP_USERNAME: ((gcp-instance-admin-username))
|
||||
GCP_JSON_KEY: ((gcp-instance-admin-json-key))
|
||||
|
||||
@@ -92,8 +92,8 @@ meta:
|
||||
|
||||
# GCP account info and which zone the kind workers should be created in and deleted from.
|
||||
gcp_account_params: &gcp_account_params
|
||||
INSTANCE_ZONE: us-west1-b # which zone the kind worker VMs should be created in and deleted from
|
||||
GCP_ZONE: us-west1-b
|
||||
INSTANCE_ZONE: us-west1-a # which zone the kind worker VMs should be created in and deleted from
|
||||
GCP_ZONE: us-west1-a
|
||||
GCP_PROJECT: ((gcp-project-name))
|
||||
GCP_USERNAME: ((gcp-instance-admin-username))
|
||||
GCP_JSON_KEY: ((gcp-instance-admin-json-key))
|
||||
|
||||
@@ -80,8 +80,8 @@ meta:
|
||||
|
||||
# GCP account info and which zone the workers should be created in and deleted from.
|
||||
gcp_account_params: &gcp_account_params
|
||||
INSTANCE_ZONE: us-west1-b # which zone the kind worker VMs should be created in and deleted from
|
||||
GCP_ZONE: us-west1-b
|
||||
INSTANCE_ZONE: us-west1-a # which zone the kind worker VMs should be created in and deleted from
|
||||
GCP_ZONE: us-west1-a
|
||||
GCP_PROJECT: ((gcp-project-name))
|
||||
GCP_USERNAME: ((gcp-instance-admin-username))
|
||||
GCP_JSON_KEY: ((gcp-instance-admin-json-key))
|
||||
|
||||
Reference in New Issue
Block a user