edp-custom-pipelines

by sergk

Helm chartv0.13.0-SNAPSHOT.6App 0.13.0-SNAPSHOT.6Apache-2.0Verified publisher

A Helm chart for EDP4EDP Tekton Pipelines

About this chart

edp-custom-pipelines

A Helm chart for EDP4EDP Tekton Pipelines

Additional Information

Custom library EDP4EDP delivers custom Tekton pipelines used by the EDP Platform itself. This library is an example of EDP Tekton Pipelines customization. All the functionality which extends the EDP pipelines core logic should be placed in a separate chart to guarantee proper platform upgrades in the future.

Homepage: https://epam.github.io/edp-install/

Maintainers

NameEmailUrl
epmd-edp[email protected]https://solutionshub.epam.com/solution/epam-delivery-platform
sergkhttps://github.com/SergK

Source Code

Requirements

RepositoryNameVersion
file://../common-libraryedp-tekton-common-library0.2.18

Values

KeyTypeDefaultDescription
fullnameOverridestring""
global.dnsWildCardstring""a cluster DNS wildcard name
global.gerritSSHPortstring"30003"Gerrit SSH node port
global.gitProviderslist["gerrit"]Define Git Provider to be used in Pipelines. Can be gerrit (default), gitlab, github
global.platformstring"kubernetes"platform type that can be "kubernetes" or "openshift"
imageScanReport.enablebooltrue
imageScanReport.grypeTemplatestring"<?xml version=\"1.0\" ?>\n<testsuites name=\"grype\">\n{{- $failures := len $.Matches }}\n <testsuite tests=\"{{ $failures }}\" failures=\"{{ $failures }}\" name=\"{{ $.Distro.Name }}:{{ $.Distro.Version }}\" errors=\"0\" skipped=\"0\">\n <properties>\n <property name=\"type\" value=\"{{ $.Distro.Name }}\"></property>\n </properties>\n {{- range .Matches }}\n <testcase classname=\"{{ .Artifact.Name }}-{{ .Artifact.Version }} ({{ .Artifact.Type }})\" name=\"[{{ .Vulnerability.Severity }}] {{ .Vulnerability.ID }}\">\n <failure message=\"{{ .Artifact.Name }}: {{ .Vulnerability.ID }}\" type=\"description\">{{ .Vulnerability.Description }} {{ .Artifact.CPEs }} {{ .Vulnerability.DataSource }}</failure>\n </testcase>\n {{- end }}\n </testsuite>\n</testsuites>\n"
imageScanReport.trivyTemplatestring"<?xml version=\"1.0\" ?>\n<testsuites name=\"trivy\">\n{{- range . -}}\n{{- $failures := len .Vulnerabilities }}\n <testsuite tests=\"{{ $failures }}\" failures=\"{{ $failures }}\" name=\"{{ .Target }}\" errors=\"0\" skipped=\"0\">\n {{- if not (eq .Type \"\") }}\n <properties>\n <property name=\"type\" value=\"{{ .Type }}\"></property>\n </properties>\n {{- end -}}\n {{ range .Vulnerabilities }}\n <testcase classname=\"{{ .PkgName }}-{{ .InstalledVersion }}\" name=\"[{{ .Vulnerability.Severity }}] {{ .VulnerabilityID }}\">\n <failure message=\"{{ escapeXML .Title }}\" type=\"description\">{{ escapeXML .Description }}</failure>\n </testcase>\n {{- end }}\n </testsuite>\n{{- $failures := len .Misconfigurations }}\n{{- if gt $failures 0 }}\n <testsuite tests=\"{{ $failures }}\" failures=\"{{ $failures }}\" name=\"{{ .Target }}\" errors=\"0\" skipped=\"0\">\n {{- if not (eq .Type \"\") }}\n <properties>\n <property name=\"type\" value=\"{{ .Type }}\"></property>\n </properties>\n {{- end -}}\n {{ range .Misconfigurations }}\n <testcase classname=\"{{ .Type }}\" name=\"[{{ .Severity }}] {{ .ID }}\">\n <failure message=\"{{ escapeXML .Title }}\" type=\"description\">{{ escapeXML .Description }}</failure>\n </testcase>\n {{- end }}\n </testsuite>\n{{- end }}\n{{- end }}\n</testsuites>\n"
kanikoobject{"image":{"repository":"gcr.io/kaniko-project/executor","tag":"v1.12.1"}}Kaniko configuration section
nameOverridestring""
tekton.resourcesobject{"limits":{"cpu":"2","memory":"3Gi"},"requests":{"cpu":"0.5","memory":"2Gi"}}The resource limits and requests for the Tekton Tasks

Deploy edp-custom-pipelines with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has edp-custom-pipelines on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartedp-custom-pipelines is pinned at v0.13.0-SNAPSHOT.6 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply