mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-18 21:21:10 +02:00
With the fix #1904, it's now possible to upgrade 0.4.x with `machine.File` extra files (caused by registry mirror for registry.ci.svc). Bump resources for upgrade tests in attempt to speed it up. Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
17 lines
523 B
Bash
Executable File
17 lines
523 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eou pipefail
|
|
|
|
case "${REGISTRY:-false}" in
|
|
registry.ci.svc:5000)
|
|
REGISTRY_ADDR=`python -c "import socket; print socket.gethostbyname('registry.ci.svc')"`
|
|
INTEGRATION_TEST_FLAGS="-talos.provision.registry-mirror ${REGISTRY}=http://${REGISTRY_ADDR}:5000 -talos.provision.target-installer-registry=${REGISTRY}"
|
|
;;
|
|
*)
|
|
INTEGRATION_TEST_FLAGS=
|
|
;;
|
|
esac
|
|
|
|
|
|
"${INTEGRATION_TEST}" -test.v -talos.osctlpath "${OSCTL}" -talos.provision.mem 2048 -talos.provision.cpu 2 ${INTEGRATION_TEST_FLAGS}
|