-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9f08e8d
commit 94f3ca4
Showing
1 changed file
with
44 additions
and
0 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 |
---|---|---|
|
@@ -52,6 +52,50 @@ jobs: | |
- name: Run chart-testing (lint) | ||
run: ct lint --validate-maintainers=false --charts charts/vaas | ||
|
||
- name: Install Minikube | ||
uses: manusa/[email protected] | ||
with: | ||
minikube version: 'latest' | ||
kubernetes version: 'latest' | ||
start args: --addons ingress | ||
|
||
- name: Set up kubectl | ||
uses: azure/setup-kubectl@v3 | ||
with: | ||
version: 'latest' | ||
|
||
- name: Install Helm | ||
uses: azure/setup-helm@v4 | ||
with: | ||
version: v3.13.3 | ||
|
||
- name: Deploy Helm Chart | ||
run: | | ||
cat <<EOF > values-local.yaml | ||
global: | ||
imagePullSecrets: | ||
- registry | ||
secret: | ||
dockerconfigjson: "${{ secrets.DOCKER_CONFIG_JSON }}" | ||
cloud: | ||
hashLookup: | ||
enabled: false | ||
allowlistLookup: | ||
enabled: false | ||
EOF | ||
helm.sh values-local.yaml | ||
- name: Verify Pods | ||
run: | | ||
kubectl get pods | ||
kubectl wait --for=condition=ready pod -n vaas --timeout=300s --all | ||
- name: Verify Services | ||
run: | | ||
kubectl get svc | ||
kubectl wait --for=condition=ready svc -n vaas --timeout=300s --all | ||
- name: Push chart | ||
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main' | ||
uses: appany/[email protected] | ||
|