[ACS-10838] change deploy job execution sequence

This commit is contained in:
akashrathod28
2025-12-09 14:12:25 +01:00
parent 36a6114440
commit 3046154d34
+28 -11
View File
@@ -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