diff --git a/scripts/child_site_list.txt b/scripts/child_site_list.txt deleted file mode 100644 index 76762c8f52e76012800aca1988f7983274067a0e..0000000000000000000000000000000000000000 --- a/scripts/child_site_list.txt +++ /dev/null @@ -1,14 +0,0 @@ -ascintranet -astronomy-d8 -d8-demo-site -d8-example -d8-clean-source -global-arts-and-humanities -mathematical-biosciences-institute -migration-target -ppec -roy-modern-head -solar-system -wonders-of-world -asctech-d8 - diff --git a/scripts/deploylive.sh b/scripts/deploylive.sh index d7ceb9c6a5588d52266cbbf0bf2f43cc70684297..7894cff7873f5ff24df5b1c4da10e9d2f98e9a8a 100755 --- a/scripts/deploylive.sh +++ b/scripts/deploylive.sh @@ -1,15 +1,5 @@ #!/usr/bin/env bash -if [[ ! -r ./child_site_list.txt ]]; then - echo; - echo " ./child_site_list.txt is missing or not readable."; - echo; - echo " Make sure you're executing this script from a location from which"; - echo " that relative path is available."; - echo; - exit 1; -fi - if [[ -z "$1" ]]; then echo; echo "Usage: deploylive.sh <\"Deploy message\">"; @@ -17,7 +7,7 @@ exit 1; fi -for site in `cat child_site_list.txt`; do +for site in `terminus org:site:list ohio-state-arts-and-sciences --upstream=b9baf7af-eb2c-4db5-81e6-32d3d9042572 --fields=name --format=string`; do echo "Site: [$site]"; terminus env:deploy ${site}.live --updatedb --cc --note="$1"; done diff --git a/scripts/deploytest.sh b/scripts/deploytest.sh index 7dfde604430719dd9ae6e74c3273fa34291bc1d0..f4a55e06718fbcd8b5e06ae7bcbb115a8d9ddf54 100755 --- a/scripts/deploytest.sh +++ b/scripts/deploytest.sh @@ -1,15 +1,5 @@ #!/usr/bin/env bash -if [[ ! -r ./child_site_list.txt ]]; then - echo; - echo " ./child_site_list.txt is missing or not readable."; - echo; - echo " Make sure you're executing this script from a location from which"; - echo " that relative path is available."; - echo; - exit 1; -fi - if [[ -z "$1" ]]; then echo; echo "Usage: deploytest.sh <\"Deploy message\">"; @@ -17,7 +7,7 @@ exit 1; fi -for site in `cat child_site_list.txt`; do +for site in `terminus org:site:list ohio-state-arts-and-sciences --upstream=b9baf7af-eb2c-4db5-81e6-32d3d9042572 --fields=name --format=string`; do echo "Site: [$site]"; terminus env:deploy ${site}.test --updatedb --cc --note="$1"; done diff --git a/scripts/upstream_apply_dev.sh b/scripts/upstream_apply_dev.sh index e7f7df09b773e260550701980009104c5800359c..b73a7d68d358bcd6bd0f364f59a019b7fd176012 100755 --- a/scripts/upstream_apply_dev.sh +++ b/scripts/upstream_apply_dev.sh @@ -1,16 +1,6 @@ #!/usr/bin/env bash -if [[ ! -r ./child_site_list.txt ]]; then - echo; - echo " ./child_site_list.txt is missing or not readable."; - echo; - echo " Make sure you're executing this script from a location from which"; - echo " that relative path is available."; - echo; - exit 1; -fi - -for site in `cat child_site_list.txt`; do +for site in `terminus org:site:list ohio-state-arts-and-sciences --upstream=b9baf7af-eb2c-4db5-81e6-32d3d9042572 --fields=name --format=string`; do echo "Site: [$site]"; terminus site:upstream:clear-cache ${site}; terminus upstream:updates:list ${site}.dev;