chore(deps): bump org.apache.maven.plugins:maven-compiler-plugin from 3.12.1 to 3.13.0 #3926
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Integration and end to end tests which runs locally and deploys the Operator to a Kubernetes | |
# (Minikube) cluster and creates custom resources to verify the operator's functionality | |
name: Integration & End to End tests | |
on: | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
- 'adr/**' | |
branches: [ main, next ] | |
push: | |
paths-ignore: | |
- 'docs/**' | |
- 'adr/**' | |
branches: | |
- main | |
- next | |
jobs: | |
sample_operators_tests: | |
strategy: | |
matrix: | |
sample_dir: | |
- "sample-operators/mysql-schema" | |
- "sample-operators/tomcat-operator" | |
- "sample-operators/webpage" | |
- "sample-operators/leader-election" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Minikube-Kubernetes | |
uses: manusa/[email protected] | |
with: | |
minikube version: v1.32.0 | |
kubernetes version: v1.29.1 | |
github token: ${{ secrets.GITHUB_TOKEN }} | |
driver: docker | |
- name: Set up Java and Maven | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: temurin | |
cache: 'maven' | |
- name: Build SDK | |
run: mvn install -DskipTests | |
- name: Run integration tests in local mode | |
working-directory: ${{ matrix.sample_dir }} | |
run: | | |
mvn test -P end-to-end-tests | |
- name: Run E2E tests as a deployment | |
working-directory: ${{ matrix.sample_dir }} | |
run: | | |
eval $(minikube -p minikube docker-env) | |
mvn jib:dockerBuild test -P end-to-end-tests -Dtest.deployment=remote |