Skip to content

Commit 1b44e4a

Browse files
Move to GitHub actions for builds.
* Added a GH action for building Maven. * Added a GH action for building Gradle. * Remove old CI build.
1 parent a61237d commit 1b44e4a

File tree

13 files changed

+84
-1278
lines changed

13 files changed

+84
-1278
lines changed

.github/workflows/gradle.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
6+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
7+
8+
name: Java CI with Gradle
9+
10+
on:
11+
push:
12+
branches: [ "main" ]
13+
pull_request:
14+
branches: [ "main" ]
15+
16+
permissions:
17+
contents: read
18+
19+
jobs:
20+
build:
21+
name: Build Gradle
22+
23+
runs-on: ubuntu-latest
24+
continue-on-error: ${{ matrix.experimental }}
25+
strategy:
26+
matrix:
27+
jdk: [8, 11]
28+
experimental: [false]
29+
include:
30+
- jdk: 17
31+
experimental: true
32+
33+
34+
steps:
35+
- uses: actions/checkout@v3
36+
- name: Set up JDK ${{ matrix.jdk }}
37+
uses: actions/setup-java@v4
38+
with:
39+
java-version: ${{ matrix.jdk }}
40+
distribution: 'semeru'
41+
- name: Build with Gradle
42+
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
43+
with:
44+
arguments: build

.github/workflows/maven.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
3+
4+
# This workflow uses actions that are not certified by GitHub.
5+
# They are provided by a third-party and are governed by
6+
# separate terms of service, privacy policy, and support
7+
# documentation.
8+
9+
name: Java CI with Maven
10+
11+
on:
12+
push:
13+
branches: [ "main" ]
14+
pull_request:
15+
branches: [ "main" ]
16+
17+
jobs:
18+
build:
19+
name: Build Maven
20+
21+
runs-on: ubuntu-latest
22+
continue-on-error: ${{ matrix.experimental }}
23+
strategy:
24+
matrix:
25+
jdk: [8, 11]
26+
experimental: [false]
27+
include:
28+
- jdk: 17
29+
experimental: true
30+
31+
steps:
32+
- uses: actions/checkout@v3
33+
- name: Set up JDK ${{ matrix.jdk }}
34+
uses: actions/setup-java@v3
35+
with:
36+
java-version: ${{ matrix.jdk }}
37+
distribution: 'semeru'
38+
cache: maven
39+
- name: Build with Maven
40+
run: mvn --batch-mode --update-snapshots --file pom.xml -Djava.version=${{ matrix.jdk }} package

.tekton/README.md

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

.tekton/helm/Chart.yaml

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

.tekton/helm/templates/built-artifact-server-deployment.yaml

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

.tekton/helm/templates/built-artifact-server-ingress.yaml

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

.tekton/helm/templates/built-artifact-server-service.yaml

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

0 commit comments

Comments
 (0)