aboutsummaryrefslogtreecommitdiff
path: root/test/integ-test/expected-results
diff options
context:
space:
mode:
authorRaúl Benencia <raul@thousandeyes.com>2018-04-13 16:30:31 -0700
committerRaúl Benencia <raul@thousandeyes.com>2018-05-11 15:02:34 -0700
commit77c172b823b64ebface655681ab0749b9d2f7081 (patch)
tree09c13e626eb95ae1d33e76ed683172eab1ab6c96 /test/integ-test/expected-results
First public commit
Diffstat (limited to 'test/integ-test/expected-results')
-rw-r--r--test/integ-test/expected-results/configs-static-default.txt4
-rw-r--r--test/integ-test/expected-results/ipxemenu.txt12
-rw-r--r--test/integ-test/expected-results/poll-k8s1-1.txt14
-rw-r--r--test/integ-test/expected-results/poll-k8s1-2.txt14
-rw-r--r--test/integ-test/expected-results/poll-k8s1-3-stg.txt14
-rw-r--r--test/integ-test/expected-results/poll-k8s1-4-stg.txt14
-rw-r--r--test/integ-test/expected-results/poll-unknown-set-from-ui.txt14
-rw-r--r--test/integ-test/expected-results/poll-unknown.txt2
-rw-r--r--test/integ-test/expected-results/poll.txt2
-rw-r--r--test/integ-test/expected-results/rc.local-bootstrap4
-rw-r--r--test/integ-test/expected-results/static.html7
11 files changed, 101 insertions, 0 deletions
diff --git a/test/integ-test/expected-results/configs-static-default.txt b/test/integ-test/expected-results/configs-static-default.txt
new file mode 100644
index 0000000..0aa8329
--- /dev/null
+++ b/test/integ-test/expected-results/configs-static-default.txt
@@ -0,0 +1,4 @@
+<pre>
+<a href="bootstrap.sh">bootstrap.sh</a>
+<a href="rc.local-bootstrap">rc.local-bootstrap</a>
+</pre>
diff --git a/test/integ-test/expected-results/ipxemenu.txt b/test/integ-test/expected-results/ipxemenu.txt
new file mode 100644
index 0000000..0560fcc
--- /dev/null
+++ b/test/integ-test/expected-results/ipxemenu.txt
@@ -0,0 +1,12 @@
+#!ipxe
+chain /poll/1/${netX/mac:hexhyp}
+menu Choose target to boot
+item /configs/coreos.ipxe coreos.ipxe
+item /env/production/configs/coreos.ipxe coreos.ipxe [production]
+
+choose target
+echo -n Enter hostname or none:
+read hostname
+set baseurl localhost:18888
+# Boot it as intended.
+chain ${target}
diff --git a/test/integ-test/expected-results/poll-k8s1-1.txt b/test/integ-test/expected-results/poll-k8s1-1.txt
new file mode 100644
index 0000000..46043fd
--- /dev/null
+++ b/test/integ-test/expected-results/poll-k8s1-1.txt
@@ -0,0 +1,14 @@
+#!ipxe
+
+set coreos-url http://stable.release.core-os.net/amd64-usr/1122.3.0
+
+echo This will currently autologin into tty1 on the console.
+echo From there you can su to root and install CoreOS to disk using:
+echo coreos-install -d /dev/sda -C stable
+echo You will probably need to chroot into /dev/sda9 to configure accounts.
+echo More info @ http://coreos.com/docs/running-coreos/bare-metal/installing-to-disk/
+
+kernel ${coreos-url}/coreos_production_pxe.vmlinuz cloud-config-url=http://localhost:18888/configs/coreos-baremetal.yaml?release=stable console=tty1 coreos.autologin=tty1
+initrd ${coreos-url}/coreos_production_pxe_image.cpio.gz
+
+boot
diff --git a/test/integ-test/expected-results/poll-k8s1-2.txt b/test/integ-test/expected-results/poll-k8s1-2.txt
new file mode 100644
index 0000000..46043fd
--- /dev/null
+++ b/test/integ-test/expected-results/poll-k8s1-2.txt
@@ -0,0 +1,14 @@
+#!ipxe
+
+set coreos-url http://stable.release.core-os.net/amd64-usr/1122.3.0
+
+echo This will currently autologin into tty1 on the console.
+echo From there you can su to root and install CoreOS to disk using:
+echo coreos-install -d /dev/sda -C stable
+echo You will probably need to chroot into /dev/sda9 to configure accounts.
+echo More info @ http://coreos.com/docs/running-coreos/bare-metal/installing-to-disk/
+
+kernel ${coreos-url}/coreos_production_pxe.vmlinuz cloud-config-url=http://localhost:18888/configs/coreos-baremetal.yaml?release=stable console=tty1 coreos.autologin=tty1
+initrd ${coreos-url}/coreos_production_pxe_image.cpio.gz
+
+boot
diff --git a/test/integ-test/expected-results/poll-k8s1-3-stg.txt b/test/integ-test/expected-results/poll-k8s1-3-stg.txt
new file mode 100644
index 0000000..46043fd
--- /dev/null
+++ b/test/integ-test/expected-results/poll-k8s1-3-stg.txt
@@ -0,0 +1,14 @@
+#!ipxe
+
+set coreos-url http://stable.release.core-os.net/amd64-usr/1122.3.0
+
+echo This will currently autologin into tty1 on the console.
+echo From there you can su to root and install CoreOS to disk using:
+echo coreos-install -d /dev/sda -C stable
+echo You will probably need to chroot into /dev/sda9 to configure accounts.
+echo More info @ http://coreos.com/docs/running-coreos/bare-metal/installing-to-disk/
+
+kernel ${coreos-url}/coreos_production_pxe.vmlinuz cloud-config-url=http://localhost:18888/configs/coreos-baremetal.yaml?release=stable console=tty1 coreos.autologin=tty1
+initrd ${coreos-url}/coreos_production_pxe_image.cpio.gz
+
+boot
diff --git a/test/integ-test/expected-results/poll-k8s1-4-stg.txt b/test/integ-test/expected-results/poll-k8s1-4-stg.txt
new file mode 100644
index 0000000..6195e9e
--- /dev/null
+++ b/test/integ-test/expected-results/poll-k8s1-4-stg.txt
@@ -0,0 +1,14 @@
+#!ipxe
+
+set coreos-url http://stable.release.core-os.net/amd64-usr/1298.6.0
+
+echo This will currently autologin into tty1 on the console.
+echo From there you can su to root and install CoreOS to disk using:
+echo coreos-install -d /dev/sda -C stable
+echo You will probably need to chroot into /dev/sda9 to configure accounts.
+echo More info @ http://coreos.com/docs/running-coreos/bare-metal/installing-to-disk/
+
+kernel ${coreos-url}/coreos_production_pxe.vmlinuz cloud-config-url=http://localhost:18888/env/staging/configs/coreos-baremetal.yaml?release=stable console=tty1 coreos.autologin=tty1
+initrd ${coreos-url}/coreos_production_pxe_image.cpio.gz
+
+boot
diff --git a/test/integ-test/expected-results/poll-unknown-set-from-ui.txt b/test/integ-test/expected-results/poll-unknown-set-from-ui.txt
new file mode 100644
index 0000000..08e161e
--- /dev/null
+++ b/test/integ-test/expected-results/poll-unknown-set-from-ui.txt
@@ -0,0 +1,14 @@
+#!ipxe
+
+set coreos-url http://stable.release.core-os.net/amd64-usr/666.0
+
+echo This will currently autologin into tty1 on the console.
+echo From there you can su to root and install CoreOS to disk using:
+echo coreos-install -d /dev/sda -C stable
+echo You will probably need to chroot into /dev/sda9 to configure accounts.
+echo More info @ http://coreos.com/docs/running-coreos/bare-metal/installing-to-disk/
+
+kernel ${coreos-url}/coreos_production_pxe.vmlinuz cloud-config-url=http://localhost:18888/configs/coreos-virtual.yaml?release=stable console=tty1 coreos.autologin=tty1
+initrd ${coreos-url}/coreos_production_pxe_image.cpio.gz
+
+boot
diff --git a/test/integ-test/expected-results/poll-unknown.txt b/test/integ-test/expected-results/poll-unknown.txt
new file mode 100644
index 0000000..f17022f
--- /dev/null
+++ b/test/integ-test/expected-results/poll-unknown.txt
@@ -0,0 +1,2 @@
+#!ipxe
+prompt --key 0x02 --timeout 10000 shoelaces: Press Ctrl-B for manual override... && chain -ar http://localhost:18888/ipxemenu || chain -ar http://localhost:18888/poll/1/06-66-de-ad-be-ef
diff --git a/test/integ-test/expected-results/poll.txt b/test/integ-test/expected-results/poll.txt
new file mode 100644
index 0000000..dbba541
--- /dev/null
+++ b/test/integ-test/expected-results/poll.txt
@@ -0,0 +1,2 @@
+#!ipxe
+prompt --key 0x02 --timeout 10000 shoelaces: Press Ctrl-B for manual override... && chain -ar http://localhost:18888/ipxemenu || chain -ar http://localhost:18888/poll/1/ff-ff-ff-ff-ff-ff
diff --git a/test/integ-test/expected-results/rc.local-bootstrap b/test/integ-test/expected-results/rc.local-bootstrap
new file mode 100644
index 0000000..084ccc2
--- /dev/null
+++ b/test/integ-test/expected-results/rc.local-bootstrap
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+/usr/local/sbin/bootstrap > /var/log/bootstrap.log 2>&1 &
+exit 0
diff --git a/test/integ-test/expected-results/static.html b/test/integ-test/expected-results/static.html
new file mode 100644
index 0000000..eff16d6
--- /dev/null
+++ b/test/integ-test/expected-results/static.html
@@ -0,0 +1,7 @@
+<pre>
+<a href="css/">css/</a>
+<a href="fonts/">fonts/</a>
+<a href="img/">img/</a>
+<a href="js/">js/</a>
+<a href="templates/">templates/</a>
+</pre>
nihil fit ex nihilo