-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(cicd): test install and upgrade of charts * feat(chart): update version and images * fix(chart): extra space
- Loading branch information
1 parent
7f4c3b3
commit 7ed79fe
Showing
7 changed files
with
88 additions
and
9 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,9 @@ jobs: | |
name: Helm chart Lint | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
strategy: | ||
matrix: | ||
kubernetes-version: [ "v1.16.15", "v1.22.0" ] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
|
@@ -65,6 +68,30 @@ jobs: | |
echo "No unit tests found for $chart" | ||
fi | ||
done | ||
- name: Setup Minikube | ||
uses: manusa/[email protected] | ||
if: steps.list-changed.outputs.changed == 'true' | ||
with: | ||
minikube version: v1.20.0 | ||
kubernetes version: ${{ matrix.kubernetes-version }} | ||
github token: ${{ secrets.GITHUB_TOKEN }} | ||
- uses: actions/setup-go@v2 | ||
if: steps.list-changed.outputs.changed == 'true' | ||
with: | ||
go-version: '1.17' | ||
- name: Create image for chart testing | ||
if: steps.list-changed.outputs.changed == 'true' | ||
run: | | ||
GOOS=linux GOARCH=amd64 make compile | ||
DOCKER_BUILDKIT=1 docker build -t e2e/nri-kubernetes:test . | ||
minikube image load e2e/nri-kubernetes:test | ||
kubectl create ns ct | ||
- name: Test install charts | ||
if: steps.list-changed.outputs.changed == 'true' | ||
run: ct install --namespace ct --config .github/ct.yaml --debug | ||
- name: Test upgrade charts | ||
if: steps.list-changed.outputs.changed == 'true' | ||
run: ct install --namespace ct --config .github/ct.yaml --debug --upgrade | ||
|
||
test: | ||
name: Run tests | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# e2e-resources | ||
|
||
![Version: 1.2.0-devel](https://img.shields.io/badge/Version-1.2.0--devel-informational?style=flat-square) | ||
|
||
This chart creates e2e resources for nri-kubernetes. | ||
|
||
## Maintainers | ||
|
||
| Name | Email | Url | | ||
| ---- | ------ | --- | | ||
| alvarocabanas | | https://github.com/alvarocabanas | | ||
| carlossscastro | | https://github.com/carlossscastro | | ||
| gsanchezgavier | | https://github.com/gsanchezgavier | | ||
| kang-makes | | https://github.com/kang-makes | | ||
| paologallinaharbur | | https://github.com/paologallinaharbur | | ||
| roobre | | https://github.com/roobre | | ||
|
||
## Requirements | ||
|
||
| Repository | Name | Version | | ||
|------------|------|---------| | ||
| https://kubernetes.github.io/kube-state-metrics | kube-state-metrics | 2.13.2 | | ||
|
||
## Values | ||
|
||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| daemonSet.enabled | bool | `true` | | | ||
| deployment.enabled | bool | `true` | | | ||
| hpa.enabled | bool | `true` | | | ||
| loadBalancerService.annotations | object | `{}` | | | ||
| loadBalancerService.enabled | bool | `true` | | | ||
| loadBalancerService.fakeIP | string | `""` | | | ||
| pending.enabled | bool | `true` | | | ||
| persistentVolume.enabled | bool | `false` | | | ||
| persistentVolumeClaim.enabled | bool | `false` | | | ||
| persistentVolumeClaim.storageClassName | string | `"standard"` | | | ||
| scraper.enabled | bool | `false` | | | ||
| statefulSet.enabled | bool | `true` | | | ||
|
||
---------------------------------------------- | ||
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0) |
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
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
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
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
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