mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
AAE-0000 e2e affected were not running on ADF pipeline' (#9409)
This commit is contained in:
7
.github/actions/e2e/action.yml
vendored
7
.github/actions/e2e/action.yml
vendored
@@ -33,6 +33,7 @@ inputs:
|
|||||||
description: check ps cloud env
|
description: check ps cloud env
|
||||||
default: "false"
|
default: "false"
|
||||||
e2e-tar-name: #
|
e2e-tar-name: #
|
||||||
|
description: tarball name
|
||||||
required: false
|
required: false
|
||||||
default: e2e.tar.gz
|
default: e2e.tar.gz
|
||||||
apa-proxy: #
|
apa-proxy: #
|
||||||
@@ -77,7 +78,7 @@ runs:
|
|||||||
- name: download smartrunner test results from s3 bucket if they exist
|
- name: download smartrunner test results from s3 bucket if they exist
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
REMOTE_PATH: smart-runner/${{ github.run_id}}/${{ inputs.e2e-test-folder }}-${{ inputs.e2e-test-id}}/e2e.tar.gz
|
REMOTE_PATH: smart-runner/${{ github.run_id}}/${{ inputs.e2e-test-folder }}-${{ inputs.e2e-artifact-id}}/e2e.tar.gz
|
||||||
run: |
|
run: |
|
||||||
set -u;
|
set -u;
|
||||||
mkdir -p "${SMART_RUNNER_PATH}"
|
mkdir -p "${SMART_RUNNER_PATH}"
|
||||||
@@ -186,14 +187,14 @@ runs:
|
|||||||
if: ${{ steps.determine-affected.outputs.isAffected == 'true' }}
|
if: ${{ steps.determine-affected.outputs.isAffected == 'true' }}
|
||||||
uses: actions/upload-artifact@1eb3cb2b3e0f29609092a73eb033bb759a334595 # v4.1.0
|
uses: actions/upload-artifact@1eb3cb2b3e0f29609092a73eb033bb759a334595 # v4.1.0
|
||||||
with:
|
with:
|
||||||
name: e2e-artifact-output-${{inputs.e2e-test-id}}
|
name: e2e-artifact-output-${{inputs.e2e-artifact-id}}
|
||||||
path: /home/runner/work/alfresco-ng2-components/alfresco-ng2-components/e2e-output-*
|
path: /home/runner/work/alfresco-ng2-components/alfresco-ng2-components/e2e-output-*
|
||||||
|
|
||||||
- name: upload smart-runner tests results on s3 to cache tests
|
- name: upload smart-runner tests results on s3 to cache tests
|
||||||
shell: bash
|
shell: bash
|
||||||
if: always()
|
if: always()
|
||||||
env:
|
env:
|
||||||
REMOTE_PATH: "smart-runner/${{ github.run_id}}/${{ inputs.e2e-test-folder }}-${{ inputs.e2e-test-id}}/e2e.tar.gz"
|
REMOTE_PATH: "smart-runner/${{ github.run_id}}/${{ inputs.e2e-test-folder }}-${{inputs.e2e-artifact-id}}/e2e.tar.gz"
|
||||||
# description: always upload newer results
|
# description: always upload newer results
|
||||||
run: |
|
run: |
|
||||||
tar czf "${{ inputs.e2e-tar-name }}" "${SMART_RUNNER_PATH}"
|
tar czf "${{ inputs.e2e-tar-name }}" "${SMART_RUNNER_PATH}"
|
||||||
|
47
.github/workflows/pull-request.yml
vendored
47
.github/workflows/pull-request.yml
vendored
@@ -11,7 +11,7 @@ on:
|
|||||||
devel:
|
devel:
|
||||||
description: 'devel'
|
description: 'devel'
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
cron-run:
|
cron-run:
|
||||||
description: 'disables jobs which should not run when cron runs e2es'
|
description: 'disables jobs which should not run when cron runs e2es'
|
||||||
@@ -308,6 +308,7 @@ jobs:
|
|||||||
e2e-test:
|
e2e-test:
|
||||||
- description: "Core"
|
- description: "Core"
|
||||||
test-id: "core"
|
test-id: "core"
|
||||||
|
artifact-id: "core"
|
||||||
folder: "core"
|
folder: "core"
|
||||||
provider: "ALL"
|
provider: "ALL"
|
||||||
auth: "OAUTH"
|
auth: "OAUTH"
|
||||||
@@ -315,49 +316,56 @@ jobs:
|
|||||||
check-ps-env: "true"
|
check-ps-env: "true"
|
||||||
deps: "testing"
|
deps: "testing"
|
||||||
- description: "Content: Components"
|
- description: "Content: Components"
|
||||||
test-id: "content-services-components"
|
test-id: "content-services"
|
||||||
|
artifact-id: "content-services-components"
|
||||||
folder: "content-services/components"
|
folder: "content-services/components"
|
||||||
provider: "ECM"
|
provider: "ECM"
|
||||||
auth: "BASIC"
|
auth: "BASIC"
|
||||||
check-cs-env: "true"
|
check-cs-env: "true"
|
||||||
deps: "testing"
|
deps: "testing"
|
||||||
- description: "Content: Directives"
|
- description: "Content: Directives"
|
||||||
test-id: "content-services-directives"
|
test-id: "content-services"
|
||||||
|
artifact-id: "content-services-directives"
|
||||||
folder: "content-services/directives"
|
folder: "content-services/directives"
|
||||||
provider: "ECM"
|
provider: "ECM"
|
||||||
auth: "BASIC"
|
auth: "BASIC"
|
||||||
check-cs-env: "true"
|
check-cs-env: "true"
|
||||||
deps: "testing"
|
deps: "testing"
|
||||||
- description: "Content: Document List"
|
- description: "Content: Document List"
|
||||||
test-id: "content-services-document-list"
|
test-id: "content-services"
|
||||||
|
artifact-id: "content-services-document-list"
|
||||||
folder: "content-services/document-list"
|
folder: "content-services/document-list"
|
||||||
provider: "ECM"
|
provider: "ECM"
|
||||||
auth: "BASIC"
|
auth: "BASIC"
|
||||||
check-cs-env: "true"
|
check-cs-env: "true"
|
||||||
deps: "testing"
|
deps: "testing"
|
||||||
- description: "Content: Metadata"
|
- description: "Content: Metadata"
|
||||||
test-id: "content-services-metadata"
|
test-id: "content-services"
|
||||||
|
artifact-id: "content-services-metadata"
|
||||||
folder: "content-services/metadata"
|
folder: "content-services/metadata"
|
||||||
provider: "ECM"
|
provider: "ECM"
|
||||||
auth: "BASIC"
|
auth: "BASIC"
|
||||||
check-cs-env: "true"
|
check-cs-env: "true"
|
||||||
deps: "testing"
|
deps: "testing"
|
||||||
- description: "Content: Upload and Versioning"
|
- description: "Content: Upload and Versioning"
|
||||||
test-id: "content-services-upload"
|
test-id: "content-services"
|
||||||
|
artifact-id: "content-services-upload"
|
||||||
folder: "content-services/upload"
|
folder: "content-services/upload"
|
||||||
provider: "ECM"
|
provider: "ECM"
|
||||||
auth: "BASIC"
|
auth: "BASIC"
|
||||||
check-cs-env: "true"
|
check-cs-env: "true"
|
||||||
deps: "testing"
|
deps: "testing"
|
||||||
- description: "Search"
|
- description: "Search"
|
||||||
test-id: "content-services-search"
|
test-id: "content-services"
|
||||||
|
artifact-id: "content-services-search"
|
||||||
folder: "search"
|
folder: "search"
|
||||||
provider: "ECM"
|
provider: "ECM"
|
||||||
auth: "BASIC"
|
auth: "BASIC"
|
||||||
check-cs-env: "true"
|
check-cs-env: "true"
|
||||||
deps: "testing"
|
deps: "testing"
|
||||||
- description: "Process: Form"
|
- description: "Process: Form"
|
||||||
test-id: "process-services-form"
|
test-id: "process-services"
|
||||||
|
artifact-id: "process-services-form"
|
||||||
folder: "process-services/form"
|
folder: "process-services/form"
|
||||||
provider: "BPM"
|
provider: "BPM"
|
||||||
auth: "OAUTH"
|
auth: "OAUTH"
|
||||||
@@ -365,7 +373,8 @@ jobs:
|
|||||||
check-external-cs-env: "true"
|
check-external-cs-env: "true"
|
||||||
deps: "testing"
|
deps: "testing"
|
||||||
- description: "Process: Process"
|
- description: "Process: Process"
|
||||||
test-id: "process-services-process"
|
test-id: "process-services"
|
||||||
|
artifact-id: "process-services-process"
|
||||||
folder: "process-services/process"
|
folder: "process-services/process"
|
||||||
provider: "BPM"
|
provider: "BPM"
|
||||||
auth: "OAUTH"
|
auth: "OAUTH"
|
||||||
@@ -373,7 +382,8 @@ jobs:
|
|||||||
check-external-cs-env: "true"
|
check-external-cs-env: "true"
|
||||||
deps: "testing"
|
deps: "testing"
|
||||||
- description: "Process: Tasks"
|
- description: "Process: Tasks"
|
||||||
test-id: "process-services-tasks"
|
test-id: "process-services"
|
||||||
|
artifact-id: "process-services-tasks"
|
||||||
folder: "process-services/tasks"
|
folder: "process-services/tasks"
|
||||||
provider: "BPM"
|
provider: "BPM"
|
||||||
auth: "OAUTH"
|
auth: "OAUTH"
|
||||||
@@ -381,7 +391,8 @@ jobs:
|
|||||||
check-external-cs-env: "true"
|
check-external-cs-env: "true"
|
||||||
deps: "testing"
|
deps: "testing"
|
||||||
- description: "Process: Widget"
|
- description: "Process: Widget"
|
||||||
test-id: "process-services-widgets"
|
test-id: "process-services"
|
||||||
|
artifact-id: "process-services-widgets"
|
||||||
folder: "process-services/widgets"
|
folder: "process-services/widgets"
|
||||||
provider: "BPM"
|
provider: "BPM"
|
||||||
auth: "OAUTH"
|
auth: "OAUTH"
|
||||||
@@ -389,7 +400,8 @@ jobs:
|
|||||||
check-external-cs-env: "true"
|
check-external-cs-env: "true"
|
||||||
deps: "testing"
|
deps: "testing"
|
||||||
- description: "Process Cloud: Form"
|
- description: "Process Cloud: Form"
|
||||||
test-id: "process-services-cloud-form-field"
|
test-id: "process-services-cloud"
|
||||||
|
artifact-id: "process-services-cloud-form-field"
|
||||||
folder: "process-services-cloud/form-field"
|
folder: "process-services-cloud/form-field"
|
||||||
provider: "ALL"
|
provider: "ALL"
|
||||||
auth: "OAUTH"
|
auth: "OAUTH"
|
||||||
@@ -398,7 +410,8 @@ jobs:
|
|||||||
check-ps-cloud-env: "true"
|
check-ps-cloud-env: "true"
|
||||||
deps: "testing"
|
deps: "testing"
|
||||||
- description: "Process Cloud: Process"
|
- description: "Process Cloud: Process"
|
||||||
test-id: "process-services-cloud-process"
|
test-id: "process-services-cloud"
|
||||||
|
artifact-id: "process-services-cloud-process"
|
||||||
folder: "process-services-cloud/process"
|
folder: "process-services-cloud/process"
|
||||||
provider: "ALL"
|
provider: "ALL"
|
||||||
auth: "OAUTH"
|
auth: "OAUTH"
|
||||||
@@ -407,7 +420,8 @@ jobs:
|
|||||||
check-ps-cloud-env: "true"
|
check-ps-cloud-env: "true"
|
||||||
deps: "testing"
|
deps: "testing"
|
||||||
- description: "Process Cloud: Start Task"
|
- description: "Process Cloud: Start Task"
|
||||||
test-id: "process-services-cloud-start-task"
|
test-id: "process-services-cloud"
|
||||||
|
artifact-id: "process-services-cloud-start-task"
|
||||||
folder: "process-services-cloud/start-task"
|
folder: "process-services-cloud/start-task"
|
||||||
provider: "ALL"
|
provider: "ALL"
|
||||||
auth: "OAUTH"
|
auth: "OAUTH"
|
||||||
@@ -416,7 +430,8 @@ jobs:
|
|||||||
check-ps-cloud-env: "true"
|
check-ps-cloud-env: "true"
|
||||||
deps: "testing"
|
deps: "testing"
|
||||||
- description: "Process Cloud: Tasks List"
|
- description: "Process Cloud: Tasks List"
|
||||||
test-id: "process-services-cloud-task-list"
|
test-id: "process-services-cloud"
|
||||||
|
artifact-id: "process-services-cloud-task-list"
|
||||||
folder: "process-services-cloud/task-list"
|
folder: "process-services-cloud/task-list"
|
||||||
provider: "ALL"
|
provider: "ALL"
|
||||||
auth: "OAUTH"
|
auth: "OAUTH"
|
||||||
@@ -442,6 +457,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
e2e-test-id: ${{ matrix.e2e-test.test-id }}
|
e2e-test-id: ${{ matrix.e2e-test.test-id }}
|
||||||
e2e-test-folder: ${{ matrix.e2e-test.folder }}
|
e2e-test-folder: ${{ matrix.e2e-test.folder }}
|
||||||
|
e2e-artifact-id: ${{matrix.e2e-test.artifact-id}}
|
||||||
e2e-test-provider: ${{ matrix.e2e-test.provider }}
|
e2e-test-provider: ${{ matrix.e2e-test.provider }}
|
||||||
e2e-test-auth: ${{ matrix.e2e-test.auth }}
|
e2e-test-auth: ${{ matrix.e2e-test.auth }}
|
||||||
check-cs-env: ${{ matrix.e2e-test.check-cs-env }}
|
check-cs-env: ${{ matrix.e2e-test.check-cs-env }}
|
||||||
@@ -515,4 +531,3 @@ jobs:
|
|||||||
- name: workflow success
|
- name: workflow success
|
||||||
run: exit 0
|
run: exit 0
|
||||||
if: ${{ contains(needs.*.result, 'success') }}
|
if: ${{ contains(needs.*.result, 'success') }}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user