Skip to content

Commit

Permalink
BIGTOP-4120. Fix CI workflow for bigtop-manager
Browse files Browse the repository at this point in the history
  • Loading branch information
sekikn committed Jun 3, 2024
1 parent 0be0d5c commit ed3bf30
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,19 @@ jobs:
java: ['17', '21']
services:
db:
image: mysql:8.0
image: postgres
ports:
- 3306:3306
- 5432:5432
env:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: bigtop_manager
POSTGRES_DB: bigtop_manager
POSTGRES_PASSWORD: postgres
prom:
image: prom/prometheus
ports:
- 9090:9090
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
Expand Down
4 changes: 2 additions & 2 deletions bigtop-manager-server/src/main/resources/assembly/server.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
<fileSet>
<directory>${basedir}/src/main/resources/stacks</directory>
<outputDirectory>stacks</outputDirectory>
<fileMode>0644</fileMode>
<directoryMode>0644</directoryMode>
<fileMode>0755</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
<fileSet>
<directory>${basedir}/../bigtop-manager-ui/dist</directory>
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@
<exclude>**/*.ftl</exclude>
<exclude>**/*.log</exclude>
<exclude>pnpm-lock.yaml</exclude>
<exclude>**/target/**</exclude>
</excludes>
</configuration>
</plugin>
Expand Down

0 comments on commit ed3bf30

Please sign in to comment.