Skip to content

Commit

Permalink
ref(ci): Disable self-hosted e2e CI due to resource constraints (#6620)
Browse files Browse the repository at this point in the history
Seeing self-hosted CI fail in numerous places, but it is not clear
exactly what is causing these failures as the logs are not explanatory.
Thinking it may be due to resource constraints from github runners.
Either way, don't want to block CI until this can be investigated
properly

In terms of the impact of turning this off, self-hosted e2e tests are
still run in the self-hosted repo twice per day which should pick up
changes from snuba master
  • Loading branch information
hubertdeng123 authored Dec 5, 2024
1 parent 194c398 commit a8452e2
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -387,20 +387,21 @@ jobs:
run: |
curl -Os https://uploader.codecov.io/latest/linux/codecov && chmod +x codecov && ./codecov -t ${CODECOV_TOKEN}
self-hosted-end-to-end:
runs-on: ubuntu-latest
timeout-minutes: 30

steps:
- name: Checkout Snuba
uses: actions/checkout@v4
- name: Run Sentry self-hosted e2e CI
uses: getsentry/action-self-hosted-e2e-tests@main
with:
project_name: snuba
docker_repo: getsentry/snuba
image_url: us-central1-docker.pkg.dev/sentryio/snuba/image:${{ github.event.pull_request.head.sha || github.sha }}
docker_password: ${{ secrets.DOCKER_HUB_RW_TOKEN }}
# TODO: Re-enable this once CI is stable, seems to be running into issues potentially with resource constraints
# self-hosted-end-to-end:
# runs-on: ubuntu-latest
# timeout-minutes: 30

# steps:
# - name: Checkout Snuba
# uses: actions/checkout@v4
# - name: Run Sentry self-hosted e2e CI
# uses: getsentry/action-self-hosted-e2e-tests@main
# with:
# project_name: snuba
# docker_repo: getsentry/snuba
# image_url: us-central1-docker.pkg.dev/sentryio/snuba/image:${{ github.event.pull_request.head.sha || github.sha }}
# docker_password: ${{ secrets.DOCKER_HUB_RW_TOKEN }}

publish-to-dockerhub:
name: Publish Snuba to DockerHub
Expand Down

0 comments on commit a8452e2

Please sign in to comment.