-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(pomi): update appVersion (#425)
* chore(pomi): update appVersion * chore(pomi): removed -3 since helm3 is now default * chore(unit-test): the format to access dictionaries changed * chore(tests): update minikube version * chore(tests): change minikube driver * chore(comment): cleaning up an old comment
- Loading branch information
1 parent
3297ad5
commit 30d5917
Showing
6 changed files
with
19 additions
and
31 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 |
---|---|---|
|
@@ -20,25 +20,12 @@ jobs: | |
run: | | ||
sudo wget -O /usr/local/bin/skaffold https://storage.googleapis.com/skaffold/releases/latest/skaffold-linux-amd64 | ||
sudo chmod +x /usr/local/bin/skaffold | ||
# Load test uses skaffold to run `nri-prometheus` in the cluster. skaffold is not compatible with minikube when the | ||
# clusters do not use docker as CRI giving this error: | ||
# | ||
# invalid skaffold config: getting minikube env: running [/home/runner/work/_temp/minikube docker-env --shell none -p minikube --user=skaffold] | ||
# - stdout: "false exit code 14\n" | ||
# - stderr: "X Exiting due to MK_USAGE: The docker-env command is only compatible with the \"docker\" runtime, but this cluster was configured to use the \"containerd\" runtime.\n" | ||
# - cause: exit status 14 | ||
# | ||
# Se we are in a dependency cycle: | ||
# - Minikube with Kubernetes > 1.24 needs the CRI to NOT be docker | ||
# - Skaffold needs the CRI to be docker | ||
# | ||
# Here we test `nri-prometheus`, Kubernetes is just a tool we use for testing, so we should not care about the version | ||
# of Kubernetes and we should not upgrade it so the test keeps working. | ||
- name: Setup Minikube | ||
uses: manusa/[email protected] | ||
with: | ||
minikube version: v1.15.1 | ||
kubernetes version: v1.19.4 | ||
minikube version: v1.30.1 | ||
kubernetes version: v1.25.6 | ||
driver: docker | ||
github token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Run load 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 |
---|---|---|
|
@@ -42,7 +42,7 @@ jobs: | |
helm plugin install https://github.com/helm-unittest/helm-unittest | ||
for chart in $(ct --config .github/ct.yaml list-changed); do | ||
if [ -d "$chart/tests/" ]; then | ||
helm unittest -3 $chart | ||
helm unittest $chart | ||
else | ||
echo "No unit tests found for $chart" | ||
fi | ||
|
@@ -51,7 +51,8 @@ jobs: | |
uses: manusa/[email protected] | ||
if: steps.list-changed.outputs.changed == 'true' | ||
with: | ||
minikube version: v1.29.0 | ||
minikube version: v1.30.1 | ||
driver: docker | ||
kubernetes version: ${{ matrix.kubernetes-version }} | ||
github token: ${{ secrets.GITHUB_TOKEN }} | ||
- uses: actions/setup-go@v4 | ||
|
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