-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update minimum workflow to allign with new minimum * add tekton typical workflow * update everything workflow to align with new everything * add reporting to finally * move all charts starting with 'ploigos-workflow-' to 'charts/plogigos-workflow/' and remove the prefix to work around helm/chart-testing#343 * update README to reflect local testing updates * update to use 'ref' instead of 'name' for EventListener TriggerTemplate references due to deprivation of 'name' parameter * .github workflows * in testing kind cluster create default IngressClass * upgrade testing to use helm 3.6.1 * CHARTS_DIR env variable
- Loading branch information
Showing
75 changed files
with
2,032 additions
and
280 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
echo "Install ingress controller" | ||
helm repo add haproxy-ingress https://haproxy-ingress.github.io/charts | ||
helm install haproxy-ingress haproxy-ingress/haproxy-ingress \ | ||
--create-namespace --namespace=ingress-controller \ | ||
--set controller.hostNetwork=true | ||
kubectl apply -f - <<EOF | ||
apiVersion: networking.k8s.io/v1 | ||
kind: IngressClass | ||
metadata: | ||
name: haproxy | ||
annotations: | ||
ingressclass.kubernetes.io/is-default-class: 'true' | ||
spec: | ||
controller: haproxy-ingress.github.io/controller | ||
EOF | ||
|
||
echo "Install tekton" | ||
kubectl apply --filename https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.22.0/release.yaml | ||
kubectl apply --filename https://storage.googleapis.com/tekton-releases/triggers/previous/v0.12.1/release.yaml |
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,12 @@ | ||
#!/usr/bin/env python | ||
|
||
import os, json; | ||
|
||
parent_charts_dir=os.environ['CHARTS_DIR'] | ||
|
||
helm_charts=[] | ||
for file in os.listdir(parent_charts_dir): | ||
if os.path.isdir(os.path.join(parent_charts_dir, file)): | ||
helm_charts.append(file) | ||
|
||
print(f"::set-output name=helm-charts::{helm_charts}") |
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,9 @@ | ||
#!/bin/bash | ||
|
||
# NOTE: | ||
# --validate-chart-schema=false due to https://github.com/helm/chart-testing/pull/300 | ||
|
||
ct lint \ | ||
--chart-dirs ${CHARTS_DIR} \ | ||
--all \ | ||
--validate-maintainers=false |
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,5 @@ | ||
#!/bin/bash | ||
|
||
ct install \ | ||
--chart-dirs ${CHARTS_DIR} \ | ||
--all |
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
Oops, something went wrong.