diff --git a/.github/workflows/dev-deploy.yml b/.github/workflows/dev-deploy.yml index b96b09b..2fab49d 100644 --- a/.github/workflows/dev-deploy.yml +++ b/.github/workflows/dev-deploy.yml @@ -15,16 +15,15 @@ on: - playtest-json jobs: - deploy: + deploy_to_dev: runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up JDK 11 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: java-version: '11' - distribution: 'adopt' + distribution: 'temurin' server-id: ossrh server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD @@ -35,14 +34,19 @@ jobs: curl -SsL https://downloads.gauge.org/stable | sh gauge install java --version 0.7.15 gauge version - - name: run db - if: github.event.inputs.module == 'playtest-gauge-db' + - name: Start Database run: | cd playtest-gauge-db/docker/db/postgresql/ - docker compose up -d - - name: Build & Unit Test & Deploy + docker-compose up -d + - name: Test & Deploy run: | - cd ${{ github.event.inputs.module }} && mvn clean deploy --batch-mode --no-transfer-progress -DperformRelease=true -Dproject.version=1.0-SNAPSHOT + for MVN_PROJ in playtest-gauge-browser playtest-browser playtest-db playtest-gauge-db playtest-gauge-rest playtest-json; do + pushd $MVN_PROJ + gauge config runner_connection_timeout 180000 + gauge config runner_request_timeout 180000 + mvn clean test deploy --batch-mode --no-transfer-progress -DperformRelease=true + popd + done env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} diff --git a/playtest-browser/pom.xml b/playtest-browser/pom.xml index f8d570b..58b5fd9 100644 --- a/playtest-browser/pom.xml +++ b/playtest-browser/pom.xml @@ -6,7 +6,7 @@ com.uzabase playtest-browser - ${project.version} + 1.1.0-SNAPSHOT jar playtest-browser Browser Test support library for playing test. @@ -34,7 +34,6 @@ 11 11 - 0.2.0 1.7.10 1.3.61 2.22.2 diff --git a/playtest-db/pom.xml b/playtest-db/pom.xml index 5b0a3ac..50c3838 100644 --- a/playtest-db/pom.xml +++ b/playtest-db/pom.xml @@ -4,7 +4,7 @@ com.uzabase playtest-db - ${project.version} + 1.1.0-SNAPSHOT jar playtest-db DB support library for playing test. @@ -41,7 +41,6 @@ - 0.1.3 1.7.10 1.68 1.12.5 diff --git a/playtest-gauge-browser/pom.xml b/playtest-gauge-browser/pom.xml index 4516390..21045d3 100644 --- a/playtest-gauge-browser/pom.xml +++ b/playtest-gauge-browser/pom.xml @@ -4,7 +4,7 @@ com.uzabase playtest-gauge-browser - ${project.version} + 1.1.0-SNAPSHOT jar playtest-gauge-browser Gauge support library for playing test. @@ -41,7 +41,6 @@ - 0.1.3 1.7.10 2.22.2 3.2.1 diff --git a/playtest-gauge-db/pom.xml b/playtest-gauge-db/pom.xml index b262584..400cf68 100644 --- a/playtest-gauge-db/pom.xml +++ b/playtest-gauge-db/pom.xml @@ -4,7 +4,7 @@ com.uzabase playtest-gauge-db - ${project.version} + 1.1.0-SNAPSHOT jar playtest-gauge-db Gauge support library for playing test. @@ -41,7 +41,6 @@ - 1.0.0-SNAPSHOT 1.7.10 2.22.2 3.2.1 diff --git a/playtest-gauge-rest/pom.xml b/playtest-gauge-rest/pom.xml index 8f47b49..b6b8554 100644 --- a/playtest-gauge-rest/pom.xml +++ b/playtest-gauge-rest/pom.xml @@ -4,7 +4,7 @@ com.uzabase playtest-gauge-rest - 0.2.10-SNAPSHOT + 1.1.0-SNAPSHOT jar playtest-gauge-rest Gauge support library for playing test. @@ -41,6 +41,7 @@ + 0.2.9 1.7.10 2.22.2 3.2.1 diff --git a/playtest-json/pom.xml b/playtest-json/pom.xml index f12cd3c..372278b 100644 --- a/playtest-json/pom.xml +++ b/playtest-json/pom.xml @@ -4,7 +4,7 @@ com.uzabase playtest-json - ${project.version} + 1.1.0-SNAPSHOT jar playtest-json @@ -42,7 +42,6 @@ - 0.1.1 UTF-8 1.7.10 2.0.1