Skip to content

Commit

Permalink
Fix tests (#147)
Browse files Browse the repository at this point in the history
* Fix tests

* fix integration test

* Improve integration tests
  • Loading branch information
ademariag authored Aug 17, 2024
1 parent d414f16 commit 07fd14f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,22 @@ jobs:
with:
fetch-depth: 0

- name: compile
run: |
./kapitan compile
- uses: azure/setup-kubectl@v3
id: install

- name: Create kind cluster
uses: helm/[email protected]
with:
cluster_name: kind

- name: Check connectivity to the cluster
run: ./compiled/tutorial/scripts/kubectl get pods
- name: setups the cluster
run: |
./compiled/tutorial/scripts/setup_cluster
./compiled/tutorial/scripts/setup_context
./compiled/tutorial/scripts/kubectl get pods
- name: Run chart-testing (install)
run: ./compiled/tutorial/scripts/apply
run: ./compiled/tutorial/scripts/apply

- name: setups the cluster
run: |
./compiled/tutorial/scripts/kubectl rollout status deployment echo-server -w --timeout=60s
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Kapitan Reference Setup

[![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)

This repository is meant to be a way to bootstrap your [Kapitan](https://kapitan.dev) setup to get you up and running.

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.
Expand Down

0 comments on commit 07fd14f

Please sign in to comment.