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'
|
node-version-file: '.nvmrc'
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
|
|
||||||
- name: Before install
|
- name: Free hosted runner disk space
|
||||||
uses: ./.github/actions/before-install
|
uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v10.5.0
|
||||||
- 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: Deploy local ACS
|
- name: Deploy local ACS
|
||||||
id: deploy-local-acs
|
id: deploy-local-acs
|
||||||
@@ -204,6 +195,18 @@ jobs:
|
|||||||
quay_password: ${{ secrets.QUAY_PASSWORD }}
|
quay_password: ${{ secrets.QUAY_PASSWORD }}
|
||||||
acs_deployment_version: 'latest'
|
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
|
- name: Set environment based on deployment outcome
|
||||||
id: set-env
|
id: set-env
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -218,6 +221,20 @@ jobs:
|
|||||||
echo "⚠️ Local ACS deployment failed - falling back to adwe2e environment"
|
echo "⚠️ Local ACS deployment failed - falling back to adwe2e environment"
|
||||||
fi
|
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
|
- name: Before e2e
|
||||||
uses: ./.github/actions/before-e2e
|
uses: ./.github/actions/before-e2e
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user