mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[ACS-10838] change deploy job execution sequence
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user