Skip to content

Commit

Permalink
Add CE 24.03 (#168)
Browse files Browse the repository at this point in the history
* 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
tmiddlet2666 committed Mar 25, 2024
1 parent b134bad commit b1294eb
Show file tree
Hide file tree
Showing 6 changed files with 92 additions and 7 deletions.
83 changes: 83 additions & 0 deletions .github/workflows/build-test-create-cluster-jdk21.yaml
@@ -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
9 changes: 5 additions & 4 deletions .github/workflows/build-test-create-cluster.yaml
Expand Up @@ -24,8 +24,8 @@ jobs:
- 22.06.8-SNAPSHOT
- 22.06.6
- 22.06.7
- 23.09.1
- 23.09.2
- 24.03
javaVersion:
- 17

Expand Down Expand Up @@ -72,10 +72,11 @@ jobs:
DIR=`pwd`
INSTALL=${DIR}/gradle-install
mkdir -p ${DIR}/gradle-home ${INSTALL}
wget -q -c https://services.gradle.org/distributions/gradle-7.4.2-bin.zip -P ${INSTALL}
VERSION=7.4.2
wget -q -c https://services.gradle.org/distributions/gradle-${VERSION}-bin.zip -P ${INSTALL}
ls -l ${INSTALL}
unzip -d ${DIR}/gradle-home ${INSTALL}/gradle-7.4.2-bin.zip
export GRADLE_HOME=${DIR}/gradle-home/gradle-7.4.2
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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-view-cache.yaml
Expand Up @@ -26,6 +26,7 @@ jobs:
- 24.03-SNAPSHOT
- 22.06.8-SNAPSHOT
- 23.09.2
- 24.03

# 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.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compatability-tests-released.yaml
Expand Up @@ -21,7 +21,7 @@ jobs:
fail-fast: false
matrix:
coherenceVersion:
- 23.09.1
- 24.03
- 23.09.2
- 22.06.7
- 22.06.8-SNAPSHOT
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compatability-tests.yaml
Expand Up @@ -21,7 +21,7 @@ jobs:
fail-fast: false
matrix:
coherenceVersion:
- 23.09.1
- 24.03
- 23.09.2
- 22.06.6
- 22.06.7
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -15,7 +15,7 @@
# ======================================================================================================================

# The version of the CLI being build - this should be a valid SemVer format
VERSION ?= 1.5.4
VERSION ?= 1.6.0
MILESTONE ?=

# Maven version is always 1.0.0 as it is only for testing
Expand Down

0 comments on commit b1294eb

Please sign in to comment.