From e4f403b175656897d58b71988f77fd364663ae35 Mon Sep 17 00:00:00 2001 From: Steven Serrata <9343811+sserrata@users.noreply.github.com> Date: Wed, 13 Nov 2024 10:39:55 -0500 Subject: [PATCH 1/4] Update deploy-preview.yml Signed-off-by: Steven Serrata <9343811+sserrata@users.noreply.github.com> --- .github/workflows/deploy-preview.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index 4658dbf18..ac3162e9c 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -152,7 +152,7 @@ jobs: run: | echo "Including 'sase' in build..." if [[ -n "$PRODUCTS_INCLUDE" ]]; then - echo "PRODUCTS_INCLUDE=$PRODUCTS_INCLUDE,sase,access,sdwan" >> $GITHUB_ENV + echo "PRODUCTS_INCLUDE=$PRODUCTS_INCLUDE,sase,access,sdwan,scm" >> $GITHUB_ENV else echo "PRODUCTS_INCLUDE=sase,access,sdwan" >> $GITHUB_ENV fi From f41154b26b2c2a001835c460f967a5e606493a6f Mon Sep 17 00:00:00 2001 From: Steven Serrata <9343811+sserrata@users.noreply.github.com> Date: Wed, 13 Nov 2024 10:53:10 -0500 Subject: [PATCH 2/4] Update deploy-preview.yml Signed-off-by: Steven Serrata <9343811+sserrata@users.noreply.github.com> --- .github/workflows/deploy-preview.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index ac3162e9c..0f5693042 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -154,7 +154,7 @@ jobs: if [[ -n "$PRODUCTS_INCLUDE" ]]; then echo "PRODUCTS_INCLUDE=$PRODUCTS_INCLUDE,sase,access,sdwan,scm" >> $GITHUB_ENV else - echo "PRODUCTS_INCLUDE=sase,access,sdwan" >> $GITHUB_ENV + echo "PRODUCTS_INCLUDE=sase,access,sdwan,scm" >> $GITHUB_ENV fi - name: Include contributing From 2610d0e6a5700c7c3b37314a2175a75ef287bba7 Mon Sep 17 00:00:00 2001 From: Steven Serrata <9343811+sserrata@users.noreply.github.com> Date: Wed, 13 Nov 2024 13:04:11 -0500 Subject: [PATCH 3/4] Update deploy-preview.yml temporarily disable caching of dependencies and docusaurus build Signed-off-by: Steven Serrata <9343811+sserrata@users.noreply.github.com> --- .github/workflows/deploy-preview.yml | 30 ++++++++++++++-------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index 0f5693042..f993d1eeb 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -108,21 +108,21 @@ jobs: id: yarn-cache run: echo "YARN_CACHE_DIR=$(yarn cache dir)" >> "${GITHUB_OUTPUT}" - - name: Cache dependencies - uses: actions/cache@v4 - with: - path: ${{ steps.yarn-cache.outputs.YARN_CACHE_DIR }} - key: ${{ runner.os }}-pandev-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-pandev- - - - name: Cache docusaurus build - uses: actions/cache@v4 - with: - path: node_modules/.cache/webpack - key: ${{ runner.os }}-pandev-pr-${{ github.event.number }}-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-pandev-pr-${{ github.event.number }}- + # - name: Cache dependencies + # uses: actions/cache@v4 + # with: + # path: ${{ steps.yarn-cache.outputs.YARN_CACHE_DIR }} + # key: ${{ runner.os }}-pandev-${{ hashFiles('**/yarn.lock') }} + # restore-keys: | + # ${{ runner.os }}-pandev- + + # - name: Cache docusaurus build + # uses: actions/cache@v4 + # with: + # path: node_modules/.cache/webpack + # key: ${{ runner.os }}-pandev-pr-${{ github.event.number }}-${{ hashFiles('**/yarn.lock') }} + # restore-keys: | + # ${{ runner.os }}-pandev-pr-${{ github.event.number }}- - name: Install dependencies run: yarn --prefer-offline From 8444d5709834fa5d50ed2201fa04f50890ecc0d2 Mon Sep 17 00:00:00 2001 From: Steven Serrata <9343811+sserrata@users.noreply.github.com> Date: Wed, 13 Nov 2024 13:31:53 -0500 Subject: [PATCH 4/4] Update deploy-live.yml temporarily disable caching of dependencies and docusaurus build Signed-off-by: Steven Serrata <9343811+sserrata@users.noreply.github.com> --- .github/workflows/deploy-live.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/deploy-live.yml b/.github/workflows/deploy-live.yml index 247d999ed..af0faaa4c 100644 --- a/.github/workflows/deploy-live.yml +++ b/.github/workflows/deploy-live.yml @@ -25,21 +25,21 @@ jobs: id: yarn-cache run: echo "YARN_CACHE_DIR=$(yarn cache dir)" >> "${GITHUB_OUTPUT}" - - name: Cache dependencies - uses: actions/cache@v4 - with: - path: ${{ steps.yarn-cache.outputs.YARN_CACHE_DIR }} - key: ${{ runner.os }}-pandev-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-pandev- + # - name: Cache dependencies + # uses: actions/cache@v4 + # with: + # path: ${{ steps.yarn-cache.outputs.YARN_CACHE_DIR }} + # key: ${{ runner.os }}-pandev-${{ hashFiles('**/yarn.lock') }} + # restore-keys: | + # ${{ runner.os }}-pandev- - - name: Cache docusaurus build - uses: actions/cache@v4 - with: - path: node_modules/.cache/webpack - key: pandev-live-${{ github.run_id }} - restore-keys: | - pandev-live + # - name: Cache docusaurus build + # uses: actions/cache@v4 + # with: + # path: node_modules/.cache/webpack + # key: pandev-live-${{ github.run_id }} + # restore-keys: | + # pandev-live - name: Install dependencies run: yarn --prefer-offline