talos/hack/test/run.sh
Andrew Rynhard 1a4059a553 feat: add grub bootloader
This moves to using grub instead of syslinux.

BREAKING CHANGE: Single node upgrades will fail in this change. This
will also break the A/B fallback setup since this version introduces
an entirely new partition scheme, that any fallback will not know about.
We plan on addressing these issues in a follow up change.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-09-01 12:06:43 -07:00

22 lines
544 B
Bash
Executable File

#!/bin/bash
set -e
while getopts c flag
do
case "${flag}" in
c) make clean;;
esac
done
make release-artifacts
make USERNAME=andrewrynhard TAG="${1}" installer talosctl _out/integration-test-provision-linux-amd64
docker push andrewrynhard/installer:"${1}"
sudo -E _out/integration-test-provision-linux-amd64 \
-talos.name local \
-talos.state /tmp/local \
-test.v \
-talos.crashdump=false \
-talos.talosctlpath=$PWD/_out/talosctl-linux-amd64 \
-test.run "TestIntegration/provision.UpgradeSuite.v0.6.0-beta.2-${1}"