github.com/abayer/test-infra@v0.0.5/prow/cmd/build/test-pj.yaml (about)

     1  kind: ProwJob
     2  apiVersion: prow.k8s.io/v1
     3  metadata:
     4    name: test-pass
     5  spec:
     6    agent: build
     7    build_spec:
     8      steps:
     9      - name: hello
    10        image: busybox
    11        args: ['echo', 'hello', 'world']
    12  ---
    13  kind: ProwJob
    14  apiVersion: prow.k8s.io/v1
    15  metadata:
    16    name: test-multi-step
    17  spec:
    18    agent: build
    19    build_spec:
    20      steps:
    21      - name: hello
    22        image: busybox
    23        args: ['echo', 'hello']
    24      - name: world
    25        image: busybox
    26        args: ['echo', 'world']
    27  ---
    28  kind: ProwJob
    29  apiVersion: prow.k8s.io/v1
    30  metadata:
    31    name: test-fail
    32  spec:
    33    agent: build
    34    build_spec:
    35      steps:
    36      - name: hello
    37        image: busybox
    38        args: ['echo', 'hello']
    39      - name: doh
    40        image: busybox
    41        args: ['doh']