-
Notifications
You must be signed in to change notification settings - Fork 741
GHA renovation #3396
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
dsmiley
wants to merge
6
commits into
apache:main
Choose a base branch
from
dsmiley:GHA-Renovation
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
GHA renovation #3396
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
f154436
GHA renovation
dsmiley a24010a
From Lucene: prepare-for-build
dsmiley 023046b
format
dsmiley a9c9c8a
Change for Solr
dsmiley 6ee746b
Refactor workflows to use our prepare-for-build
dsmiley 80f5436
More time (40m) for solr/bin integrationTests
dsmiley File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# This composite action is included in other workflows to have a shared setup | ||
# for java, gradle, caches, etc. | ||
|
||
name: Prepare build | ||
description: Creates a shared setup for other workflows | ||
|
||
inputs: | ||
java-version: | ||
required: false | ||
default: "21" | ||
description: "The default JDK version to set up." | ||
|
||
java-distribution: | ||
required: false | ||
default: "temurin" | ||
description: "The default JDK distribution type" | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Set up Java (${{ inputs.java-distribution }}, ${{ inputs.java-version }})" | ||
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1 | ||
with: | ||
distribution: ${{ inputs.java-distribution }} | ||
java-version: ${{ inputs.java-version }} | ||
java-package: jdk | ||
|
||
- name: Cache gradle-wrapper.jar | ||
uses: actions/cache@v4 | ||
with: | ||
path: gradle/wrapper/gradle-wrapper.jar | ||
key: gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.jar.sha256') }} | ||
|
||
# This includes "smart" caching of gradle dependencies. | ||
- name: Set up Gradle | ||
uses: gradle/actions/setup-gradle@v4 | ||
with: | ||
# increase expiry time for the temp. develocity token. | ||
# https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#increasing-the-expiry-time-for-develocity-access-tokens | ||
develocity-token-expiry: 8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,7 @@ name: Solr Tests | |
on: | ||
pull_request: | ||
branches: | ||
- 'main' | ||
- 'branch_*' | ||
- '*' | ||
|
||
jobs: | ||
test: | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we not need this any more? @HoustonPutman is probably better to look
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in passing tests I trust :-) (which they do)