Skip to content

Remove muzzle from CircleCI #8703

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 0 additions & 88 deletions .circleci/config.continue.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -744,79 +744,6 @@ jobs:
path: ./reports

- display_memory_usage
muzzle-dep-report:
<<: *defaults
resource_class: medium
steps:
- setup_code
- skip_unless_matching_files_changed:
pattern: "dd-java-agent/instrumentation"
- restore_dependency_cache:
cacheType: inst
- restore_build_cache:
cacheType: inst
- run:
name: Generate muzzle dep report
command: >-
SKIP_BUILDSCAN="true"
GRADLE_OPTS="-Dorg.gradle.jvmargs='-Xmx2G -Xms2G -XX:ErrorFile=/tmp/hs_err_pid%p.log -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp'"
./gradlew generateMuzzleReport muzzleInstrumentationReport
- run:
name: Collect Reports
command: .circleci/collect_muzzle_deps.sh
- store_artifacts:
path: ./reports

muzzle:
<<: *defaults
resource_class: medium+
parallelism: 4
steps:
- setup_code

- skip_unless_matching_files_changed:
pattern: "dd-java-agent/instrumentation"

# We are not running with a separate cache of all muzzle artifacts here because it gets very big and
# ends up taking more time restoring/saving than the actual increase in time it takes just
# downloading the artifacts each time.
#
# Let's at least restore the build cache to have something to start from.
- restore_dependency_cache:
cacheType: inst
- restore_build_cache:
cacheType: inst

- run:
name: Gather muzzle tasks
command: >-
SKIP_BUILDSCAN="true"
GRADLE_OPTS="-Dorg.gradle.jvmargs='-Xmx2G -Xms2G -XX:ErrorFile=/tmp/hs_err_pid%p.log -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp'"
./gradlew writeMuzzleTasksToFile
<< pipeline.parameters.gradle_flags >>
--max-workers=3

- run:
name: Verify Muzzle
command: >-
SKIP_BUILDSCAN="true"
GRADLE_OPTS="-Dorg.gradle.jvmargs='-Xmx3G -Xms2G -XX:ErrorFile=/tmp/hs_err_pid%p.log -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp'"
./gradlew `circleci tests split --split-by=timings workspace/build/muzzleTasks | xargs`
<< pipeline.parameters.gradle_flags >>
--max-workers=4

- run:
name: Collect Reports
when: on_fail
command: .circleci/collect_reports.sh

- store_artifacts:
path: ./reports

- store_test_results:
path: workspace/build/muzzle-test-results

- display_memory_usage

system-tests:
machine:
Expand Down Expand Up @@ -1451,20 +1378,6 @@ build_test_jobs: &build_test_jobs
requires:
- ok_to_test

- muzzle:
requires:
- ok_to_test
filters:
branches:
ignore:
- master
- project/*
- release/*

- muzzle-dep-report:
requires:
- ok_to_test

- system-tests:
requires:
- ok_to_test
Expand Down Expand Up @@ -1512,7 +1425,6 @@ build_test_jobs: &build_test_jobs
- "test_{{ jdk }}"
{% endfor %}
- test_inst_latest
- muzzle
- profiling
- debugger
- system-tests
Expand Down