-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vald-client-java]: Use vald-client-ci workflows for release and e2e (#…
…278) * feat: add workflow for e2e Signed-off-by: hlts2 <[email protected]> * fix: make command for common workflow Signed-off-by: hlts2 <[email protected]> * fix: deleted unnecessary make command Signed-off-by: hlts2 <[email protected]> * fix: timing for chaning buf configuration Signed-off-by: hlts2 <[email protected]> * feat: add sync workflow Signed-off-by: hlts2 <[email protected]> * fix: add todo comment Signed-off-by: hlts2 <[email protected]> * fix: disable command log Signed-off-by: hlts2 <[email protected]> * feat: add license and release workflow Signed-off-by: hlts2 <[email protected]> * feat: add command to publish packages Signed-off-by: hlts2 <[email protected]> * fix: add debug job Signed-off-by: hlts2 <[email protected]> * fix: add debug task Signed-off-by: hlts2 <[email protected]> * fix: add exclude bufformat task Signed-off-by: hlts2 <[email protected]> * fix: exclude bufformatApply task Signed-off-by: hlts2 <[email protected]> * fix: exclude verification task Signed-off-by: hlts2 <[email protected]> * fix: debug command and buf verification task after generate Signed-off-by: hlts2 <[email protected]> * fix: command not found error Signed-off-by: hlts2 <[email protected]> * fix: ls build directory Signed-off-by: hlts2 <[email protected]> * fix: build debug Signed-off-by: hlts2 <[email protected]> * fix: clone directory name Signed-off-by: hlts2 <[email protected]> * feat: exclude test after generate Signed-off-by: hlts2 <[email protected]> * fix: add debug command and fix make command Signed-off-by: hlts2 <[email protected]> * fix: deleted unnecessary tasks Signed-off-by: hlts2 <[email protected]> * fix: deleted unnecessary make command Signed-off-by: hlts2 <[email protected]> * fix: add e2e test Signed-off-by: hlts2 <[email protected]> * fix: update gradle plugin version Signed-off-by: hlts2 <[email protected]> * fix: version downgrade Signed-off-by: hlts2 <[email protected]> * fix: version for grpc protobuf Signed-off-by: hlts2 <[email protected]> * fix: grpc-protobuf version Signed-off-by: hlts2 <[email protected]> * fix: protobuf-java version Signed-off-by: hlts2 <[email protected]> * fix: protobuf-java version Signed-off-by: hlts2 <[email protected]> * fix: specify protoc version for java Signed-off-by: hlts2 <[email protected]> * fix: build command before publish Signed-off-by: hlts2 <[email protected]> * fix: ci prefix for test command Signed-off-by: hlts2 <[email protected]> * fix: deleted debug job for e2e and build proto Signed-off-by: hlts2 <[email protected]> --------- Signed-off-by: hlts2 <[email protected]>
- Loading branch information
Showing
7 changed files
with
196 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# | ||
# Copyright (C) 2019-2024 vdaas.org vald team <[email protected]> | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# You may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# DO NOT EDIT | ||
name: "Run E2E test" | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
e2e: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
# TODO: change to the following before main merge. | ||
# - uses: vdaas/vald-client-ci/.github/actions/e2e@main | ||
- uses: vdaas/vald-client-ci/.github/actions/e2e@feat/add-common-workflows | ||
with: | ||
client_type: java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# | ||
# Copyright (C) 2019-2024 vdaas.org vald team <[email protected]> | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# You may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# DO NOT EDIT | ||
name: "Run release" | ||
on: | ||
push: | ||
tags: | ||
- '*.*.*' | ||
- 'v*.*.*' | ||
- '*.*.*-*' | ||
- 'v*.*.*-*' | ||
jobs: | ||
release: | ||
# TODO: change to the following before main merge. | ||
# uses: vdaas/vald-client-ci/.github/workflows/_release.yaml@main | ||
uses: vdaas/vald-client-ci/.github/workflows/_release.yaml@feat/add-common-workflows | ||
with: | ||
client_type: java | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# | ||
# Copyright (C) 2019-2024 vdaas.org vald team <[email protected]> | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# You may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# DO NOT EDIT | ||
name: "Sync Vald" | ||
on: | ||
workflow_dispatch: | ||
# schedule: | ||
# - cron: "*/5 * * * *" | ||
jobs: | ||
sync: | ||
# TODO: change to the following before main merge. | ||
# uses: vdaas/vald-client-ci/.github/workflows/sync.yaml@main | ||
uses: vdaas/vald-client-ci/.github/workflows/sync.yaml@feat/add-common-workflows | ||
with: | ||
client_type: java | ||
secrets: | ||
CI_USER: ${{ secrets.DISPATCH_USER }} | ||
CI_TOKEN: ${{ secrets.DISPATCH_TOKEN }} | ||
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
/vald | ||
/vald-origin | ||
|
||
# gogoproto | ||
src/main/java/com/google/protobuf/GoGoProtos.java | ||
|
||
wordvecs1000.json | ||
|
||
# Ignore Gradle project-specific cache directory | ||
.gradle | ||
|
||
# Ignore Gradle build output directory | ||
build | ||
|
||
/vald | ||
|
||
.classpath | ||
.project | ||
.settings | ||
bin | ||
|
||
# gogoproto | ||
src/main/java/com/google/protobuf/GoGoProtos.java | ||
|
||
wordvecs1000.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.