From 3046154d3401a9b4b3abf1bd463dfa6875de735b Mon Sep 17 00:00:00 2001 From: akashrathod28 Date: Tue, 9 Dec 2025 14:12:25 +0100 Subject: [PATCH] [ACS-10838] change deploy job execution sequence --- .github/workflows/pull-request.yml | 39 +++++++++++++++++++++--------- 1 file changed, 28 insertions(+), 11 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 7364389d9..17808cd3b 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -181,17 +181,8 @@ jobs: node-version-file: '.nvmrc' cache: 'npm' - - name: Before install - uses: ./.github/actions/before-install - - name: Install dependencies - run: npm ci - - - name: Restore dist cache - uses: actions/cache/restore@v4 - id: cache - with: - path: ./dist/content-ce - key: cache-dist-${{ github.run_id }} + - name: Free hosted runner disk space + uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v10.5.0 - name: Deploy local ACS id: deploy-local-acs @@ -204,6 +195,18 @@ jobs: quay_password: ${{ secrets.QUAY_PASSWORD }} acs_deployment_version: 'latest' + - name: Before install + uses: ./.github/actions/before-install + - name: Install dependencies + run: npm ci + + - name: Restore dist cache + uses: actions/cache/restore@v4 + id: cache + with: + path: ./dist/content-ce + key: cache-dist-${{ github.run_id }} + - name: Set environment based on deployment outcome id: set-env shell: bash @@ -218,6 +221,20 @@ jobs: echo "⚠️ Local ACS deployment failed - falling back to adwe2e environment" fi +<<<<<<< HEAD +======= + - name: Log environment configuration + shell: bash + run: | + echo "==========================================" + echo "E2E Test Environment Configuration" + echo "==========================================" + echo "Environment: ${{ env.ENVIRONMENT }}" + echo "BASE_URL: ${{ env.BASE_URL }}" + echo "PLAYWRIGHT_E2E_HOST: ${{ env.PLAYWRIGHT_E2E_HOST }}" + echo "==========================================" + +>>>>>>> 5df9f3b4f77fe23b20eb504dde0b7eac8ac4ba74 - name: Before e2e uses: ./.github/actions/before-e2e