mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-04 19:53:30 +02:00
* Debugging the integration testing. It seems to be consistently failing (also fix a typo in the file/leg name). I'm disabling `-v` for `go test` because it interleaves the test output in ways that make it painful to read a single failing test's output when `t.Parallel` is involved. * Try swapping registry:2 for the registry add-on * Drop logf and make Logger private
24 lines
542 B
YAML
24 lines
542 B
YAML
apiVersion: batch/v1
|
|
kind: Job
|
|
metadata:
|
|
name: kaniko-test-{{.Name}}
|
|
spec:
|
|
template:
|
|
spec:
|
|
hostNetwork: true
|
|
containers:
|
|
- name: kaniko
|
|
image: localhost:5000/executor:latest
|
|
workingDir: /workspace
|
|
args: [ "--context=dir:///workspace",
|
|
"--destination={{.KanikoImage}}"]
|
|
volumeMounts:
|
|
- name: context
|
|
mountPath: /workspace
|
|
restartPolicy: Never
|
|
volumes:
|
|
- name: context
|
|
hostPath:
|
|
path: {{.Context}}
|
|
backoffLimit: 1
|