Bump ch.qos.logback:logback-classic from 1.2.11 to 1.2.13 #945
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
# This workflow will build a Java project with Maven | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: Java CI with Maven | |
on: | |
push: | |
branches: 'master' | |
pull_request: | |
branches: '**' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
cache: maven | |
distribution: temurin | |
- name: Build with Maven | |
run: mvn -B -DskipTests clean package --file pom.xml --fail-at-end | |
- name: Run codacy-coverage-reporter | |
if: ${{ github.repository_owner == 'OpenTOSCA' }} | |
uses: codacy/codacy-coverage-reporter-action@master | |
with: | |
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} | |
coverage-reports: org.opentosca.container.reporting/target/site/jacoco-aggregate/jacoco.xml | |
tests: | |
strategy: | |
matrix: | |
test: | |
- AdaptMultiMyTinyToDoIntegrationTest | |
- ApacheWebAppIntegrationTest | |
- ConnectToIntegrationTest | |
- MigrateMyTinyToDo2MultiMyTinyToDoIntegrationTest | |
- MultiMyTinyToDoIntegrationTest | |
- MyTinyToDoBPMNIntegrationTest | |
- MyTinyToDoIntegrationTest | |
#- MyTinyToDoSqlIntegrationTest | |
#- PlanQKServiceIntegrationTest | |
- QHAnaTest | |
runs-on: ubuntu-latest | |
timeout-minutes: 80 | |
needs: build | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
cache: maven | |
distribution: temurin | |
- name: Check out TOSCA internal repository | |
uses: actions/checkout@v3 | |
with: | |
repository: OpenTOSCA/tosca-definitions-test-applications | |
ref: 'main' | |
path: 'tosca-definitions-test-applications' | |
lfs: 'true' | |
- name: Copy TOSCA internal repository to tmp | |
run: cp -R $GITHUB_WORKSPACE/tosca-definitions-test-applications /tmp/ | |
- name: Show TOSCA internal repository content | |
run: ls -a /tmp/tosca-definitions-test-applications | |
- name: Setup Docker Remote API | |
run: sudo sed -ie "s@ExecStart=\/usr\/bin\/dockerd -H fd:\/\/@ExecStart=\/usr\/bin\/dockerd -H fd:\/\/ -H tcp:\/\/0.0.0.0:2375 -H unix:///var/run/docker.sock@g" /lib/systemd/system/docker.service | |
- name: Reload Daemons | |
run: sudo systemctl daemon-reload | |
- name: Restart Docker | |
run: sudo service docker restart | |
- name: Configure runtime with test properties | |
run: cp test.properties ./org.opentosca.container.core/src/main/resources/application.properties | |
- name: Show application properties | |
run: cat ./org.opentosca.container.core/src/main/resources/application.properties | |
- name: Test Docker Remote API | |
run: curl -X GET http://localhost:2375/images/json | |
- name: Start test environment | |
run: docker-compose -f test.yml up -d | |
- name: Save engine-ia-java17 log to file | |
run: docker-compose -f test.yml logs -f engine-ia-java17 > engine-ia-java17.log & | |
- name: Save engine-ia-java8 log to file | |
run: docker-compose -f test.yml logs -f engine-ia-java8 > engine-ia-java8.log & | |
- name: Sleep for 120 seconds | |
uses: whatnick/wait-action@master | |
with: | |
time: '120s' | |
- name: Test with Maven | |
timeout-minutes: 60 | |
run: mvn -B -DfailIfNoTests=false -Dtest=org.opentosca.container.war.tests.${{ matrix.test }} test --file pom.xml --fail-at-end | |
env: | |
PlanqkApiKey: ${{ secrets.PLANQK_API_KEY }} | |
OrganizationID: "eecfa1d7-5f52-45d4-accc-b470ad05959f" | |
- name: Store engine-ia log | |
uses: actions/upload-artifact@v3 | |
if: ${{ always() }} | |
with: | |
name: engine-ia-log | |
path: | | |
engine-ia-java17.log | |
engine-ia-java8.log |