diff --git a/README.md b/README.md index 79ba2391..4bbc8d6d 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Airship is a broad integration of several components enabling an automated, resilient Kubernetes-based infrastructure for hosting Helm-deployed containerized workloads. -To get started, run the following in a fresh VM: +To get started, run the following in a fresh VM. This will deploy Airship and OSH: ``` sudo -i mkdir -p /root/deploy && cd "$_" diff --git a/manifests/dev_single_node/deploy-airship.sh b/manifests/dev_single_node/deploy-airship.sh index 1c47e7c4..b1584269 100755 --- a/manifests/dev_single_node/deploy-airship.sh +++ b/manifests/dev_single_node/deploy-airship.sh @@ -265,6 +265,16 @@ function setup_deploy_site() { set -x } +function execute_deploy_site() { + set -x + echo cd ${WORKSPACE}/site + echo source creds.sh + echo ./run_shipyard.sh create configdocs design --filename=/home/shipyard/host/deployment_files.yaml + echo ./run_shipyard.sh create configdocs secrets --filename=/home/shipyard/host/certificates.yaml --append + echo ./run_shipyard.sh commit configdocs + echo ./run_shipyard.sh create action deploy_site +} + function clean() { # Perform any cleanup of temporary or unused artifacts @@ -297,3 +307,5 @@ run_genesis || error "running genesis" validate_genesis || error "validating genesis" genesis_complete || error "printing out some info about next steps" setup_deploy_site || error "preparing the /site directory for deploy_site" +# Disable execute_deploy_site to stop at the Airship components +execute_deploy_site || error "executing deploy_site from the /site directory"