-
Notifications
You must be signed in to change notification settings - Fork 5
39 lines (37 loc) · 1.18 KB
/
test.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
name: Guard Test
on: [push]
jobs:
kubevious_validation:
runs-on: ubuntu-latest
name: Kubevious CLI Validation Run
steps:
- name: Checkout
uses: actions/checkout@v3
# with:
# path: cli.git
# - name: Checkout Mock Repo
# uses: actions/checkout@v3
# with:
# repository: kubevious/mock-data
# path: mock-data.git
# - name: 'Prepare Packages'
# working-directory: ./cli.git
# run: './scripts/prepare-package.sh'
# - name: 'Build'
# working-directory: ./cli.git
# run: 'docker build -t kubevious/cli .'
- name: Validation of manifest files
id: file-validation
uses: kubevious/cli@main
with:
manifests: samples/argo-rollout
crds: https://raw.githubusercontent.com/kubevious/demos/main/crds/argo-rollouts/crds.yaml
- name: Validation of Helm Charts
id: chart-validation
uses: kubevious/cli@main
with:
helm_repo_url: https://helm.kubevious.io
helm_repo_name: kubevious
helm_chart: kubevious
helm_namespace: kubevious
helm_include_crds: true