Questions tagged [buildkite]

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

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

51 questions
0
votes
0 answers

Single repository containing multiple plugins

I've started using Buildkite and am wanting to create some plugins. I currently have one contained inside a git repository and structured according the the docs, e.g.: . ├── plugin.yml └── hooks ├── post-command ├── pre-command and am…
SkinnyBetas
  • 461
  • 1
  • 5
  • 27
0
votes
0 answers

How can I reduce the number of jobs in a Buildkite pipeline upload?

I am working on a Buildkite CICD pipeline that occasionally has too many jobs to run and results in the following error: Failed to upload and process pipeline: Pipeline upload rejected: The number of jobs in this upload exceeds your organization…
CB Hoffman
  • 191
  • 6
0
votes
0 answers

glide unable to fetch dependency on buildkite CI pipeline

I have a go service that uses glide for dependency management. I updated the version (in glide.lock file) for one of the packages used by the service. (The commit id is taken from master branch). However, the CI job fails as it's unable to fetch the…
Bishnu
  • 383
  • 4
  • 14
0
votes
0 answers

running elixir on buildkite with docker-compose fails with dependencies

i have the following dockerfile for an elixir+phoenix app FROM elixir:latest as build_base RUN apt-get -y update RUN apt-get -y install inotify-tools curl ARG TARGETARCH RUN if [ ${TARGETARCH} = arm64 ]; then \ curl -L -o /tmp/dart-sass.tar.gz…
tmp dev
  • 8,043
  • 16
  • 53
  • 108
0
votes
0 answers

Buildkite set global state for pipeline and use across new builds

I want to set a a variable (or state) through one build and access it another build. Something similar to meta-data, but at a global level though. I can generate a file to save the data and upload to some cloud provider (s3 or GCS). that way all my…
Amit
  • 451
  • 2
  • 6
  • 19
0
votes
0 answers

ERROR! the role 'roles_snmp' was not found

I am setting up a pipeline to test ansible roles with molecule. When I run molecule test locally I see no issues. However, when I run the same in my Buildkite pipeline I see the following an error: [2022-11-03T17:07:07Z] ERROR! the role…
pl33gS
  • 31
  • 1
  • 6
0
votes
1 answer

BUILDKITE_GIT_CLONE_FLAGS doesn't appear passed in call to git clone

In my pipeline.yaml I define at the top level: env: BUILDKITE_AGENT_DEBUG: "true" BUILDKITE_CLEAN_CHECKOUT: "true" BUILDKITE_GIT_CLONE_FLAGS: "-q" However when my build runs I still see the default -v passed and not my provided clone…
spags
  • 1
0
votes
1 answer

buildkite error : The plugins file is missing or invalid. Cannot find module 'xlsx' when running cypress test . Runs fine on local

I am getting error when running the cypress test on buildkite as below: Status: Downloaded newer image for cypress/included:6.1.0 [2022-01-31T10:32:13Z] Your pluginsFile is set to /e2e/cypress/plugins/index.js, but either the file is missing, it…
0
votes
0 answers

Passing a URL with brackets to curl using bash script

I am trying to get the response from a curl url only for a particular value. For example i am using the command URLS=$(curl -g -H "Authorization: ${abc}" "https://api.buildkite.com/v2/organizations/org/agents?meta_data=[queue=dev]") echo…
avk
  • 61
  • 5
0
votes
0 answers

How to replace hardcoded value in pipeline.yaml which is running under buildkite tool

I have a use case where I need to run the same pipeline but with a different environment variable, Like dev/qa/stage/prod. I tried to use an environment variable to make the changes at the run time but not succeeded pipeline.yaml steps: - label:…
gaurav agnihotri
  • 259
  • 1
  • 5
  • 14
0
votes
1 answer

Can we have two buildkite CI/CD pipelines for a single github repo?

The reason for two separate pipelines for a single GitHub Repo is that two pipelines are responsible for deploying to two different AWS accounts (due to legacy reasons, we need to have one piece of code to run in two production environments). I have…
Iching Chang
  • 638
  • 1
  • 7
  • 17
0
votes
1 answer

How do you a depends_on an async command (and make it trigger async as well) on buildkite?

I have an async trigger step in buildkite (e.g. I don't want it to block the rest of the pipeline). However, I want the next command to only execute if the async step passes. How can I configure this in buildkite? Reading through the buildkite…
0
votes
1 answer

Get the number between two special characters in bash

I have a string that is actually a buildkite commit message and I am trying to retrieve a number (pull request number) between two special characters. E.g. the string could be something like "some commit message (#36) * test * unsquashed * etc *…
oyeesh
  • 551
  • 9
  • 21
0
votes
1 answer

Rails asset compilation not working in docker compose

I'm trying to get a test environment set up on buildkite for a Rails app using Docker and docker-compose following the example given by buildkite here As part of our Dockerfile we're compiling the assets on the app which should compile to…
Kyle Byrne
  • 85
  • 1
  • 8
0
votes
1 answer

How can I schedule a build job on buildkite with block and fields parameter

I have a build pipeline defined in buildkite as below: - block: ":terraform: benchmark?" fields: - text: "name" key: "name" required: false default: "10" It has a block which means it requires developers to unblock the…
Joey Yi Zhao
  • 37,514
  • 71
  • 268
  • 523