Skip to content

Commit

Permalink
fix: maven rat plugin exist partial failure
Browse files Browse the repository at this point in the history
fix: maven rat plugin exist partial failure
  • Loading branch information
imbajin committed Apr 5, 2024
1 parent d0a3ccc commit 1228dec
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "pd-store"
name: "hugegraph-pd-store-ci"

on:
push:
Expand All @@ -8,11 +8,14 @@ on:
- 'test-*'
pull_request:

# TODO: consider merge to one ci.yml file
jobs:
pd:
runs-on: ubuntu-latest
env:
USE_STAGE: 'true' # Whether to include the stage repository.
# TODO: avoid duplicated env setup in pd & store
USE_STAGE: 'false' # Whether to include the stage repository.
# TODO: remove outdated env
TRAVIS_DIR: hugegraph-server/hugegraph-dist/src/assembly/travis
REPORT_DIR: target/site/jacoco

Expand All @@ -31,9 +34,9 @@ jobs:
restore-keys: ${{ runner.os }}-m2

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2
fetch-depth: 5

- name: use staged maven repo settings
if: ${{ env.USE_STAGE == 'true' }}
Expand All @@ -54,7 +57,8 @@ jobs:
# TODO: avoid duplicated env setup
runs-on: ubuntu-latest
env:
USE_STAGE: 'true' # Whether to include the stage repository.
USE_STAGE: 'false' # Whether to include the stage repository.
# TODO: remove outdated env
TRAVIS_DIR: hugegraph-server/hugegraph-dist/src/assembly/travis
REPORT_DIR: target/site/jacoco

Expand All @@ -73,9 +77,9 @@ jobs:
restore-keys: ${{ runner.os }}-m2

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2
fetch-depth: 5

- name: use staged maven repo settings
if: ${{ env.USE_STAGE == 'true' }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml → .github/workflows/server-ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "hugegraph-ci"
name: "hugegraph-server-ci"

on:
push:
Expand All @@ -13,7 +13,7 @@ jobs:
# TODO: we need test & replace it to ubuntu-24.04 or ubuntu-latest
runs-on: ubuntu-20.04
env:
USE_STAGE: 'true' # Whether to include the stage repository.
USE_STAGE: 'false' # Whether to include the stage repository.
TRAVIS_DIR: hugegraph-server/hugegraph-dist/src/assembly/travis
REPORT_DIR: target/site/jacoco
BACKEND: ${{ matrix.BACKEND }}
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 2
fetch-depth: 5

# TODO: Remove this step after install-backend.sh updated
- name: Install Java8 for backend
Expand Down
8 changes: 5 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -144,21 +144,23 @@
<exclude>**/*.conf</exclude>
<exclude>**/*.map</exclude>
<exclude>**/*.properties</exclude>
<exclude>dist/**/*</exclude>
<exclude>**/bin/hugegraph.service</exclude>
<exclude>**/swagger-ui/**/*</exclude>
<exclude>scripts/dev/reviewers</exclude>
<exclude>scripts/dev/reviewers</exclude>
<exclude>**/*.md</exclude>
<exclude>**/dependency-reduced-pom.xml</exclude>
<exclude>**/logs/*.log</exclude>
<exclude>**/META-INF/**/*</exclude>
<exclude>**/target/*</exclude>
<exclude>style/*</exclude>
<exclude>ChangeLog</exclude>
<exclude>CONFIG.ini</exclude>
<exclude>GROUPS</exclude>
<exclude>OWNERS</exclude>
<!-- gRPC / Generated code/files -->
<exclude>**/pd/grpc/**/*.java</exclude>
<exclude>**/store/grpc/**/*.java</exclude>
<exclude>**/target/**</exclude>
<exclude>dist/**/*</exclude>
<!-- Git & GitHub -->
<exclude>.github/**/*</exclude>
<exclude>.gitignore</exclude>
Expand Down

0 comments on commit 1228dec

Please sign in to comment.