Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add CE 24.03 * Add JDK21 test * Change next version to 1.6.0 * Update gradle to 8.5 for JDK21 tests
- Loading branch information
1 parent
b134bad
commit b1294eb
Showing
6 changed files
with
92 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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,83 @@ | ||
# Copyright 2021, 2024 Oracle Corporation and/or its affiliates. | ||
# Licensed under the Universal Permissive License v 1.0 as shown at | ||
# https://oss.oracle.com/licenses/upl. | ||
|
||
# --------------------------------------------------------------------------- | ||
# Coherence CLI GitHub Actions CI build - Test Create JDK21 | ||
# --------------------------------------------------------------------------- | ||
name: CI Test Create Cluster JDK21 | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches-ignore: | ||
- gh-pages | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
coherenceVersion: | ||
- 24.03 | ||
javaVersion: | ||
- 21 | ||
|
||
# Checkout the source, we need a depth of zero to fetch all of the history otherwise | ||
# the copyright check cannot work out the date of the files from Git. | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: ${{ matrix.javaVersion }} | ||
distribution: 'zulu' | ||
|
||
- name: Cache Go Modules | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/go/pkg/mod | ||
key: ${{ runner.os }}-go-mods-${{ hashFiles('**/go.sum') }} | ||
restore-keys: | | ||
${{ runner.os }}-go-mods- | ||
- name: Cache Maven packages | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/.m2 | ||
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: ${{ runner.os }}-m2 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
|
||
- name: Build cohctl | ||
shell: bash | ||
run: make cohctl | ||
|
||
- name: Setup Gradle and Run Create Cluster Tests | ||
shell: bash | ||
run: | | ||
DIR=`pwd` | ||
INSTALL=${DIR}/gradle-install | ||
mkdir -p ${DIR}/gradle-home ${INSTALL} | ||
VERSION=8.5 | ||
wget -q -c https://services.gradle.org/distributions/gradle-${VERSION}-bin.zip -P ${INSTALL} | ||
ls -l ${INSTALL} | ||
unzip -d ${DIR}/gradle-home ${INSTALL}/gradle-${VERSION}-bin.zip | ||
export GRADLE_HOME=${DIR}/gradle-home/gradle-${VERSION} | ||
export PATH=$GRADLE_HOME/bin:$PATH | ||
COHERENCE_VERSION=${{ matrix.coherenceVersion }} make test-create-cluster | ||
- uses: actions/upload-artifact@v3 | ||
if: failure() | ||
with: | ||
name: test-output | ||
path: build/_output/test-logs |
This file contains 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 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 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 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 |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
coherenceVersion: | ||
- 23.09.1 | ||
- 24.03 | ||
- 23.09.2 | ||
- 22.06.6 | ||
- 22.06.7 | ||
|
This file contains 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