Questions tagged [buildkite]

Another CI/CD pipeline tool, similar as Travis CI.

https://buildkite.com/docs/quickstart/getting-started

51 questions
1
vote
0 answers

Airflow/Buildkite ValueError: Invalid header value b'Bearer xxxx\n'

We are using Airflow to run some ML training jobs, and this creates a buildkite build that generates a GitHub PR to use a new ML model. It had been working before, but now we are getting a strange error: ValueError: Invalid header value b'Bearer…
wordsforthewise
  • 13,746
  • 5
  • 87
  • 117
1
vote
0 answers

Is it possible to not run Buildkite for readme updates?

I have the following action on buildkite that automatically packs and deploy a package to repo manager every time a PR gets merged into master. But I would like that it was not run if my update is only a README.md update, is it possible to do so?
JCP
  • 119
  • 10
1
vote
0 answers

keytar.node causing issues in Buildkite pipeline

I'm trying to create a CI/CD pipeline using buildkite where the build steps runs on a Virtual Machine (Ubuntu). However, an npm package called keytar which is a dependency of tedious library is causing issues in the pipeline. When running one of the…
Arpan Kc
  • 928
  • 1
  • 6
  • 19
1
vote
1 answer

How to set application credential details in CI?

How to set application credential details in buildkite so that it can be used as part of tests? Any help? thanks in Advance
A J
  • 1,439
  • 4
  • 25
  • 42
1
vote
1 answer

Is it possible to specify the name of the .yml file for buildkite to use for its pipeline config?

Buildkite by default searches in your repo for .buildkite/pipeline.yml, however I was wondering if its possible to specify an alternative name for the config file. So for example is it possible to have the following folder and yml files in your…
chumbaloo
  • 671
  • 6
  • 16
1
vote
1 answer

How to skip a build step based on environment variable in Buldkite pipeline.yml file?

I have a pipeline.yml for buildkite CI which is: steps: - label: "Test" command: test.sh skip: "$BUILDKITE_BRANCH == 'mybranch'" I want to skip the build step if the branch name is mybranch but this setting doesn't seem to work in…
Joey Yi Zhao
  • 37,514
  • 71
  • 268
  • 523
1
vote
1 answer

What are these comands mean in buildkite?

What do these command mean in buildkit build pipeline? command: command: | command: >- I am trying to build a build pipeline and I can't find any documentations on them. What are the differences between them? example: command: | npm…
cam
  • 129
  • 1
  • 12
1
vote
1 answer

How to use pipe operator in yml file

I am generating a pipeline.yml file and in the command step, I need to do something like curl google.com | sh but it seems to be interpreted literally. I tried substituting the command step with shell but it doesn't seem to be supported. What am I…
Chris
  • 367
  • 4
  • 16
1
vote
1 answer

How do you add an environment variable across pipeline.yml for BuildKite?

The BuildKite documentation suggests that you can add environment variables that will apply to a whole pipeline.yml file, but doesn't actually show you how to do it. I tried something like: CONCURRENCY=10 steps: - label: ":rocket: Let's kick…
Hannele
  • 9,301
  • 6
  • 48
  • 68
1
vote
1 answer

Buildkite how to mount single files in docker agent

I want to configure a pipeline to run my tests. The tests are in a docker-compose file. Inside my Buildkite agent, I cannot mount single files. I want to mount the source directory and individual config files. My docker-compose works fine in other…
Jake He
  • 2,417
  • 3
  • 29
  • 41
1
vote
0 answers

Private ssh key content as CLI argument

Following the example in Buildkite charts, I'm looking to specify the contents of my private key using cat: helm install buildkite --name bk-agent --namespace buildkite \ --set privateSshKey="$(cat buildkite.key)" The problem I'm having is that…
Kamil Sindi
  • 21,782
  • 19
  • 96
  • 120
0
votes
1 answer

Create image for jenkins agent

I am trying to create a maven-based buildkit image for the jenkins agent. If you create an image and run it as an agent, it takes infinite repetition. I think the image is built incorrectly, but it asks to inspect the Dockerfile. FROM…
raboy
  • 1
  • 1
0
votes
0 answers

How call rest api in command step in buildkite?

Here is the rest documentation for buildkite and any request requires a auth token. Can this API be invoked from buildkite build somehow? Maybe some command that already grabbed token because it running inside Buildkite? or some additional step to…
Cherry
  • 31,309
  • 66
  • 224
  • 364
0
votes
0 answers

How get information from previous successful build in buildkite via cmd?

During some current build, it is needed to get the last successful build (or may be with another status) from history for some branch. How can it be done from the command step in buildkite pipeline?
Cherry
  • 31,309
  • 66
  • 224
  • 364
0
votes
0 answers

Buildkite output user input

I have a .buildkite.yml file with steps similar to the following: steps: - name: "Release" command: ./auto/release - block: "Deploy with parameters" fields: - select: "Environment" key: "BUILD_STAGE" hint: "Which…
Devatanu
  • 507
  • 5
  • 13