StageProject.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make more buckets (#10765)

* Make more buckets

* Put project name in bucket name

* Refactor & add tests

* Fix warnings

  1. … 5 more files in changeset.
Refactor & add tests

  1. … 4 more files in changeset.
Merge pull request #10728 from gradle/wolfs/bucket-improvements

Improve teamcity DSL code for bucket generation

  1. … 3 more files in changeset.
Use correct stage tag for deferred tests

  1. … 2 more files in changeset.
Address some review content

Simplify deferred test project handling

Note that the only difference here is that the deferred functional

tests now are tagged with the stage they are deferred from, not with

the one they are deferred to. We can fix this later (or never).

  1. … 3 more files in changeset.
Simplify deferred test project handling

Note that the only difference here is that the deferred functional

tests now are tagged with the stage they are deferred from, not with

the one they are deferred to. We can fix this later (or never).

  1. … 3 more files in changeset.
Remember build types in stage project

instead of re-calculating them in `StagePasses`

  1. … 3 more files in changeset.
Fix missing deferred_tests (#10712)

Fix missing deferred_tests (#10712)

Fix missing deferred_tests

Re-add deferred tests

And fix tests.

  1. … 4 more files in changeset.
Re-add deferred tests

And fix tests.

  1. … 4 more files in changeset.
Do not split tests on AllVersionsCrossVersion (#10702)

See https://github.com/gradle/gradle-private/issues/2693

This commit disable test splits for AllVersionsCrossVersion.

  1. … 2 more files in changeset.
Do not split tests on AllVersionsCrossVersion (#10702)

See https://github.com/gradle/gradle-private/issues/2693

This commit disable test splits for AllVersionsCrossVersion.

  1. … 2 more files in changeset.
Do not split tests on AllVersionsCrossVersion

See https://github.com/gradle/gradle-private/issues/2693

This commit disable test splits for AllVersionsCrossVersion.

  1. … 2 more files in changeset.
Make buckets in TeamCity configuration (#10552)

Currently, the primary obstacles for us to improve CI feedback time is the long-running jobs: `integTest`/`core`/`dependencyManagement` each takes more than 10 minutes. Without decreasing the time we can't improve CI feedback time.

This PR changes the previous subproject-based TC job to bucket-based TC job: a bucket can contain a split of large subproject, or many tiny subprojects. This makes CI configuration more flexiable and efficient.

For example, all tiny subprojects which only contain unit tests can be merged to `AllUnitTests`, just as before - but now we make this more generic.

`integTest` subproject can be split to 3 jobs: `integTest`/`integTest_2`/`integTest_3`. Splitted project has a special parameter `-PtestSplit=1/3`/`-PtestSplit=2/3`/`-PtestSplit=3/3` so the build can choose only a subset of tests to execute.

  1. … 8 more files in changeset.
Make buckets in TeamCity configuration (#10552)

Currently, the primary obstacles for us to improve CI feedback time is the long-running jobs: `integTest`/`core`/`dependencyManagement` each takes more than 10 minutes. Without decreasing the time we can't improve CI feedback time.

This PR changes the previous subproject-based TC job to bucket-based TC job: a bucket can contain a split of large subproject, or many tiny subprojects. This makes CI configuration more flexiable and efficient.

For example, all tiny subprojects which only contain unit tests can be merged to `AllUnitTests`, just as before - but now we make this more generic.

`integTest` subproject can be split to 3 jobs: `integTest`/`integTest_2`/`integTest_3`. Splitted project has a special parameter `-PtestSplit=1/3`/`-PtestSplit=2/3`/`-PtestSplit=3/3` so the build can choose only a subset of tests to execute.

  1. … 8 more files in changeset.
Resolve feedback

  1. … 7 more files in changeset.
Make buckets in TeamCity configuration

  1. … 8 more files in changeset.
Make buckets in TeamCity configuration

  1. … 9 more files in changeset.
Make buckets in TeamCity configuration

  1. … 9 more files in changeset.
Make buckets in TeamCity configuration

  1. … 8 more files in changeset.
Merge build types running only unit tests (#9895)

Merging again now that build types can be invoked for subprojects.

This reverts commit 4636d4f056b108ae70e9600c0a111018b292ddfe.

  1. … 6 more files in changeset.
Revert "Merge build types running only unit tests (#9895)"

Looks like build types only work for the first project.

This reverts commit 99a6b64eea4f9bfa6a06969368b2c7c680e5cb6d.

  1. … 6 more files in changeset.
Merge build types running only unit tests (#9895)

So we don't have so many small build types. The unit tests should run

very fast anyway.

  1. … 6 more files in changeset.
Merge build types running only unit tests

So we don't have so many small build types. The unit tests should run

very fast anyway.

  1. … 6 more files in changeset.
Move Kotlin DSL code to settings

  1. … 99 more files in changeset.
Rerun distributed performance test in RERUNNER step (#8801)

After the improvement of automatically rerunning and tagging, we want to manage performance test in the same way:

- Only run each performance test scenario once.

- If it fails, `GRADLE_RERUNNER` will kick in and rerun the failed scenario. The good thing is that it might be scheduled to another build agent, which mitigates the effect of bad agent.

This PR does:

- Remove all `Retry` from performance tests.

- Add `GRADLE_RERUNNER` to performance tests and refactor some code.

- Add tests for `PerformanceTest`.

- Since `GRADLE_RERUNNER` depends on reading of test binary result, write binary test result file in `RerunableDistributedPerformanceTest`.

  1. … 23 more files in changeset.
Rebase to latest master

  1. … 23 more files in changeset.