Skip to content

Commit

Permalink
chore(self-hosted): Add self-hosted e2e test action (#5828)
Browse files Browse the repository at this point in the history
* add self-hosted e2e test action
  • Loading branch information
hubertdeng123 committed Apr 30, 2024
1 parent 6680821 commit aff21c6
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,25 @@ jobs:
- name: Upload to codecov
run: |
curl -Os https://uploader.codecov.io/latest/linux/codecov && chmod +x codecov && ./codecov -t ${CODECOV_TOKEN}
self-hosted-end-to-end:
needs: [snuba-image]
runs-on: ubuntu-latest
timeout-minutes: 25
# temporary, remove once we are confident the action is working
continue-on-error: true

steps:
- name: Checkout Snuba
uses: actions/checkout@v3
- name: Run Sentry self-hosted e2e CI
uses: getsentry/action-self-hosted-e2e-tests@267fab2add9e173029c1e09ecfd82e04688d7c44
with:
project_name: snuba
docker_repo: getsentry/snuba
image_url: us.gcr.io/sentryio/snuba:${{ github.event.pull_request.head.sha || github.sha }}
docker_password: ${{ secrets.DOCKER_HUB_RW_TOKEN }}

publish-to-dockerhub:
name: Publish Snuba to DockerHub
runs-on: ubuntu-20.04
Expand Down

0 comments on commit aff21c6

Please sign in to comment.