|
@@ -1,6 +1,6 @@
|
|
|
name: e2e-checks
|
|
|
on:
|
|
|
- pull_request:
|
|
|
+ pull_request_target:
|
|
|
types: [ 'opened', 'edited', 'reopened', 'synchronize' ]
|
|
|
paths:
|
|
|
- 'kafka-ui-api/**'
|
|
@@ -34,6 +34,7 @@ jobs:
|
|
|
- name: Build with Maven
|
|
|
id: build_app
|
|
|
run: |
|
|
|
+ mvn versions:set -DnewVersion=$GITHUB_SHA
|
|
|
mvn clean package -DskipTests ${{ github.event.inputs.extraMavenOptions }}
|
|
|
- name: compose app
|
|
|
id: compose_app
|
|
@@ -41,10 +42,9 @@ jobs:
|
|
|
run: |
|
|
|
docker-compose -f ./documentation/compose/kafka-ui-connectors.yaml up -d
|
|
|
- name: e2e run
|
|
|
- env:
|
|
|
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
|
|
|
- SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
|
|
- run: mvn -pl '!kafka-ui-api' test -Pprod
|
|
|
+ run: |
|
|
|
+ mvn versions:set -DnewVersion=$GITHUB_SHA
|
|
|
+ mvn -pl '!kafka-ui-api' test -Pprod
|
|
|
- name: Generate allure report
|
|
|
uses: simple-elf/allure-report-action@master
|
|
|
if: always()
|