u #64
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
name: ci | |
on: | |
push: | |
jobs: | |
e2e: | |
name: e2e | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
ETCD_ENDPOINTS: | |
- http://127.0.0.1:2379 | |
- "0" | |
steps: | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21' | |
- name: checkoutactions | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: start xline | |
run: | | |
if [ ${{ matrix.ETCD_ENDPOINTS }} != "0" ];then | |
docker run -e RUST_LOG=debug -it -d --name xline -p 2379:2379 ghcr.io/xline-kv/xline:v0.6.0 xline --name node1 --members node1=0.0.0.0:2379 --data-dir /tmp/xline --storage-engine rocksdb | |
fi | |
- name: runci | |
run: | | |
go mod tidy | |
go test k8s.io/apiserver/pkg/storage/etcd3 -v |