Skip to content

Commit

Permalink
Temporarily disable Thundra on master branch (#4570)
Browse files Browse the repository at this point in the history
  • Loading branch information
rnorth authored Oct 12, 2021
1 parent 1ad2a05 commit 92155d9
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@ env:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

jobs:
thundra_test_initializer:
runs-on: ubuntu-latest
outputs:
thundra_agent_testrun_id: ${{ steps.thundra_test_initializer.outputs.thundra_agent_testrun_id }}
steps:
- uses: actions/checkout@v2
- id: thundra_test_initializer
uses: thundra-io/thundra-test-init-action@v1
find_gradle_jobs:
runs-on: ubuntu-18.04
outputs:
Expand All @@ -42,7 +34,7 @@ jobs:
echo $TASKS
echo "::set-output name=matrix::{\"gradle_args\":$TASKS}"
check:
needs: [find_gradle_jobs, thundra_test_initializer]
needs: [find_gradle_jobs]
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.find_gradle_jobs.outputs.matrix) }}
Expand All @@ -61,19 +53,9 @@ jobs:
key: ${{ runner.os }}-gradle-home-${{matrix.gradle_args}}_check-${{ hashFiles('**/*.gradle') }}
- name: Clear existing docker image cache
run: docker image prune -af
- name: Thundra Gradle Test Instrumentation
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
uses: thundra-io/thundra-gradle-test-action@v1
with:
apikey: ${{ secrets.THUNDRA_API_KEY }}
project_id: ${{ secrets.THUNDRA_PROJECT_ID }}
- name: Build and test with Gradle (${{matrix.gradle_args}})
run: |
./gradlew --no-daemon --continue --scan ${{matrix.gradle_args}} \
$($THUNDRA_GRADLE_INIT_SCRIPT_PATH || echo "--init-script $THUNDRA_GRADLE_INIT_SCRIPT_PATH")
env:
THUNDRA_AGENT_TEST_RUN_ID: ${{ needs.thundra_test_initializer.outputs.thundra_agent_testrun_id }}
THUNDRA_AGENT_REPORT_REST_BASEURL: https://collector.thundra.us/v1
./gradlew --no-daemon --continue --scan ${{matrix.gradle_args}}
httpclient5_test:
runs-on: ubuntu-18.04
steps:
Expand Down

0 comments on commit 92155d9

Please sign in to comment.