Skip to content

chore: Update schemas to Tekton Pipelines 0.56.0 (#660) #3

chore: Update schemas to Tekton Pipelines 0.56.0 (#660)

chore: Update schemas to Tekton Pipelines 0.56.0 (#660) #3

Workflow file for this run

# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Java CI with Gradle
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'temurin'
cache: 'gradle'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build --continue --no-daemon
- uses: actions/upload-artifact@v3
if: always()
with:
name: ${{ matrix.os }}-test-reports
path: build/test-results/**/*.xml
kubernetes-integration-tests:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'temurin'
cache: 'gradle'
- uses: engineerd/setup-kind@aa272fe2a7309878ffc2a81c56cfe3ef108ae7d0 #v0.5.0
with:
version: v0.11.1
- name: Step up cluster
run: |
kubectl apply --filename https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.27.3/release.yaml
kubectl apply --filename https://storage.googleapis.com/tekton-releases/triggers/previous/v0.16.0/release.yaml
kubectl create ns testns
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Play integration tests
run: ./gradlew integrationTest
- uses: actions/upload-artifact@v3
if: always()
with:
name: linux-integration-test-reports
path: build/reports