Skip to content

Commit 5ebf3f2

Browse files
chore(*): Allow testing against CoreOS alpha
Allow testing the against the CoreOS alpha channel. Fixes #2420
1 parent 960438b commit 5ebf3f2

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ CONFIG = File.join(File.dirname(__FILE__), "config.rb")
1414

1515
# Defaults for config options defined in CONFIG
1616
$num_instances = 1
17-
$update_channel = "stable"
17+
$update_channel = ENV["COREOS_CHANNEL"] || "stable"
1818
$enable_serial_logging = false
1919
$vb_gui = false
2020
$vb_memory = 1024

tests/bin/test-latest.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
#
33
# Preps a test environment and runs `make test-integration`
44
# using the latest published artifacts available on Docker Hub
55
# and the deis.io website.
66
#
7+
# Usage: ./test-latest.sh [COREOS_CHANNEL]
8+
#
79

810
# fail on any command exiting non-zero
911
set -eo pipefail
1012

13+
export COREOS_CHANNEL=${1:-stable}
14+
1115
# absolute path to current directory
1216
export THIS_DIR=$(cd $(dirname $0); pwd)
1317

0 commit comments

Comments
 (0)