Skip to content

Commit

Permalink
Update manual-run.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rknj authored Oct 21, 2024
1 parent 0d4d018 commit 92bbccd
Showing 1 changed file with 9 additions and 56 deletions.
65 changes: 9 additions & 56 deletions .github/workflows/manual-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,59 +16,12 @@ on:

jobs:
integration-tests:
name: Integration Tests
runs-on: self-hosted
steps:
- uses: jahia/jahia-modules-action/helper@v2
- uses: actions/checkout@v4
- uses: KengoTODA/actions-setup-docker-compose@main
with:
version: '1.29.2'
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- uses: jahia/jahia-modules-action/integration-tests@v2
with:
module_id: site-settings-seo
testrail_project: SEO Module
timeout_minutes: 45
jahia_image: ${{ github.event.inputs.jahia_image }}
should_use_build_artifacts: false
should_skip_artifacts: true
should_skip_notifications: true
should_skip_testrail: true
should_skip_zencrepes: false
github_artifact_name: seo-standalone-artifacts-${{ github.run_number }}
bastion_ssh_private_key: ${{ secrets.BASTION_SSH_PRIVATE_KEY_JAHIACI }}
tests_manifest: ${{ github.event.inputs.manifest }}
jahia_license: ${{ secrets.JAHIA_LICENSE_8X_FULL }}
docker_username: ${{ secrets.DOCKERHUB_USERNAME }}
docker_password: ${{ secrets.DOCKERHUB_PASSWORD }}
nexus_username: ${{ secrets.NEXUS_USERNAME }}
nexus_password: ${{ secrets.NEXUS_PASSWORD }}
testrail_username: ${{ secrets.TESTRAIL_USERNAME }}
testrail_password: ${{ secrets.TESTRAIL_PASSWORD }}
incident_pagerduty_api_key: ${{ secrets.INCIDENT_PAGERDUTY_API_KEY }}
incident_pagerduty_reporter_email: ${{ secrets.INCIDENT_PAGERDUTY_REPORTER_EMAIL }}
incident_pagerduty_reporter_id: ${{ secrets.INCIDENT_PAGERDUTY_REPORTER_ID }}
incident_google_spreadsheet_id: ${{ secrets.INCIDENT_GOOGLE_SPREADSHEET_ID }}
incident_google_client_email: ${{ secrets.INCIDENT_GOOGLE_CLIENT_EMAIL }}
incident_google_api_key_base64: ${{ secrets.INCIDENT_GOOGLE_PRIVATE_KEY_BASE64 }}
zencrepes_secret: ${{ secrets.ZENCREPES_WEBHOOK_SECRET }}
- name: Test Report
uses: phoenix-actions/test-reporting@v12
if: success() || failure()
with:
name: Tests Report (Manual Run)
path: tests/artifacts/results/xml_reports/**/*.xml
reporter: java-junit
fail-on-error: 'false'
output-to: 'step-summary'

# Tmate only starts if any of the previous steps fails.
# Be careful since it also means that if a step fails the workflow will
# keep running until it reaches the timeout.
- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: 15
uses: Jahia/jahia-modules-action/.github/workflows/integration-tests.yml@v2
secrets: inherit
with:
jahia_image: ${{ github.event.inputs.jahia_image }}
module_id: site-settings-seo
testrail_project: SEO module
pagerduty_skip_notification: true
provisioning_manifest: ${{ github.event.inputs.manifest }}
artifact_prefix: seo

0 comments on commit 92bbccd

Please sign in to comment.