From 20a656cae6d7feb754195a18a276ff53f728aadf Mon Sep 17 00:00:00 2001 From: Dale Henrichs Date: Thu, 28 Sep 2023 17:12:09 -0700 Subject: [PATCH] create some structure, define env vars and run some GsDevKit_stones commands --- .github/workflows/ci.yml | 44 ++++++++++++++++++++++++++++++++++------ 1 file changed, 38 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 418f594c..65afc41a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,21 +26,53 @@ jobs: superDoit-branch: 'v4.1' - name: initial setup run: | - export STONES_HOME="$(pwd)" export GEMSTONE_ROOT=${{ steps.setup-superDoit.outputs.gemstone-product-path }} export SUPERDOIT_ROOT=${{ steps.setup-superDoit.outputs.superDoit-root }} export WORK_ROOT="$GITHUB_WORKSPACE/.." - echo "STONES_HOME=$STONES_HOME" + export GSDEVKIT_STONES_ROOT=$GITHUB_WORKSPACE + + echo "GEMSTONE_NAME=$GEMSTONE_NAME" echo "GEMSTONE_ROOT=$GEMSTONE_ROOT" echo "SUPERDOIT_ROOT=$SUPERDOIT_ROOT" + echo "GSDEVKIT_STONES_ROOT=$GSDEVKIT_STONES_ROOT" echo "GITHUB_WORKSPACE=$GITHUB_WORKSPACE" - echo "$GEMSTONE_NAME" + echo "WORK_ROOT=$WORK_ROOT" + + mkdir $WORK_ROOT/STONES_DATA_HOME + export STONES_DATA_HOME="$WORK_ROOT/STONES_DATA_HOME" + echo "STONES_DATA_HOME=$STONES_DATA_HOME" + + mkdir $WORK_ROOT/STONES_HOME + export STONES_HOME="$WORK_ROOT/STONES_HOME" + echo "STONES_HOME=$STONES_HOME" + + mkdir $STONES_HOME/git + export STONES_git=$STONES_HOME/git + mkdir $STONES_HOME/gemstone + export STONES_gemstone=$STONES_HOME/gemstone + + export PATH=$GSDEVKIT_STONES_ROOT/bin:$PATH + + echo "versionReport.solo" + versionReport.solo + echo "createRegistry.solo" + createRegistry.solo + echo "createProjectSet.solo" + createProjectSet.solo --registry=_stones --projectSet=_stones --from=$GSDEVKIT_STONES_ROOT/projectSets/_stones.ston + echo "cloneProjectsFromProjectSet.solo" + cloneProjectsFromProjectSet.solo --registry=_stones --projectSet=_stones --projectDirectory=$STONES_git --update + echo "WORK_ROOT" ls -altr $WORK_ROOT - echo "WORK_ROOT/.." - ls -altr $WORK_ROOT/.. - echo "$GITHUB_WORKSPACE" + echo "GITHUB_WORKSPACE" ls -altr $GITHUB_WORKSPACE + echo "STONES_DATA_HOME" + ls -altr $STONES_DATA_HOME + echo "STONES_HOME" + ls -altr $STONES_HOME + + gslist.solo -l + shell: bash slack-workflow-status: if: always()