Jedrzej Nowak 5f2debc13f Replace all templates/(.*)\.yaml with templates/\1
Change-Id: I0d371595092323f9a87393954cd0cbdd3a72ac36
2015-12-28 12:51:28 +01:00

19 lines
415 B
Bash
Executable File

#!/bin/bash
set -eux
function deploy {
# this two commands will clean db
solar resource clear_all
solar resource create nodes templates/nodes '{"count": 1}'
solar resource create mariadb1 /vagrant/resources/mariadb_service image=mariadb port=3306
solar connect node1 mariadb1
solar changes stage
solar changes process
solar orch run-once last
solar orch report last
}
deploy