Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 14 additions & 10 deletions .github/workflows/dev-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down
3 changes: 1 addition & 2 deletions playtest-browser/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.uzabase</groupId>
<artifactId>playtest-browser</artifactId>
<version>${project.version}</version>
<version>1.1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>playtest-browser</name>
<description>Browser Test support library for playing test.</description>
Expand Down Expand Up @@ -34,7 +34,6 @@
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.version>0.2.0</project.version>
<kotlin.version>1.7.10</kotlin.version>
<kotlin-juni5.version>1.3.61</kotlin-juni5.version>
<maven_surefire_plugin.version>2.22.2</maven_surefire_plugin.version>
Expand Down
3 changes: 1 addition & 2 deletions playtest-db/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.uzabase</groupId>
<artifactId>playtest-db</artifactId>
<version>${project.version}</version>
<version>1.1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>playtest-db</name>
<description>DB support library for playing test.</description>
Expand Down Expand Up @@ -41,7 +41,6 @@
</distributionManagement>

<properties>
<project.version>0.1.3</project.version>
<kotlin.version>1.7.10</kotlin.version>
<kluent.version>1.68</kluent.version>
<mockk.version>1.12.5</mockk.version>
Expand Down
3 changes: 1 addition & 2 deletions playtest-gauge-browser/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.uzabase</groupId>
<artifactId>playtest-gauge-browser</artifactId>
<version>${project.version}</version>
<version>1.1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>playtest-gauge-browser</name>
<description>Gauge support library for playing test.</description>
Expand Down Expand Up @@ -41,7 +41,6 @@
</distributionManagement>

<properties>
<project.version>0.1.3</project.version>
<kotlin.version>1.7.10</kotlin.version>
<maven_surefire_plugin.version>2.22.2</maven_surefire_plugin.version>
<maven_source_plugin.version>3.2.1</maven_source_plugin.version>
Expand Down
3 changes: 1 addition & 2 deletions playtest-gauge-db/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.uzabase</groupId>
<artifactId>playtest-gauge-db</artifactId>
<version>${project.version}</version>
<version>1.1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>playtest-gauge-db</name>
<description>Gauge support library for playing test.</description>
Expand Down Expand Up @@ -41,7 +41,6 @@
</distributionManagement>

<properties>
<project.version>1.0.0-SNAPSHOT</project.version>
<kotlin.version>1.7.10</kotlin.version>
<maven_surefire_plugin.version>2.22.2</maven_surefire_plugin.version>
<maven_source_plugin.version>3.2.1</maven_source_plugin.version>
Expand Down
3 changes: 2 additions & 1 deletion playtest-gauge-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.uzabase</groupId>
<artifactId>playtest-gauge-rest</artifactId>
<version>0.2.10-SNAPSHOT</version>
<version>1.1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>playtest-gauge-rest</name>
<description>Gauge support library for playing test.</description>
Expand Down Expand Up @@ -41,6 +41,7 @@
</distributionManagement>

<properties>
<project.version>0.2.9</project.version>
<kotlin.version>1.7.10</kotlin.version>
<maven_surefire_plugin.version>2.22.2</maven_surefire_plugin.version>
<maven_source_plugin.version>3.2.1</maven_source_plugin.version>
Expand Down
3 changes: 1 addition & 2 deletions playtest-json/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.uzabase</groupId>
<artifactId>playtest-json</artifactId>
<version>${project.version}</version>
<version>1.1.0-SNAPSHOT</version>
<packaging>jar</packaging>

<name>playtest-json</name>
Expand Down Expand Up @@ -42,7 +42,6 @@
</distributionManagement>

<properties>
<project.version>0.1.1</project.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<kotlin.version>1.7.10</kotlin.version>
<jsonpathkt.version>2.0.1</jsonpathkt.version>
Expand Down