feat: implement xlinectl snapshot
and auth
commands
#1113
Workflow file for this run
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: Validation | |
on: | |
pull_request: | |
branches: [master] | |
env: | |
CI_RUST_TOOLCHAIN: 1.70.0 | |
jobs: | |
validation: | |
name: Validation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: sudo bash ./.github/scripts/install_deps.sh | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: default | |
toolchain: ${{ env.CI_RUST_TOOLCHAIN }} | |
override: true | |
- uses: Swatinem/rust-cache@v2 | |
- run: RUSTFLAGS="-C target-feature=+crt-static" cargo build --release --bin lock_client --target x86_64-unknown-linux-gnu | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --release | |
- run: | | |
cd scripts | |
cp ../target/release/{xline,benchmark} . | |
cp ../target/x86_64-unknown-linux-gnu/release/lock_client . | |
cp ../xline-test-utils/{private,public}.pem . | |
docker build . -t ghcr.io/xline-kv/xline:latest | |
docker pull gcr.io/etcd-development/etcd:v3.5.5 | |
bash ./validation_test.sh |