Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
20d23e4
add experiments as composite actions
jprinet Mar 11, 2022
02ebe59
Add parameters description
jprinet Mar 14, 2022
905a72c
Add project directory variable
jprinet Mar 17, 2022
10e3bf2
Add Composite Experiment 5
jprinet Mar 22, 2022
2dfb479
Set GITHUB_TOKEN to curl command
jprinet Mar 23, 2022
d381ba5
Add Cache inputs to composite Experiment 5
jprinet Mar 23, 2022
1a140c6
Remove experiment 5
jprinet Apr 5, 2022
b940106
Add both build scan identifiers as output
jprinet Apr 5, 2022
5314bbd
Formatting and comments
jprinet Apr 5, 2022
d015559
Merge branch 'gradle:main' into feature/expe_as_composite_actions
jprinet Apr 5, 2022
2dfc534
CR follow-up: change directory structure
jprinet Apr 19, 2022
f60a8dd
CR follow-up: align script and GH action parameters
jprinet Apr 19, 2022
d062c51
CR follow-up: remove build scan ids as composite output
jprinet Apr 19, 2022
d84c36c
CR follow-up: Set Github token as optional input
jprinet Apr 20, 2022
8ace879
Polish readme a bit
etiennestuder Apr 22, 2022
4e9927c
Polish comments a bit
etiennestuder Apr 22, 2022
5fd4a98
Polish action descriptions a bit
etiennestuder Apr 22, 2022
a1891e0
Streamline action inputs' description and ordering
etiennestuder Apr 22, 2022
c8dc067
Treat tasks inputs as optional
etiennestuder Apr 22, 2022
702435f
Rename actions
etiennestuder Apr 22, 2022
13a4967
CR follow-up: Align experiments 2 and 3 with experiment 1
jprinet Apr 22, 2022
0e24e7a
Merge remote-tracking branch 'jprinet/feature/expe_as_composite_actio…
etiennestuder Apr 24, 2022
131a9ee
Polish
etiennestuder Apr 27, 2022
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
Prev Previous commit
Next Next commit
Polish readme a bit
  • Loading branch information
etiennestuder committed Apr 22, 2022
commit 8ace87911cee6e1ab0f97a5e3adc40656a7f0a19
18 changes: 10 additions & 8 deletions .github/actions/gradle/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# Composite Github Actions

The composite actions provided here will simplify running the validation scripts in your Github Action workflow.
The composite actions provided here will simplify running the build validation scripts from your GitHub Actions workflow.

## Usage

Create a Github Action workflow, fulfilling the build requirements (add JDK...) and then add the following steps (replacing the placeholders):
Create a GitHub Actions workflow, add the steps to configure the build requirements like JDK, etc., and then add the
following steps to invoke the actual experiments:

```yaml
steps:
# Download scripts latest version
# Download the latest version of the build validation scripts
- uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/gradle/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -18,21 +19,22 @@ steps:
gitRepo: <PROJECT_GIT_URL>
gitBranch: <PROJECT_BRANCH>
tasks: <PROJECT_BUILD_TASK>
gradleEnterpriseUrl: <GRADLE_ENTERPRISE_URL>
...
# Run experiment 2
- uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/gradle/[email protected]
with:
gitRepo: <PROJECT_GIT_URL>
gitBranch: <PROJECT_BRANCH>
tasks: <PROJECT_BUILD_TASK>
gradleEnterpriseUrl: <GRADLE_ENTERPRISE_URL>
# Run experiment 3
...
# Run experiment 3
- uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/gradle/[email protected]
with:
gitRepo: <PROJECT_GIT_URL>
gitBranch: <PROJECT_BRANCH>
tasks: <PROJECT_BUILD_TASK>
gradleEnterpriseUrl: <GRADLE_ENTERPRISE_URL>
...
```

You can then navigate the workflow output and click the investigation links provided by the script.
Once the workflow has been triggered and finishes executing, you can navigate to the workflow's output and investigate the summary
produced by the build validation scripts.