Change IDP storing structure in choreo connect #3798
Workflow file for this run
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
name: PR Check - Integration Tests | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
- name: Setup Go environment | |
uses: actions/setup-go@v2 | |
with: | |
go-version: '1.18.x' | |
- name: Cache M2 Repo | |
uses: actions/cache@v1 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Cache Go Modules | |
uses: actions/cache@v2 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- name: Extract Maven project version | |
run: echo ::set-output name=version::$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout) | |
id: extract-project-version | |
- name: Print Maven project version | |
run: echo ${{ steps.extract-project-version.outputs.version }} | |
- name: Build with Maven | |
run: | | |
export GOFLAGS=-mod=mod | |
mvn clean install -PRelease -s .maven/settings.xml \ | |
-pl '!:integration' -pl '!:mock-backend-server' -pl '!:test-integration' | |
- name: Run integration tests | |
run: | | |
mvn clean install -PRelease -pl ':integration' -amd -s .maven/settings.xml | |
- name: Build multi platform Ubuntu images | |
run: | | |
./build-ubuntu-multi-platform-images.sh all | |
docker images |