Skip to content

[vald-client-clj]: Use vald-client-ci workflows for release and e2e #106

[vald-client-clj]: Use vald-client-ci workflows for release and e2e

[vald-client-clj]: Use vald-client-ci workflows for release and e2e #106

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: "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: clj
version-check-test:
uses: vdaas/vald-client-ci/.github/workflows/_check-version.yaml@feat/add-common-workflows
secrets:
CI_TOKEN: ${{ secrets.DISPATCH_TOKEN }}

Check failure on line 37 in .github/workflows/e2e.yaml

View workflow run for this annotation

GitHub Actions / Run E2E test

Invalid workflow file

The workflow is not valid. .github/workflows/e2e.yaml (Line: 37, Col: 17): Invalid secret, CI_TOKEN is not defined in the referenced workflow.
with:
tag_list_api_url: "https://api.github.com/repos/vdaas/vald-client-java/tags"
# build-test:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: debug for build
# run: |
# echo "Install dependencies"
# make ci/deps/install
#
# NPM_BIN=$(npm prefix)
# ls ${NPM_BIN}/node_modules/@bufbuild/buf/bin/buf
#
# echo "Build proto"
# export GOPATH=$HOME/go
# export PATH=$HOME/grpc-java:$PATH
# make proto
# make vald/sha/update
# make vald/client/version/update
#
# echo "Update dependencies"
# make ci/deps/update
#
# git diff
# git diff --name-only
# - uses: vdaas/vald-client-ci/.github/actions/e2e@feat/add-common-workflows
# with:
# client_type: node