
This ps makes following changes to upgrade kubernetes from v1.17.3 to v1.18.6. - Updated all references to k8s images to 1.18.6 - Updated command options and api object and versions based on k8s 1.18 release notes: https://kubernetes.io/docs/setup/release/notes/ - Uplifted uwsgi to 2.0.19.1 to align with other airship components, and to bring in fixes and improvements. - Added build-essentials and python3-dev packages to pass the zull gate, which was looking for a c compiler. Change-Id: I1160d1e6e2f02a0524043641b9296ea39edb301e
38 lines
1.3 KiB
Bash
38 lines
1.3 KiB
Bash
export TEMP_DIR=${TEMP_DIR:-$(mktemp -d)}
|
|
export BASE_IMAGE_SIZE=${BASE_IMAGE_SIZE:-344784896}
|
|
export BASE_IMAGE_URL=${BASE_IMAGE_URL:-https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img}
|
|
export IMAGE_PROMENADE=${IMAGE_PROMENADE:-quay.io/airshipit/promenade:master}
|
|
export IMAGE_PROMENADE_DISTRO=${IMAGE_PROMENADE_DISTRO:-ubuntu_bionic}
|
|
export IMAGE_HYPERKUBE=${IMAGE_HYPERKUBE:-gcr.io/google_containers/hyperkube-amd64:v1.18.6}
|
|
export NGINX_DIR="${TEMP_DIR}/nginx"
|
|
export NGINX_URL="http://192.168.77.1:7777"
|
|
export PROMENADE_BASE_URL="http://promenade-api.ucp.svc.cluster.local"
|
|
export PROMENADE_DEBUG=${PROMENADE_DEBUG:-0}
|
|
export PROMENADE_TMP_LOCAL=${PROMENADE_TMP_LOCAL:-cache}
|
|
export PROMENADE_ENCRYPTION_KEY=${PROMENADE_ENCRYPTION_KEY:-testkey}
|
|
export REGISTRY_DATA_DIR=${REGISTRY_DATA_DIR:-/mnt/registry}
|
|
export VIRSH_POOL=${VIRSH_POOL:-promenade}
|
|
export VIRSH_POOL_PATH=${VIRSH_POOL_PATH:-/var/lib/libvirt/promenade}
|
|
|
|
config_configuration() {
|
|
# XXX Do I need ' | @sh' now?
|
|
jq -cr '.configuration[]' < "${GATE_MANIFEST}"
|
|
}
|
|
|
|
config_vm_memory() {
|
|
jq -cr '.vm.memory' < "${GATE_MANIFEST}"
|
|
}
|
|
|
|
config_vm_names() {
|
|
jq -cr '.vm.names[]' < "${GATE_MANIFEST}"
|
|
}
|
|
|
|
config_vm_ip() {
|
|
NAME=${1}
|
|
echo "192.168.77.1${NAME:1}"
|
|
}
|
|
|
|
config_vm_vcpus() {
|
|
jq -cr '.vm.vcpus' < "${GATE_MANIFEST}"
|
|
}
|