Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gradle/develocity-ci-injection
Initscript for auto-injection of Develocity into Gradle builds
https://github.com/gradle/develocity-ci-injection
Last synced: about 1 month ago
JSON representation
Initscript for auto-injection of Develocity into Gradle builds
- Host: GitHub
- URL: https://github.com/gradle/develocity-ci-injection
- Owner: gradle
- License: apache-2.0
- Created: 2024-05-08T21:05:31.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-09-19T15:40:20.000Z (about 2 months ago)
- Last Synced: 2024-09-26T12:41:16.417Z (about 2 months ago)
- Language: Groovy
- Size: 127 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Develocity CI auto-injection
This repository is the home for tooling and scripts that allow auto-injection of Develocity into various Build Tool configurations by CI plugins.
It is designed to host the common build-tool integrations that will be leveraged by the various CI plugin implementations.At this stage, only the Gradle init-script for Develocity has been migrated to this repository.
## Develocity injection Gradle init-script
An init-script that can be used by CI integrations to inject Develocity into a Gradle build.
- The latest source for the init-script can be [found here](https://github.com/gradle/develocity-ci-injection/blob/main/src/main/resources/develocity-injection.init.gradle).
- The repository includes a [set of integration tests](https://github.com/gradle/develocity-ci-injection/blob/main/src/test/groovy/com/gradle/TestDevelocityInjection.groovy) for different features of the init-script.
- The `reference` directory contains the [latest _released_ version of the init-script](https://github.com/gradle/develocity-ci-injection/blob/main/reference/develocity-injection.init.gradle): this script has a version number embedded, and is designed to be re-used in other repositories.
- When executed manually, the [gradle-release.yml workflow](https://github.com/gradle/develocity-ci-injection/actions/workflows/gradle-release.yml) will:
- Copy the latest script source into `reference`, applying the supplied version number
- Tag the repository with the version number
- Commit the new reference script to this repository
- [Create PRs to update the script](https://github.com/gradle/develocity-ci-injection/actions/runs/9102707566/workflow#L48-L57) in various CI plugin repositories. [See here for an example run](https://github.com/gradle/develocity-ci-injection/actions/runs/9102707566) with links to generated PRs.
## Existing Develocity CI integrationsThe following Develocity CI integrations leverage the Gradle init-script from this repository.
- GitHub Actions: [The 'setup-gradle' action](https://github.com/gradle/actions/tree/main/setup-gradle)
- Bamboo: [Develocity Bamboo Plugin](https://github.com/gradle/develocity-bamboo-plugin)
- Jenkins: [Jenkins Gradle Plugin](https://github.com/jenkinsci/gradle-plugin)
- GitLab: [Develocity Gitlab Templates](https://github.com/gradle/develocity-gitlab-templates)
- TeamCity: [TeamCity Build Scan Plugin](https://github.com/etiennestuder/teamcity-build-scan-plugin)