Skip to content

Commit aab6366

Browse files
author
Tim Middleton
committed
Add tests for v1.2.2
1 parent 3e8c0b8 commit aab6366

File tree

6 files changed

+169
-249
lines changed

6 files changed

+169
-249
lines changed

.github/workflows/build-compatability-2206-v122.yaml

Lines changed: 0 additions & 120 deletions
This file was deleted.

.github/workflows/build-compatability-v122.yaml

Lines changed: 0 additions & 118 deletions
This file was deleted.
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# Copyright 2023, 2024 Oracle Corporation and/or its affiliates.
2+
# Licensed under the Universal Permissive License v 1.0 as shown at
3+
# https://oss.oracle.com/licenses/upl.
4+
5+
# ---------------------------------------------------------------------------
6+
# Coherence Go Client GitHub Actions test examples against v23.03+
7+
# and v1.2.2 client
8+
# ---------------------------------------------------------------------------
9+
name: CI-Examples Jakarta
10+
11+
on:
12+
workflow_dispatch:
13+
push:
14+
branches:
15+
- '*'
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-22.04
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
coherenceVersion:
24+
- 24.09
25+
- 24.09.1-SNAPSHOT
26+
go-version:
27+
- 1.19.x
28+
- 1.20.x
29+
- 1.21.x
30+
- 1.22.x
31+
- 1.23.x
32+
33+
# Checkout the source, we need a depth of zero to fetch all of the history otherwise
34+
# the copyright check cannot work out the date of the files from Git.
35+
steps:
36+
- uses: actions/checkout@v4
37+
with:
38+
fetch-depth: 0
39+
40+
- name: Get Docker Images
41+
shell: bash
42+
run: |
43+
docker pull gcr.io/distroless/java17
44+
uname -a
45+
46+
- name: Set up JDK
47+
uses: actions/setup-java@v4
48+
with:
49+
java-version: '17'
50+
distribution: 'zulu'
51+
52+
- name: Cache Go Modules
53+
uses: actions/cache@v4
54+
with:
55+
path: ~/go/pkg/mod
56+
key: ${{ runner.os }}-go-mods-${{ hashFiles('**/go.sum') }}
57+
restore-keys: |
58+
${{ runner.os }}-go-mods-
59+
60+
- name: Cache Maven packages
61+
uses: actions/cache@v4
62+
with:
63+
path: ~/.m2
64+
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
65+
restore-keys: ${{ runner.os }}-m2
66+
67+
- name: Set up Go
68+
uses: actions/setup-go@v5
69+
with:
70+
go-version: '${{ matrix.go-version }}'
71+
72+
- name: Verify Examples
73+
shell: bash
74+
run: |
75+
git checkout v1.2.2
76+
go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0
77+
COHERENCE_BASE_IMAGE=gcr.io/distroless/java17 COHERENCE_VERSION=${{ matrix.coherenceVersion }} PROFILES=,jakarta,-javax make clean generate-proto build-test-images test-cluster-startup test-examples
78+
make test-cluster-shutdown || true
79+
80+
- uses: actions/upload-artifact@v4
81+
if: failure()
82+
with:
83+
name: test-output-${{ matrix.go-version }}-${{ matrix.coherenceVersion }}
84+
path: build/_output/test-logs

.github/workflows/examples-jakarta.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,6 @@ jobs:
6868
with:
6969
go-version: '${{ matrix.go-version }}'
7070

71-
- name: Copyright Check
72-
shell: bash
73-
run: |
74-
make copyright
75-
7671
- name: Verify Examples
7772
shell: bash
7873
run: |

0 commit comments

Comments
 (0)