self-hosted-e2e-tests.yml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. name: Self-hosted Sentry end to end tests
  2. on:
  3. push:
  4. branches:
  5. - master
  6. - releases/**
  7. pull_request:
  8. # Cancel in progress workflows on pull_requests.
  9. # https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value
  10. concurrency:
  11. group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
  12. cancel-in-progress: true
  13. jobs:
  14. self-hosted-end-to-end:
  15. name: self-hosted tests
  16. runs-on: ubuntu-20.04
  17. # temporary, remove once we are confident the action is working
  18. continue-on-error: true
  19. timeout-minutes: 30
  20. steps:
  21. - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
  22. - name: Check for backend file changes
  23. uses: getsentry/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
  24. id: changes
  25. with:
  26. token: ${{ github.token }}
  27. filters: .github/file-filters.yml
  28. - name: Run Sentry self-hosted e2e CI
  29. if: steps.changes.outputs.backend_all == 'true'
  30. uses: getsentry/action-self-hosted-e2e-tests@3f39ef5bbb432f3f1d163f7e312e8425de2244c7
  31. with:
  32. project_name: sentry
  33. image_url: us.gcr.io/sentryio/sentry:${{ github.event.pull_request.head.sha || github.sha }}
  34. docker_repo: getsentry/sentry
  35. docker_password: ${{ secrets.DOCKER_HUB_RW_TOKEN }}