Skip to content

Commit 12ffeae

Browse files
committed
asd
1 parent 2298d3d commit 12ffeae

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/rust.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,21 @@ jobs:
107107
uses: arduino/setup-protoc@v3
108108
with:
109109
repo-token: ${{ secrets.GITHUB_TOKEN }}
110+
- name: Install Kubernetes dependencies
111+
run: |
112+
# Install helm
113+
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
114+
# Install helmfile
115+
curl -fsSL https://github.com/helmfile/helmfile/releases/latest/download/helmfile_linux_amd64.tar.gz | tar -xzv helmfile && sudo mv helmfile /usr/local/bin/
116+
# Install kind
117+
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.20.0/kind-linux-amd64 && chmod +x ./kind && sudo mv ./kind /usr/local/bin/
110118
- name: Build binaries
111119
run: |
112120
cargo build --features storage-service --bin linera-server --bin linera-proxy --bin linera
113121
- name: Run the validators with Kubernetes
114122
run: |
115123
mkdir /tmp/local-linera-net
116-
cargo run --bin linera --features kubernetes -- net up --kubernetes --policy-config testnet --path /tmp/local-linera-net --validators 2 --shards 2 --with-faucet --faucet-port 8078 --faucet-amount 1000 &
124+
cargo run --bin linera --features kubernetes -- net up --kubernetes --policy-config testnet --path /tmp/local-linera-net --validators 2 --shards 2 --with-faucet --faucet-port 8078 --faucet-amount 1000
117125
- name: Wait for faucet to be ready
118126
run: |
119127
until curl -s http://localhost:8078 >/dev/null; do sleep 1; done

0 commit comments

Comments
 (0)