Integration test #483
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration test | |
on: | |
pull_request: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
integration_test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./chart/kepler | |
strategy: | |
matrix: | |
cluster_provider: [kind, microshift] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: use kepler action for kind cluster build | |
uses: sustainable-computing-io/[email protected] | |
with: | |
ebpfprovider: libbpf | |
cluster_provider: ${{matrix.cluster_provider}} | |
local_dev_cluster_version: v0.0.4 | |
- name: install helm | |
uses: azure/[email protected] | |
- name: helm lint | |
run: | | |
helm lint . --debug | |
- name: deploy kepler using helm chart | |
run: | | |
tree -a | |
helm install kepler . --values values.yaml --create-namespace --namespace kepler --dry-run --debug | |
helm install kepler . --values values.yaml --create-namespace --namespace kepler --debug | |
- name: test if kepler is alive | |
run: | | |
sleep 60 | |
kubectl logs $(kubectl -n kepler get pods -oname) -n kepler | |
kubectl get all -n kepler |