github.com/buildkite/agent-stack-k8s@v0.4.0/integration/fixtures/helloworld.yaml (about)

     1  steps:
     2    - label: ":wave:"
     3      agents:
     4        queue: {{.queue}}
     5      artifact_paths: "CODE_OF_CONDUCT.md"
     6      env:
     7        BUILDKITE_SHELL: /bin/sh -e -c
     8      plugins:
     9        - kubernetes:
    10            metadata:
    11              annotations:
    12                some-annotation: cool
    13              labels:
    14                some-label: wow
    15            podSpec:
    16              containers:
    17                - image: alpine:latest
    18                  command: [cat]
    19                  args: [README.md]
    20                - image: alpine:latest
    21                  command: [touch]
    22                  args: [some-file]
    23                  securityContext:
    24                    runAsNonRoot: true
    25                    runAsUser: 1000
    26                    runAsGroup: 1001
    27                - image: buildkite/agent:latest
    28                  command: [buildkite-agent]
    29                  args: [artifact upload "README.md"]