Skip to content

[Bugfix] IndexInfo API moved from Agent Client to Vald Client #7

[Bugfix] IndexInfo API moved from Agent Client to Vald Client

[Bugfix] IndexInfo API moved from Agent Client to Vald Client #7

Workflow file for this run

#
# 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:
pull_request:
env:
CI_USER: ${{ secrets.CI_USER }}
CI_TOKEN: ${{ secrets.CI_TOKEN }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
REF: fix/e2e
jobs:
sync:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ env.REF }}
token: ${{ env.CI_TOKEN }}
- name: Set Git config
run: |
git config --global --add safe.directory ${GITHUB_WORKSPACE}
- uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
git_user_signingkey: true
git_commit_gpgsign: true
- uses: vdaas/vald-client-ci/.github/actions/setup-language@main
with:
client_type: python
- name: Clone Vald repository
run: |
make VALD_CHECKOUT_REF=${VALD_CHECKOUT_REF} vald/checkout
env:
VALD_CHECKOUT_REF: main
- name: Install dependencies
run: |
make ci/deps/install
- name: Build proto
run: |
export GOPATH=$HOME/go
export PATH=$HOME/grpc-java:$PATH
make proto
- name: Update SHA and client version
run: |
make vald/sha/update
make vald/client/version/update
- name: Update dependencies
run: |
make ci/deps/update
- name: Commit
run: |
SHA="$(make vald/sha/print)"
git branch
git remote set-url origin https://${CI_USER}:${CI_TOKEN}@github.com/$GITHUB_REPOSITORY
git add .
git commit -S --signoff -m "Update [vald sha: ${SHA}]"
- name: Push
run: |
git push origin ${REF}