This is an automated email from the ASF dual-hosted git repository.
wuzhiguo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/bigtop-manager.git
The following commit(s) were added to refs/heads/main by this push:
new 06fdde6 BIGTOP-4120. Fix CI workflow (#8)
06fdde6 is described below
commit 06fdde699191199c695467891a897bfbfd2d7bce
Author: Kengo Seki <[email protected]>
AuthorDate: Tue Jun 4 01:11:38 2024 +0900
BIGTOP-4120. Fix CI workflow (#8)
---
.github/workflows/ci.yml | 16 ++++++++++------
.../src/main/resources/assembly/server.xml | 4 ++--
pom.xml | 1 +
3 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 87942ce..a269bc9 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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 }}
diff --git a/bigtop-manager-server/src/main/resources/assembly/server.xml
b/bigtop-manager-server/src/main/resources/assembly/server.xml
index a7e3bd7..9004b16 100644
--- a/bigtop-manager-server/src/main/resources/assembly/server.xml
+++ b/bigtop-manager-server/src/main/resources/assembly/server.xml
@@ -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>
diff --git a/pom.xml b/pom.xml
index c7e8272..9093926 100644
--- a/pom.xml
+++ b/pom.xml
@@ -176,6 +176,7 @@
<exclude>**/*.ftl</exclude>
<exclude>**/*.log</exclude>
<exclude>pnpm-lock.yaml</exclude>
+ <exclude>**/target/**</exclude>
</excludes>
</configuration>
</plugin>