From acfbe9a31880ecfe15888386bf40a2afe2b16088 Mon Sep 17 00:00:00 2001 From: Burak Yigit Kaya Date: Fri, 10 Jan 2025 22:42:34 +0000 Subject: [PATCH] ci: Switch e2e test to self-hosted repo (#6746) --- .github/workflows/ci.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e6a6f3fe33f..b50db2ea915 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -429,19 +429,17 @@ jobs: 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: 30 steps: - - name: Checkout Snuba - uses: actions/checkout@v4 - name: Run Sentry self-hosted e2e CI - uses: getsentry/action-self-hosted-e2e-tests@main + uses: getsentry/self-hosted@master 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 }} + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} publish-to-dockerhub: name: Publish Snuba to DockerHub