Skip to content

CI Snapshots 14.1.1.0 #1407

CI Snapshots 14.1.1.0

CI Snapshots 14.1.1.0 #1407

# Copyright 2022, 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 CI Snapshots for ce-14.1.1.0.x
# ---------------------------------------------------------------------------
name: CI Snapshots 14.1.1.0
on:
workflow_dispatch:
push:
branches-ignore:
- gh-pages
schedule:
# Every day at midnight
- cron: '0 0 * * *'
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
coherenceVersion:
- 14.1.1-0-19-SNAPSHOT
# 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@v4
with:
fetch-depth: 0
- name: Get Docker Images
shell: bash
run: |
docker pull gcr.io/distroless/java:11
- name: Set up JDK 8 for Build CE-1411
uses: actions/setup-java@v4
with:
java-version: 8
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.21'
- name: Set up JDK 11 for Verify CLI
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'zulu'
- name: Verify Coherence CLI
env:
COH_VERSION: ${{ matrix.coherenceVersion }}
shell: bash
run: |
echo "Running verify against $COH_VERSION"
COHERENCE_BASE_IMAGE=gcr.io/distroless/java11 COHERENCE_VERSION=$COH_VERSION make clean build-test-images test-e2e-standalone
COHERENCE_VERSION=$COH_VERSION make test-clean test-discovery
- uses: actions/upload-artifact@v4
if: failure()
with:
name: test-output-${{ matrix.coherenceVersion }}
path: build/_output/test-logs