mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-07-19 21:09:27 +00:00
It is now possible to set the user login (instead of having it hardcoded to "docker"). Also, various actions have been broken out in separate functions to facilitate future maintenance.
47 lines
826 B
Bash
Executable File
47 lines
826 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
export AWS_INSTANCE_TYPE=t3a.small
|
|
|
|
INFRA=infra/aws-us-east-2
|
|
|
|
STUDENTS=2
|
|
|
|
PREFIX=$(date +%Y-%m-%d-%H-%M)
|
|
|
|
SETTINGS=admin-dmuc
|
|
TAG=$PREFIX-$SETTINGS
|
|
./workshopctl start \
|
|
--tag $TAG \
|
|
--infra $INFRA \
|
|
--settings settings/$SETTINGS.yaml \
|
|
--students $STUDENTS
|
|
|
|
SETTINGS=admin-kubenet
|
|
TAG=$PREFIX-$SETTINGS
|
|
./workshopctl start \
|
|
--tag $TAG \
|
|
--infra $INFRA \
|
|
--settings settings/$SETTINGS.yaml \
|
|
--students $STUDENTS
|
|
|
|
SETTINGS=admin-kuberouter
|
|
TAG=$PREFIX-$SETTINGS
|
|
./workshopctl start \
|
|
--tag $TAG \
|
|
--infra $INFRA \
|
|
--settings settings/$SETTINGS.yaml \
|
|
--students $STUDENTS
|
|
|
|
#INFRA=infra/aws-us-west-1
|
|
|
|
export AWS_INSTANCE_TYPE=t3a.medium
|
|
|
|
SETTINGS=admin-test
|
|
TAG=$PREFIX-$SETTINGS
|
|
./workshopctl start \
|
|
--tag $TAG \
|
|
--infra $INFRA \
|
|
--settings settings/$SETTINGS.yaml \
|
|
--students $STUDENTS
|