Skip to content

Commit 07fd14f

Browse files
author
Alessandro De Maria
authored
Fix tests (#147)
* Fix tests * fix integration test * Improve integration tests
1 parent d414f16 commit 07fd14f

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

.github/workflows/integration-test.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,22 @@ jobs:
1919
with:
2020
fetch-depth: 0
2121

22+
- name: compile
23+
run: |
24+
./kapitan compile
25+
2226
- uses: azure/setup-kubectl@v3
2327
id: install
2428

25-
- name: Create kind cluster
26-
uses: helm/kind-action@v1.2.0
27-
with:
28-
cluster_name: kind
29-
30-
- name: Check connectivity to the cluster
31-
run: ./compiled/tutorial/scripts/kubectl get pods
29+
- name: setups the cluster
30+
run: |
31+
./compiled/tutorial/scripts/setup_cluster
32+
./compiled/tutorial/scripts/setup_context
33+
./compiled/tutorial/scripts/kubectl get pods
3234
3335
- name: Run chart-testing (install)
34-
run: ./compiled/tutorial/scripts/apply
36+
run: ./compiled/tutorial/scripts/apply
37+
38+
- name: setups the cluster
39+
run: |
40+
./compiled/tutorial/scripts/kubectl rollout status deployment echo-server -w --timeout=60s

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Kapitan Reference Setup
22

3+
[![CI](https://github.com/kapicorp/kapitan-reference/actions/workflows/integration-test.yml/badge.svg)](https://github.com/kapicorp/kapitan-reference/actions/workflows/integration-test.yml)
4+
35
This repository is meant to be a way to bootstrap your [Kapitan](https://kapitan.dev) setup to get you up and running.
46

57
It is meant to help you make use of best practices and libraries that can make Kapitan the ultimate tool for all your configuration needs.

0 commit comments

Comments
 (0)