Jerome Petazzoni
9b54ea95ac
Massive refactoring of workshopctl
...
This allows to manage groups of VMs across multiple infrastructure
providers. It also adds support to create groups of VMs on OpenStack.
WARNING: the syntax of workshopctl has changed slightly. Check READMEs
for details.
2018-09-28 13:18:54 -05:00
Jerome Petazzoni
91e3078d2e
Better error checking + GRO fix
2018-09-16 09:10:14 -05:00
Jerome Petazzoni
3cb91855c8
Pre-install Stern and Helm
...
The commands to install Stern and Helm aren't super exciting,
so let's pre-install these tools. That way, we also generate
completion for them. We still give installation instructions
just in case, but this saves time for more important stuff.
2018-08-28 07:21:43 -05:00
Maxime Deravet
611fe55e90
Allow to configure docker password using the settings file ( #317 )
2018-07-31 08:24:16 -05:00
Jerome Petazzoni
2d95f4177a
Remove extraneous python invocation
2018-06-12 04:25:00 -05:00
Jerome Petazzoni
06f70e8246
Add 'tree' in the VMs
...
This is a convenient tool to get an idea of what a
directory hierarchy looks like.
2018-05-24 07:06:21 -05:00
Bret Fisher
73c4cddba5
forgot one image :/
2018-05-03 16:32:12 -04:00
Bret Fisher
6e341f770a
adding more images to cache
...
Based on images used in swarm and fundamentals workshops
2018-05-03 16:24:54 -04:00
Bridget Kromhout
b874b68e57
Symlink fixes for multiple runs
2018-03-27 09:25:48 -07:00
Bridget Kromhout
1fe56cf401
Increasing timeout for slow mirrors
2018-03-12 21:41:47 +01:00
Jerome Petazzoni
eaf25e5b36
Improve kubetest error reporting
...
The kubetest command used to say [SUCCESS] on completely
fresh nodes. Now we check the existence of the /tmp/node
file, as well as of the kubectl executable.
2018-03-07 16:17:57 -08:00
Bridget Kromhout
848679829d
Removed -i and trailing space
2018-03-02 18:18:04 -06:00
Bridget Kromhout
6727007754
Missing variable
2018-03-02 18:11:32 -06:00
Jerome Petazzoni
cfbd54bebf
Add hacky-backslashy kubetest command
2018-03-02 14:17:37 -06:00
Bridget Kromhout
c188923f1a
Increase timeouts
2018-03-01 17:39:51 -06:00
Jerome Petazzoni
b818a38307
Correctly report errors happening in functions
...
`trap ... ERR` does not automatically propagate to functions. Therefore,
Our fancy error-reporting mechanism did not catch errors happening in
functions; and we do most of the actual work in functions. The solution
is to `set -E` or `set -o errtrace`.
2018-03-01 13:56:08 -06:00
Bridget Kromhout
61da583080
Don't overwrite ip file if exists
2018-02-28 21:44:58 -06:00
Jerome Petazzoni
ef4591c4fc
Allow to override instance type ( closes #39 )
2018-02-28 13:45:08 -06:00
Jerome Petazzoni
5116ad7c44
Use kubeadm token generate to simplify things a bit.
...
Thanks @rmb938 for the suggestion!
Closes #110 .
2018-01-18 21:14:40 +01:00
Jerome Petazzoni
7305e911e5
Update for k8s 1.9
2018-01-10 17:12:49 +01:00
Jerome Petazzoni
b2f670acf6
Add error checking for AMI finder script
2018-01-10 16:48:04 +01:00
AJ Bowen
1d46898737
Reverse 'echo >/dev/stderr' for '>/dev/stderr echo' according to @jpetazzo preference
2017-10-29 15:55:08 +01:00
AJ Bowen
5b95d6ee7f
shfmt -i 4 -bn' to allow pipes to begin lines
2017-10-29 15:42:16 +01:00
AJ Bowen
bb88d11344
shfmt -i 4
2017-10-29 14:45:54 +01:00
Jérôme Petazzoni
603bda8166
Change prompt and set hostname to nodeX
2017-10-25 22:38:57 +02:00
Jérôme Petazzoni
117c6c18e9
pull-images -> pull_images
2017-10-14 14:22:46 +02:00
Jérôme Petazzoni
9450ed2057
Improve error reporting (thanks @bretfisher for reporting this)
2017-10-14 14:10:50 +02:00
Jérôme Petazzoni
553fd6b742
Fix custom prompt
2017-10-11 15:54:56 +02:00
Jérôme Petazzoni
25c8623a81
Add kubectl completion
2017-10-11 15:54:46 +02:00
Jérôme Petazzoni
c0e2fc8832
Allow to run workshopctl in a container
2017-10-06 21:40:39 +02:00
Jérôme Petazzoni
08722db23f
Major rehaul of trainer script (it is now workshopctl)
2017-10-06 19:01:15 +02:00