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:
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