zuul-operator/playbooks/zuul-operator-functional/tasks/test_registry.yaml
James E. Blair d87ea64c06 Add support for zuul-registry
Change-Id: Ie206f8f7c48da3cfaabb33d16f2a339b35db4e5e
2021-07-23 10:27:06 -07:00

24 lines
637 B
YAML

- k8s:
namespace: default
definition:
apiVersion: batch/v1
kind: Job
metadata:
name: test-registry
spec:
template:
spec:
containers:
- name: test-registry
image: quay.io/containers/podman:latest
command: ['podman', 'login', '--tls-verify=false', 'https://zuul-registry/', '-u', 'testuser', '-p', 'testpass']
securityContext:
privileged: true
restartPolicy: Never
backoffLimit: 4
wait: yes
wait_timeout: 300
wait_condition:
type: Complete
status: "True"