From fe1213cabb8181221a2b3e484f3e4f9113367420 Mon Sep 17 00:00:00 2001 From: Ezequiel Valencia Date: Thu, 30 Jan 2025 10:05:53 -0500 Subject: [PATCH 1/5] Update to V4 Actions --- .github/workflows/site_deploy.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/site_deploy.yml b/.github/workflows/site_deploy.yml index 95138910f3..06b7b4616a 100644 --- a/.github/workflows/site_deploy.yml +++ b/.github/workflows/site_deploy.yml @@ -77,7 +77,7 @@ jobs: scp docker/swarm/$VCELL_CONFIG_FILE_NAME ${{ secrets.CD_FULL_USER }}@${VCELL_MANAGER_NODE}:${VCELL_DEPLOY_REMOTE_DIR} scp docker/swarm/variables ${{ secrets.CD_FULL_USER }}@${VCELL_MANAGER_NODE}:${VCELL_DEPLOY_REMOTE_DIR}/variables_$VCELL_TAG - name: upload variables - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: variables path: docker/swarm/variables @@ -91,7 +91,7 @@ jobs: ./generate_installers.sh ./${VCELL_CONFIG_FILE_NAME} - name: upload generated installers if: ${{ github.event.inputs.server_only != 'true' }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: installers path: docker/swarm/generated_installers @@ -107,7 +107,7 @@ jobs: steps: - name: download generated installers if: ${{ github.event.inputs.server_only != 'true' }} - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - name: notarize mac installer if: ${{ github.event.inputs.server_only != 'true' }} run: | @@ -142,7 +142,7 @@ jobs: fi - name: update generated installers if: ${{ github.event.inputs.server_only != 'true' }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: installers path: installers @@ -161,7 +161,7 @@ jobs: with: ref: ${{ github.event.inputs.vcell_version }}.${{ github.event.inputs.vcell_build }} - name: retrieve installers and variables - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - name: setenv run: | for line in $(cat variables/variables); do echo $line >> $GITHUB_ENV; done From 2dca3062f194fa3d501b9cc5c304af962561ce28 Mon Sep 17 00:00:00 2001 From: Ezequiel Valencia Date: Fri, 31 Jan 2025 07:43:22 -0500 Subject: [PATCH 2/5] Separate Name For Artifact --- .github/workflows/site_deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/site_deploy.yml b/.github/workflows/site_deploy.yml index 06b7b4616a..03d81d1483 100644 --- a/.github/workflows/site_deploy.yml +++ b/.github/workflows/site_deploy.yml @@ -144,8 +144,8 @@ jobs: if: ${{ github.event.inputs.server_only != 'true' }} uses: actions/upload-artifact@v4 with: - name: installers - path: installers + name: updated_installers + path: updated_installers retention-days: 1 - name: Setup tmate session uses: mxschmitt/action-tmate@v3 @@ -168,7 +168,7 @@ jobs: - name: stage installers if: ${{ github.event.inputs.server_only != 'true' }} run: | - cd installers + cd updated_installers mkdir ../docker/swarm/generated_installers mv * ../docker/swarm/generated_installers - name: setup ssh-agent From a801da5e4d587db82df4d1a5a409c718353c3115 Mon Sep 17 00:00:00 2001 From: Ezequiel Valencia Date: Fri, 31 Jan 2025 08:13:38 -0500 Subject: [PATCH 3/5] Get the regular installers --- .github/workflows/site_deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/site_deploy.yml b/.github/workflows/site_deploy.yml index 03d81d1483..5c589f25d5 100644 --- a/.github/workflows/site_deploy.yml +++ b/.github/workflows/site_deploy.yml @@ -145,7 +145,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: updated_installers - path: updated_installers + path: installers retention-days: 1 - name: Setup tmate session uses: mxschmitt/action-tmate@v3 @@ -162,6 +162,8 @@ jobs: ref: ${{ github.event.inputs.vcell_version }}.${{ github.event.inputs.vcell_build }} - name: retrieve installers and variables uses: actions/download-artifact@v4 + with: + name: updated_installers - name: setenv run: | for line in $(cat variables/variables); do echo $line >> $GITHUB_ENV; done From 569d9fac5e53dedf0afd1ba49f3cc8a0304fc40b Mon Sep 17 00:00:00 2001 From: Ezequiel Valencia Date: Fri, 31 Jan 2025 09:05:23 -0500 Subject: [PATCH 4/5] Update Installers Download Path --- .github/workflows/site_deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/site_deploy.yml b/.github/workflows/site_deploy.yml index 5c589f25d5..43743eaa96 100644 --- a/.github/workflows/site_deploy.yml +++ b/.github/workflows/site_deploy.yml @@ -164,6 +164,7 @@ jobs: uses: actions/download-artifact@v4 with: name: updated_installers + path: updated_installers - name: setenv run: | for line in $(cat variables/variables); do echo $line >> $GITHUB_ENV; done From f6a0428b986c476763094425c6547ff3e96f9433 Mon Sep 17 00:00:00 2001 From: Ezequiel Valencia Date: Fri, 31 Jan 2025 10:22:12 -0500 Subject: [PATCH 5/5] Retrieve Variables --- .github/workflows/site_deploy.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/site_deploy.yml b/.github/workflows/site_deploy.yml index 43743eaa96..510bb739bf 100644 --- a/.github/workflows/site_deploy.yml +++ b/.github/workflows/site_deploy.yml @@ -160,11 +160,16 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ github.event.inputs.vcell_version }}.${{ github.event.inputs.vcell_build }} - - name: retrieve installers and variables + - name: retrieve installers uses: actions/download-artifact@v4 with: name: updated_installers path: updated_installers + - name: retrieve variables + uses: actions/download-artifact@v4 + with: + name: variables + path: variables - name: setenv run: | for line in $(cat variables/variables); do echo $line >> $GITHUB_ENV; done