Skip to content

Commit

Permalink
ci: add joxit chart repo
Browse files Browse the repository at this point in the history
  • Loading branch information
plaffitt committed Oct 9, 2024
1 parent 7e873f2 commit 9a14ba7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ jobs:
ct lint \
--charts helm/kube-image-keeper \
--chart-repos bitnami=https://charts.bitnami.com/bitnami \
--chart-repos joxit=https://helm.joxit.dev \
--validate-maintainers=false --check-version-increment=false
build:
Expand Down Expand Up @@ -219,6 +220,7 @@ jobs:
ct lint \
--charts helm/kube-image-keeper \
--chart-repos bitnami=https://charts.bitnami.com/bitnami \
--chart-repos joxit=https://helm.joxit.dev \
--validate-maintainers=false --check-version-increment=false
- name: Run helm (install)
Expand Down Expand Up @@ -351,6 +353,7 @@ jobs:
ct lint \
--charts helm/kube-image-keeper \
--chart-repos bitnami=https://charts.bitnami.com/bitnami \
--chart-repos joxit=https://helm.joxit.dev \
--validate-maintainers=false --check-version-increment=false
- name: Run helm (install latest release)
Expand Down Expand Up @@ -562,6 +565,7 @@ jobs:
- name: Helm repository deps
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add joxit https://helm.joxit.dev
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ jobs:
ct lint \
--charts helm/kube-image-keeper \
--chart-repos bitnami=https://charts.bitnami.com/bitnami \
--chart-repos joxit=https://helm.joxit.dev \
--validate-maintainers=false --check-version-increment=false
# Need wait for the next release with flash --skip-clean-up
Expand Down Expand Up @@ -156,7 +157,7 @@ jobs:
run: |
set -euo pipefail
kubectl create deploy nginx --image=nginx:stable-alpine --replicas=2
kubectl rollout status deploy nginx
kubectl rollout status deploy nginx
kubectl wait deployment nginx --for condition=Available=True --timeout=30s
echo "kubectl get cachedimage"
kubectl get cachedimages
Expand Down Expand Up @@ -198,7 +199,7 @@ jobs:
set -euo pipefail
## Check for kuik's components metrics
for component in proxy controllers
do
do
echo "Testing $component metrics endpoint"
for ip in $(kubectl get po -l "app.kubernetes.io/component=$component" -n kuik-system -o jsonpath='{range .items[*]}{.status.podIP}{"\n"}{end}')
do
Expand Down Expand Up @@ -269,6 +270,7 @@ jobs:
ct lint \
--charts helm/kube-image-keeper \
--chart-repos bitnami=https://charts.bitnami.com/bitnami \
--chart-repos joxit=https://helm.joxit.dev \
--validate-maintainers=false --check-version-increment=false
# Need wait for the next release with flash --skip-clean-up
Expand Down Expand Up @@ -306,7 +308,7 @@ jobs:
run: |
set -euo pipefail
kubectl create deploy nginx --image=nginx:stable-alpine --replicas=2
kubectl rollout status deploy nginx
kubectl rollout status deploy nginx
kubectl wait deployment nginx --for condition=Available=True --timeout=30s
echo "kubectl get cachedimage"
kubectl get cachedimages
Expand Down Expand Up @@ -348,7 +350,7 @@ jobs:
set -euo pipefail
## Check for kuik's components metrics
for component in proxy controllers
do
do
echo "Testing $component metrics endpoint"
for ip in $(kubectl get po -l "app.kubernetes.io/component=$component" -n kuik-system -o jsonpath='{range .items[*]}{.status.podIP}{"\n"}{end}')
do
Expand All @@ -374,4 +376,3 @@ jobs:
fi
done
done

0 comments on commit 9a14ba7

Please sign in to comment.