Skip to content

Commit ac9151d

Browse files
committed
Merge remote-tracking branch 'origin/master' into bdu/react-properly-on-plugin
2 parents 68db193 + 796bf33 commit ac9151d

File tree

25 files changed

+56
-746
lines changed

25 files changed

+56
-746
lines changed

.gitignore

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,6 @@ replay_pid*
6464
# Magic for local JMC built
6565
/vendor/jmc-libs
6666

67-
# CircleCI #
68-
############
69-
_circle_ci_cache_*
70-
upstream.env
71-
/.circleci/config.continue.yml
72-
7367
# Benchmarks #
7468
benchmark/reports
7569
benchmark/tracer

.gitlab-ci.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ test_published_artifacts:
324324
- *cgroup_info
325325
- source .gitlab/gitlab-utils.sh
326326
- gitlab_section_start "collect-reports" "Collecting reports"
327-
- .circleci/collect_reports.sh
327+
- .gitlab/collect_reports.sh
328328
- gitlab_section_end "collect-reports"
329329
artifacts:
330330
when: always
@@ -344,7 +344,7 @@ test_published_artifacts:
344344
- *cgroup_info
345345
- source .gitlab/gitlab-utils.sh
346346
- gitlab_section_start "collect-reports" "Collecting reports"
347-
- .circleci/collect_reports.sh --destination ./check_reports --move
347+
- .gitlab/collect_reports.sh --destination ./check_reports --move
348348
- gitlab_section_end "collect-reports"
349349
artifacts:
350350
when: always
@@ -392,20 +392,19 @@ muzzle:
392392
extends: .gradle_build
393393
needs: [ build_tests ]
394394
stage: tests
395-
parallel: 8
395+
parallel:
396+
matrix:
397+
- CI_SPLIT: ["1/8", "2/8", "3/8", "4/8", "5/8", "6/8", "7/8", "8/8"]
396398
variables:
397399
CACHE_TYPE: inst
398400
script:
399401
- export SKIP_BUILDSCAN="true"
400-
- ./gradlew writeMuzzleTasksToFile $GRADLE_ARGS
401-
- sort workspace/build/muzzleTasks > sortedMuzzleTasks
402-
- split --number=l/$NORMALIZED_NODE_TOTAL --suffix-length=1 --numeric-suffixes sortedMuzzleTasks muzzleSplit
403-
- ./gradlew $(cat muzzleSplit${NORMALIZED_NODE_INDEX} | xargs) $GRADLE_ARGS
402+
- ./gradlew :runMuzzle -PtaskPartitionCount=$NORMALIZED_NODE_TOTAL -PtaskPartition=$NORMALIZED_NODE_INDEX $GRADLE_ARGS
404403
after_script:
405404
- *cgroup_info
406405
- source .gitlab/gitlab-utils.sh
407406
- gitlab_section_start "collect-reports" "Collecting reports"
408-
- .circleci/collect_reports.sh
407+
- .gitlab/collect_reports.sh
409408
- gitlab_section_end "collect-reports"
410409
artifacts:
411410
when: always
@@ -424,7 +423,7 @@ muzzle-dep-report:
424423
- ./gradlew generateMuzzleReport muzzleInstrumentationReport $GRADLE_ARGS
425424
after_script:
426425
- *cgroup_info
427-
- .circleci/collect_muzzle_deps.sh
426+
- .gitlab/collect_muzzle_deps.sh
428427
artifacts:
429428
when: always
430429
paths:
@@ -487,10 +486,10 @@ muzzle-dep-report:
487486
- *cgroup_info
488487
- source .gitlab/gitlab-utils.sh
489488
- gitlab_section_start "collect-reports" "Collecting reports"
490-
- .circleci/collect_reports.sh
491-
- if [ "$PROFILE_TESTS" == "true" ]; then .circleci/collect_profiles.sh; fi
492-
- .circleci/collect_results.sh
493-
- .circleci/upload_ciapp.sh $CACHE_TYPE $testJvm
489+
- .gitlab/collect_reports.sh
490+
- if [ "$PROFILE_TESTS" == "true" ]; then .gitlab/collect_profiles.sh; fi
491+
- .gitlab/collect_results.sh
492+
- .gitlab/upload_ciapp.sh $CACHE_TYPE $testJvm
494493
- gitlab_section_end "collect-reports"
495494
- URL_ENCODED_JOB_NAME=$(jq -rn --arg x "$CI_JOB_NAME" '$x|@uri')
496495
- echo -e "${TEXT_BOLD}${TEXT_YELLOW}See test results in Datadog:${TEXT_CLEAR} https://app.datadoghq.com/ci/test/runs?query=test_level%3Atest%20%40test.service%3Add-trace-java%20%40ci.pipeline.id%3A${CI_PIPELINE_ID}%20%40ci.job.name%3A%22${URL_ENCODED_JOB_NAME}%22"

.gitlab/cgroup-info.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,3 @@ elif [ -d "/sys/fs/cgroup/memory" ]; then # Assuming if memory cgroup v1 exists,
8080
else
8181
printf "cgroup memory paths not found. Neither cgroup v2 controller file nor cgroup v1 memory directory detected.\n"
8282
fi
83-
File renamed without changes.

.circleci/collect_profiles.sh renamed to .gitlab/collect_profiles.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
# Save all important profiles into (project-root)/profiles
4-
# This folder will be saved by circleci and available after test runs.
4+
# This folder will be saved by gitlab and available after test runs.
55

66
set -e
77
#Enable '**' support

.circleci/collect_reports.sh renamed to .gitlab/collect_reports.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
# Save all important reports into (project-root)/reports
4-
# This folder will be saved by circleci and available after test runs.
4+
# This folder will be saved by gitlab and available after test runs.
55

66
set -e
77
#Enable '**' support

.circleci/collect_results.sh renamed to .gitlab/collect_results.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
# Save all important reports and artifacts into (project-root)/results
4-
# This folder will be saved by circleci and available after test runs.
4+
# This folder will be saved by gitlab and available after test runs.
55

66
set -e
77
# Enable '**' support
File renamed without changes.

build.gradle

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -121,20 +121,6 @@ wrapper {
121121
distributionType = Wrapper.DistributionType.ALL
122122
}
123123

124-
tasks.register('writeMuzzleTasksToFile') {
125-
doLast {
126-
def muzzleFile = file("${buildDir}/muzzleTasks")
127-
assert muzzleFile.parentFile.mkdirs() || muzzleFile.parentFile.directory
128-
129-
muzzleFile.text = subprojects
130-
.findAll { subproject ->
131-
subproject.plugins.hasPlugin('java') && subproject.plugins.hasPlugin('muzzle')
132-
}
133-
.collect { it.path + ":muzzle" }
134-
.join('\n')
135-
}
136-
}
137-
138124
def writeMainVersionFileTask = tasks.register('writeMainVersionFile') {
139125
def versionFile = file("${rootProject.buildDir}/main.version")
140126
inputs.property "version", scmVersion.version

components/cli/build.gradle.kts

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)