-
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.
feat(fizzbuzz): add fizzbuzz and fizzbuzz crds chart (#41)
- Loading branch information
1 parent
2e29c60
commit d5a37ef
Showing
10 changed files
with
181 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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Fizzbuzz Chart | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'charts/fizzbuzz/**' | ||
push: | ||
branches: | ||
- 'maintenance/fizzbuzz-chart/[0-9]+.x.x' | ||
- 'maintenance/fizzbuzz-chart/[0-9]+.[0-9]+.x' | ||
- 'release/fizzbuzz-chart' | ||
paths: | ||
- 'charts/fizzbuzz/**' | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: read | ||
actions: read | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
fizzbuzz-chart: | ||
uses: SwanseaUniversityMedical/workflows/.github/workflows/[email protected] | ||
with: | ||
job-name: fizzbuzz-chart | ||
registry: ${{ vars.HARBOR_REGISTRY }} | ||
registry-user: ${{ vars.HARBOR_USER }} | ||
registry-project: ${{ vars.HARBOR_PROJECT }} | ||
registry-repo: fizzbuzz | ||
release-tag-format: 'fizzbuzz-chart-${version}' | ||
cosign-public-key: ${{ vars.COSIGN_PUBLIC_KEY }} | ||
slack-channel: ${{ vars.SLACK_CHANNEL }} | ||
chart: charts/fizzbuzz | ||
test-command: | | ||
helm template $CHART --debug | ||
secrets: | ||
cosign-private-key: ${{ secrets.COSIGN_PRIVATE_KEY }} | ||
cosign-password: ${{ secrets.COSIGN_PASSWORD }} | ||
registry-token: ${{ secrets.HARBOR_TOKEN }} | ||
slack-token: ${{ secrets.SLACK_TOKEN }} |
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,44 @@ | ||
name: Fizzbuzz CRDs Chart | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'charts/fizzbuzz-crds/**' | ||
push: | ||
branches: | ||
- 'maintenance/fizzbuzz-crds-chart/[0-9]+.x.x' | ||
- 'maintenance/fizzbuzz-crds-chart/[0-9]+.[0-9]+.x' | ||
- 'release/fizzbuzz-crds-chart' | ||
paths: | ||
- 'charts/fizzbuzz-crds/**' | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: read | ||
actions: read | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
fizzbuzz-crds-chart: | ||
uses: SwanseaUniversityMedical/workflows/.github/workflows/[email protected] | ||
with: | ||
job-name: fizzbuzz-crds-chart | ||
registry: ${{ vars.HARBOR_REGISTRY }} | ||
registry-user: ${{ vars.HARBOR_USER }} | ||
registry-project: ${{ vars.HARBOR_PROJECT }} | ||
registry-repo: fizzbuzz-crds | ||
release-tag-format: 'fizzbuzz-crds-chart-${version}' | ||
cosign-public-key: ${{ vars.COSIGN_PUBLIC_KEY }} | ||
slack-channel: ${{ vars.SLACK_CHANNEL }} | ||
chart: charts/fizzbuzz-crds | ||
test-command: | | ||
helm template $CHART --debug | ||
secrets: | ||
cosign-private-key: ${{ secrets.COSIGN_PRIVATE_KEY }} | ||
cosign-password: ${{ secrets.COSIGN_PASSWORD }} | ||
registry-token: ${{ secrets.HARBOR_TOKEN }} | ||
slack-token: ${{ secrets.SLACK_TOKEN }} |
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,24 @@ | ||
|
||
# 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/ |
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,6 @@ | ||
apiVersion: v2 | ||
appVersion: 0.0.0 | ||
description: Fizzbuzz CRDs. | ||
name: fizzbuzz-crds | ||
type: application | ||
version: 0.0.0 |
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,26 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
# name must match the spec fields below, and be in the form: <plural>.<group> | ||
name: fizzbuzzs.fizzbuzz.ukserp.ac.uk | ||
spec: | ||
group: fizzbuzz.ukserp.ac.uk | ||
versions: | ||
- name: v1 | ||
served: true | ||
storage: true | ||
schema: | ||
openAPIV3Schema: | ||
type: object | ||
properties: | ||
spec: | ||
type: object | ||
properties: | ||
n: | ||
type: integer | ||
description: Fizzbuzz input N. | ||
scope: Namespaced | ||
names: | ||
plural: fizzbuzzs | ||
singular: fizzbuzz | ||
kind: Fizzbuzz |
Empty file.
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,24 @@ | ||
|
||
# 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/ |
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,6 @@ | ||
apiVersion: v2 | ||
appVersion: 1.2.3 | ||
description: Fizzbuzz. | ||
name: fizzbuzz | ||
type: application | ||
version: 0.0.0 |
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,6 @@ | ||
{{- range $manifest := .Values.extraManifests }} | ||
--- | ||
{{- if typeIs "string" $manifest }} | ||
{{ tpl $manifest $ }} | ||
{{- end }} | ||
{{- end }} |
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 @@ | ||
extraManifests: [] |