-
Notifications
You must be signed in to change notification settings - Fork 6
44 lines (44 loc) · 1.23 KB
/
e2e.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Flame CI
on: [push, pull_request]
env:
CLICOLOR_FORCE: 1
jobs:
ci:
name: E2E Test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
rust: [stable]
os: [ubuntu-latest]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Kind Cluster
uses: helm/kind-action@v1
with:
config: ci/kind.yaml
cluster_name: flame-ci-cluster
- name: Build images
run: |
make ci-image
- name: Load images
run: |
kind load docker-image --name flame-ci-cluster xflops/flame-session-manager:latest
kind load docker-image --name flame-ci-cluster xflops/flame-executor-manager:latest
kind load docker-image --name flame-ci-cluster xflops/flame-console:latest
- name: Deploy Flame
run: |
kubectl apply -k installer/
- name: Install gRPC
run: |
sudo apt-get update && sudo apt-get install -y protobuf-compiler
- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
profile: minimal
override: true
- name: Run E2E Test
run: |
cargo test