Test artifact upload
This commit is contained in:
parent
06da097968
commit
524ad3db3e
|
@ -2,8 +2,7 @@
|
||||||
|
|
||||||
s3_upload () {
|
s3_upload () {
|
||||||
aws s3 cp "$1" "$2" \
|
aws s3 cp "$1" "$2" \
|
||||||
--recursive \
|
--recursive
|
||||||
--only-show-errors
|
|
||||||
}
|
}
|
||||||
|
|
||||||
upload_allure_results () {
|
upload_allure_results () {
|
||||||
|
@ -14,14 +13,14 @@ upload_allure_results () {
|
||||||
SOURCE="$ALLURE_RESULTS_DIR"
|
SOURCE="$ALLURE_RESULTS_DIR"
|
||||||
DESTINATION="$S3_BUCKET/artifacts/$GITHUB_RUN_ID/$ARTIFACT_NAME/allure-results"
|
DESTINATION="$S3_BUCKET/artifacts/$GITHUB_RUN_ID/$ARTIFACT_NAME/allure-results"
|
||||||
|
|
||||||
s3_upload $SOURCE $DESTINATION
|
s3_upload "$SOURCE" "$DESTINATION"
|
||||||
}
|
}
|
||||||
|
|
||||||
upload_allure_report () {
|
upload_allure_report () {
|
||||||
SOURCE="$ALLURE_REPORT_DIR"
|
SOURCE="$ALLURE_REPORT_DIR"
|
||||||
DESTINATION="$S3_BUCKET/artifacts/$GITHUB_RUN_ID/$ARTIFACT_NAME/allure-report"
|
DESTINATION="$S3_BUCKET/artifacts/$GITHUB_RUN_ID/$ARTIFACT_NAME/allure-report"
|
||||||
|
|
||||||
s3_upload $SOURCE $DESTINATION
|
s3_upload "$SOURCE" "$DESTINATION"
|
||||||
}
|
}
|
||||||
|
|
||||||
upload_allure_results
|
upload_allure_results
|
||||||
|
|
|
@ -203,6 +203,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
report-name: e2e-wp-latest--partial--run-${{ github.run_number }}
|
report-name: e2e-wp-latest--partial--run-${{ github.run_number }}
|
||||||
playwright-config: ignore-plugin-tests.playwright.config.js
|
playwright-config: ignore-plugin-tests.playwright.config.js
|
||||||
|
tests: basic.spec.js # mytodo remove this
|
||||||
env:
|
env:
|
||||||
ADMIN_PASSWORD: ${{ secrets.RELEASE_TEST_ADMIN_PASSWORD }}
|
ADMIN_PASSWORD: ${{ secrets.RELEASE_TEST_ADMIN_PASSWORD }}
|
||||||
ADMIN_USER: ${{ secrets.RELEASE_TEST_ADMIN_USER }}
|
ADMIN_USER: ${{ secrets.RELEASE_TEST_ADMIN_USER }}
|
||||||
|
@ -405,6 +406,7 @@ jobs:
|
||||||
DEFAULT_TIMEOUT_OVERRIDE: 120000
|
DEFAULT_TIMEOUT_OVERRIDE: 120000
|
||||||
with:
|
with:
|
||||||
report-name: ${{ env.E2E_WP_LATEST_X_ARTIFACT }}
|
report-name: ${{ env.E2E_WP_LATEST_X_ARTIFACT }}
|
||||||
|
tests: basic.spec.js # mytodo remove this
|
||||||
|
|
||||||
- name: Upload Allure artifacts to bucket
|
- name: Upload Allure artifacts to bucket
|
||||||
if: success() || ( failure() && steps.run-e2e-composite-action.conclusion == 'failure' )
|
if: success() || ( failure() && steps.run-e2e-composite-action.conclusion == 'failure' )
|
||||||
|
@ -527,6 +529,7 @@ jobs:
|
||||||
E2E_MAX_FAILURES: 15
|
E2E_MAX_FAILURES: 15
|
||||||
with:
|
with:
|
||||||
report-name: ${{ env.E2E_ARTIFACT }}
|
report-name: ${{ env.E2E_ARTIFACT }}
|
||||||
|
tests: basic.spec.js # mytodo remove this
|
||||||
|
|
||||||
- name: Upload Allure artifacts to bucket
|
- name: Upload Allure artifacts to bucket
|
||||||
if: success() || ( failure() && steps.run-e2e-composite-action.conclusion == 'failure' )
|
if: success() || ( failure() && steps.run-e2e-composite-action.conclusion == 'failure' )
|
||||||
|
@ -626,6 +629,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
playwright-config: ignore-plugin-tests.playwright.config.js
|
playwright-config: ignore-plugin-tests.playwright.config.js
|
||||||
report-name: ${{ env.ARTIFACT_NAME }}
|
report-name: ${{ env.ARTIFACT_NAME }}
|
||||||
|
tests: basic.spec.js # mytodo remove this
|
||||||
env:
|
env:
|
||||||
E2E_MAX_FAILURES: 15
|
E2E_MAX_FAILURES: 15
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue