forked from zilliztech/milvus-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 1020 Bytes
/
deploy-manifest.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
name: Test Deploy With Minifest
# This workflow is triggered on any golang code, makefile, workflow changes to repository.
on:
push:
paths-ignore:
- 'docs/**'
pull_request:
paths-ignore:
- 'docs/**'
jobs:
deploy-by-manifest:
name: Test Deploy by Manifest
runs-on: ubuntu-latest
timeout-minutes: 40
strategy:
fail-fast: false
matrix:
os: [ubuntu18.04]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup KinD Cluster
uses: engineerd/[email protected]
with:
version: "v0.11.1"
- name: Deploy by manifest
run: |
make deploy-by-manifest
- name: Test Webhook
run : |
set -ex
kubectl create -f ./config/samples/milvus_minimum.yaml
kubectl delete -f ./config/samples/milvus_minimum.yaml
kubectl create -f ./config/samples/milvus_cluster_minimum.yaml
kubectl delete -f ./config/samples/milvus_cluster_minimum.yaml