hí ộ
This commit is contained in:
5
templates/builds/dockerfile-build/v1/chart/Chart.yaml
Normal file
5
templates/builds/dockerfile-build/v1/chart/Chart.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
apiVersion: v2
|
||||
name: dockerfile-build
|
||||
version: 1.0.0
|
||||
type: application
|
||||
description: Gateway-owned isolated Dockerfile build Job
|
||||
@@ -0,0 +1,5 @@
|
||||
{{- /* Build policy and credential mounts are constructed and verified by the gateway. */}}
|
||||
{{- range .Values.platform.manifests }}
|
||||
---
|
||||
{{ toYaml . }}
|
||||
{{- end }}
|
||||
3
templates/builds/dockerfile-build/v1/chart/values.yaml
Normal file
3
templates/builds/dockerfile-build/v1/chart/values.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
spec: {}
|
||||
platform:
|
||||
manifests: []
|
||||
6
templates/builds/dockerfile-build/v1/check-values.yaml
Normal file
6
templates/builds/dockerfile-build/v1/check-values.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
spec:
|
||||
strategy: dockerfile
|
||||
contextDir: .
|
||||
dockerfile: Dockerfile
|
||||
platform:
|
||||
manifests: []
|
||||
7
templates/builds/dockerfile-build/v1/meta.json
Normal file
7
templates/builds/dockerfile-build/v1/meta.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "dockerfile-build",
|
||||
"version": "v1",
|
||||
"topology": ["ConfigMap", "Job"],
|
||||
"class": "build",
|
||||
"defaults": {}
|
||||
}
|
||||
14
templates/builds/dockerfile-build/v1/schema.json
Normal file
14
templates/builds/dockerfile-build/v1/schema.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://platform.example/templates/dockerfile-build/v1",
|
||||
"title": "dockerfile-build@v1",
|
||||
"description": "Build recipe, independent of ServiceSpec; infrastructure is gateway-owned",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["strategy", "contextDir", "dockerfile"],
|
||||
"properties": {
|
||||
"strategy": {"const": "dockerfile"},
|
||||
"contextDir": {"type": "string", "minLength": 1, "maxLength": 256},
|
||||
"dockerfile": {"type": "string", "minLength": 1, "maxLength": 256}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user