# How to execute pipeline.yml?

**URL:** https://forum.buildkite.community/t/how-to-execute-pipeline-yml/4195
**Category:** Pipelines
**Created:** [February 1, 2025, 5:36am UTC](https://forum.buildkite.community/t/how-to-execute-pipeline-yml/4195 "2025-02-01T05:36:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sshleifer](https://avatars.discourse-cdn.com/v4/letter/s/c67d28/32.png) [@sshleifer](https://forum.buildkite.community/u/sshleifer)
#### Post date: [February 1, 2025, 5:36am UTC](https://forum.buildkite.community/t/how-to-execute-pipeline-yml/4195/1 "2025-02-01T05:36:22Z")

</div>

When I paste the contents of pipeline.yml into the Steps UI, everything works perfectly, but when I update the steps UI to just contain builldkite upload pipeline.yml I get various errors suggesting that my steps need to be an array or my pipeline type is not supported

What is the correct way to do this? My goal is to have all the logic in GitHub.  
I use buildkite-agent-stack-k8s

Contents of pipeline.yml:

```auto
steps:
  - label: "Run GPU test test"
    agents:
      queue: kubernetes
    plugins:
      - kubernetes:
          checkout:
            gitCredentialsSecret:
              secretName:REDACTED
          podSpec:
              - name: dshm
                emptyDir:
                  medium: Memory
                  sizeLimit: "10Gi"
            containers:
              - image: REDACTED
                envFrom:
                  - secretRef:
                      name: buildkite-env-creds
                command: 
                  - set -e
                  - |
                    apt-get update && apt-get install bash
                    echo "PWD: $(pwd) | Contents: $(ls -la)"
                    bash .buildkite/run.sh 2>&1

```

---

<div class="post-metadata">

### Author: ![lizette](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/lizette/32/1161_2.png) [@lizette](https://forum.buildkite.community/u/lizette)
#### Post date: [February 2, 2025, 11:28pm UTC](https://forum.buildkite.community/t/how-to-execute-pipeline-yml/4195/2 "2025-02-02T23:28:08Z")

</div>

Hi @sshleifer,

I think the above pipeline has missing `volume` name on the podSpec and should be:

```auto
          volumes:
              - name: dshm
                emptyDir:
                   medium: Memory
                   sizeLimit: "10Gi"

```

If the above was just a type and actually exists in your pipeline, you could email us your build url at [support@buildkite.com](mailto:support@buildkite.com) so we can have a closer look into it.

Cheers!
