Full cloud setup test run #1 fixes.
This commit is contained in:
@@ -11,14 +11,6 @@ SKIP_SERVICES=false
|
||||
|
||||
while [[ $# -gt 0 ]]; do
|
||||
case $1 in
|
||||
--skip-scaffold)
|
||||
SKIP_SCAFFOLD=true
|
||||
shift
|
||||
;;
|
||||
--skip-docs)
|
||||
SKIP_DOCS=true
|
||||
shift
|
||||
;;
|
||||
--skip-cluster)
|
||||
SKIP_CLUSTER=true
|
||||
shift
|
||||
@@ -80,55 +72,12 @@ else
|
||||
fi
|
||||
|
||||
print_header "Wild Cloud Setup"
|
||||
print_info "Running complete Wild Cloud setup."
|
||||
echo ""
|
||||
|
||||
# =============================================================================
|
||||
# WC_HOME SCAFFOLDING
|
||||
# =============================================================================
|
||||
|
||||
if [ "${SKIP_SCAFFOLD}" = false ]; then
|
||||
print_header "Cloud Home Setup"
|
||||
print_info "Scaffolding your cloud home..."
|
||||
|
||||
if wild-setup-scaffold; then
|
||||
print_success "Cloud home setup completed"
|
||||
else
|
||||
print_error "Cloud home setup failed"
|
||||
exit 1
|
||||
fi
|
||||
echo ""
|
||||
else
|
||||
print_info "Skipping Home Setup"
|
||||
fi
|
||||
|
||||
# =============================================================================
|
||||
# DOCS
|
||||
# =============================================================================
|
||||
|
||||
if [ "${SKIP_DOCS}" = false ]; then
|
||||
print_header "Cloud Docs"
|
||||
print_info "Preparing your docs..."
|
||||
|
||||
if wild-setup-docs; then
|
||||
print_success "Cloud docs setup completed"
|
||||
else
|
||||
print_error "Cloud docs setup failed"
|
||||
exit 1
|
||||
fi
|
||||
echo ""
|
||||
else
|
||||
print_info "Skipping Docs Setup"
|
||||
fi
|
||||
|
||||
# =============================================================================
|
||||
# CLUSTER SETUP
|
||||
# =============================================================================
|
||||
|
||||
if [ "${SKIP_CLUSTER}" = false ]; then
|
||||
print_header "Cluster Setup"
|
||||
print_info "Running wild-setup-cluster..."
|
||||
|
||||
if wild-setup-cluster; then
|
||||
print_success "Cluster setup completed"
|
||||
else
|
||||
@@ -145,9 +94,6 @@ fi
|
||||
# =============================================================================
|
||||
|
||||
if [ "${SKIP_SERVICES}" = false ]; then
|
||||
print_header "Services Setup"
|
||||
print_info "Running wild-setup-services..."
|
||||
|
||||
if wild-setup-services; then
|
||||
print_success "Services setup completed"
|
||||
else
|
||||
|
Reference in New Issue
Block a user