name: Self-hosted Sentry end to end tests on: push: branches: - master - releases/** pull_request: # Cancel in progress workflows on pull_requests. # https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} cancel-in-progress: true jobs: self-hosted-end-to-end: name: self-hosted tests runs-on: ubuntu-20.04 # temporary, remove once we are confident the action is working continue-on-error: true timeout-minutes: 30 steps: - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0 - name: Check for backend file changes uses: getsentry/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1 id: changes with: token: ${{ github.token }} filters: .github/file-filters.yml - name: Run Sentry self-hosted e2e CI if: steps.changes.outputs.backend_all == 'true' uses: getsentry/action-self-hosted-e2e-tests@3f39ef5bbb432f3f1d163f7e312e8425de2244c7 with: project_name: sentry image_url: us.gcr.io/sentryio/sentry:${{ github.event.pull_request.head.sha || github.sha }} docker_repo: getsentry/sentry docker_password: ${{ secrets.DOCKER_HUB_RW_TOKEN }}