Skip to content

Commit

Permalink
feat: 升级log4j #5752
Browse files Browse the repository at this point in the history
修正github action ubuntu vm无法启动mysql问题,解决端口不固定的问题
  • Loading branch information
irwinsun committed Dec 13, 2021
1 parent e51b89d commit 93ea014
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,7 @@ jobs:
${{ runner.os }}-gradle-
- name: Gradle Build
working-directory: src/backend/ci
run: ./gradlew test clean :boot-assembly:classes -DmavenRepoUrl="http://maven.aliyun.com/nexus/content/groups/public/"
run: |
./gradlew test clean :boot-assembly:classes \
-DmavenRepoUrl="http://maven.aliyun.com/nexus/content/groups/public/" \
-DmysqlURL=127.0.0.1:${{ job.services.mysql.ports['3306'] }} -DmysqlUser=root -DmysqlPasswd=root
3 changes: 2 additions & 1 deletion .github/workflows/publishMavenJar4CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ jobs:
-Psigning.keyId=${{ secrets.SIGNING_KEY_ID }} \
-Psigning.password='${{ secrets.SIGNING_PASSWORD }}' \
-Psigning.secretKeyRingFile=${{ github.workspace }}/secretKeyRingFile.gpg \
-DmavenRepoUrl="http://maven.aliyun.com/nexus/content/groups/public/"
-DmavenRepoUrl="http://maven.aliyun.com/nexus/content/groups/public/" \
-DmysqlURL=127.0.0.1:${{ job.services.mysql.ports['3306'] }} -DmysqlUser=root -DmysqlPasswd=root
- name: Clean Up
if: ${{ always() }}
working-directory:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ jobs:
${{ runner.os }}-gradle-
- name: Gradle Build Backend Service
working-directory: src/backend/ci
run: ./gradlew clean test build :core:worker:worker-agent:shadowJar -DmavenRepoUrl="https://maven.aliyun.com/nexus/content/groups/public/"
run: |
./gradlew clean test build :core:worker:worker-agent:shadowJar \
-DmavenRepoUrl="https://maven.aliyun.com/nexus/content/groups/public/" \
-DmysqlURL=127.0.0.1:${{ job.services.mysql.ports['3306'] }} -DmysqlUser=root -DmysqlPasswd=root
- name: Gradle Build Turbo Service
working-directory: src/backend/turbo
Expand Down

0 comments on commit 93ea014

Please sign in to comment.