chore: refactored for helm management of pipeline objects

This commit is contained in:
2023-10-07 18:51:05 -06:00
parent f052787a36
commit 976bc8b1db
75 changed files with 270 additions and 4044 deletions

View File

@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/

View File

@@ -0,0 +1,6 @@
dependencies:
- name: common
repository: file://../../common
version: 0.1.0
digest: sha256:dd0c1a55ae9ff1f26b9173be4e954796ab5aafd5aed0828b443dc68684e8d592
generated: "2023-10-06T22:08:04.524035034-06:00"

View File

@@ -0,0 +1,28 @@
apiVersion: v2
name: conversion-engine
description: A Helm chart for Kubernetes
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.16.0"
dependencies:
- name: common
version: 0.1.0
repository: file://../../common

Binary file not shown.

View File

@@ -0,0 +1 @@
{{- template "common.eventlistener" . -}}

View File

@@ -0,0 +1 @@
{{- template "common.pipeline" . -}}

View File

@@ -0,0 +1,2 @@
{{- template "common.task-copy-shared-utilities" . -}}

View File

@@ -0,0 +1 @@
{{- template "common.task-git-clone" . -}}

View File

@@ -0,0 +1,2 @@
{{- template "common.task-git-semver" . -}}

View File

@@ -0,0 +1 @@
{{- template "common.task-gitea-set-status" . -}}

View File

@@ -0,0 +1 @@
{{- template "common.golangci-lint" . -}}

View File

@@ -0,0 +1 @@
{{- template "common.task-helm-upgrade-from-source" . -}}

View File

@@ -0,0 +1 @@
{{- template "common.task-openshift-client" . -}}

View File

@@ -0,0 +1 @@
{{- template "common.promote" . -}}

View File

@@ -0,0 +1 @@
{{- template "common.s2i-go" . -}}

View File

@@ -0,0 +1 @@
{{- template "common.triggerbinding" . -}}

View File

@@ -0,0 +1 @@
{{- template "common.triggertemplate" . -}}

View File

@@ -0,0 +1,25 @@
# Default values for notification.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
nameOverride: ""
fullnameOverride: ""
serviceAccount: pipeline
storageClassName: nfs-client
gitHostname: git.endofday.com
quayHostname: quay01.ipa.endofday.com
organizationName: goghvideo
helmRepoUrl: https://git.endofday.com/goghvideo/helm.git
eventlistener:
triggerBinding: gitea
interceptors:
secretKey: sharedSecret
secretName: webhook-secret
eventTypes:
- pull_request
additionalFilter:
- name: filter
value: |
body.action in ["opened"]

View File

@@ -1,6 +1,5 @@
apiVersion: v2
name: notification
Name: notification
description: A Helm chart for Kubernetes
# A chart can be either an 'application' or a 'library' chart.

View File

@@ -0,0 +1 @@
{{- template "common.task-git-clone" . -}}

View File

@@ -6,7 +6,11 @@ nameOverride: ""
fullnameOverride: ""
serviceAccount: pipeline
storageClassName: nfs-client
gitHostname: git.endofday.com
quayHostname: quay01.ipa.endofday.com
organizationName: goghvideo
helmRepoUrl: https://git.endofday.com/goghvideo/helm.git
eventlistener:
triggerBinding: gitea
interceptors:

View File

@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/

View File

@@ -0,0 +1,6 @@
dependencies:
- name: common
repository: file://../../common
version: 0.1.0
digest: sha256:dd0c1a55ae9ff1f26b9173be4e954796ab5aafd5aed0828b443dc68684e8d592
generated: "2023-10-06T22:08:04.524035034-06:00"

View File

@@ -0,0 +1,28 @@
apiVersion: v2
name: upload-to-nextcloud
description: A Helm chart for Kubernetes
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.16.0"
dependencies:
- name: common
version: 0.1.0
repository: file://../../common

Binary file not shown.

View File

@@ -0,0 +1 @@
{{- template "common.eventlistener" . -}}

View File

@@ -0,0 +1 @@
{{- template "common.pipeline" . -}}

View File

@@ -0,0 +1,2 @@
{{- template "common.task-copy-shared-utilities" . -}}

View File

@@ -0,0 +1 @@
{{- template "common.task-git-clone" . -}}

View File

@@ -0,0 +1,2 @@
{{- template "common.task-git-semver" . -}}

View File

@@ -0,0 +1 @@
{{- template "common.task-gitea-set-status" . -}}

View File

@@ -0,0 +1 @@
{{- template "common.golangci-lint" . -}}

View File

@@ -0,0 +1 @@
{{- template "common.task-helm-upgrade-from-source" . -}}

View File

@@ -0,0 +1 @@
{{- template "common.task-openshift-client" . -}}

View File

@@ -0,0 +1 @@
{{- template "common.promote" . -}}

View File

@@ -0,0 +1 @@
{{- template "common.s2i-go" . -}}

View File

@@ -0,0 +1 @@
{{- template "common.triggerbinding" . -}}

View File

@@ -0,0 +1 @@
{{- template "common.triggertemplate" . -}}

View File

@@ -0,0 +1,25 @@
# Default values for notification.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
nameOverride: ""
fullnameOverride: ""
serviceAccount: pipeline
storageClassName: nfs-client
gitHostname: git.endofday.com
quayHostname: quay01.ipa.endofday.com
organizationName: goghvideo
helmRepoUrl: https://git.endofday.com/goghvideo/helm.git
eventlistener:
triggerBinding: gitea
interceptors:
secretKey: sharedSecret
secretName: webhook-secret
eventTypes:
- pull_request
additionalFilter:
- name: filter
value: |
body.action in ["opened"]