Questions tagged [bitbucket-pipelines]

Questions related to Bitbucket Pipelines CI/CD.

Bitbucket Pipelines is a Continuous Delivery & Continuous Integration (CI/CD) feature that’s built right into Bitbucket Cloud, from Atlassian. It allows developers to easily automate their workflow of building and deploying their code every time they push code to their Bitbucket repositories.

It run the builds inside Docker Container*.

1350 questions
6
votes
2 answers

Bitbucket pipelines .net deploy

I am trying to use new tool pipelines from bitbucket. I have multiple .NET console application (not Core app) than i want to build and download. I found this page that says that I can use mono to build my project. I use this .yml file to build…
Pavol
  • 552
  • 8
  • 19
6
votes
1 answer

Bitbucket Pipelines: pulling an image from GCR with environment variables fails

So I'm trying to use an image from my Google Container Registry, since this is a private registry I need to authenticate. Obviously I don't want to renew my auth token every hour to make my pipelines work, so I need to go for the json key file. It…
TheWolfNL
  • 1,263
  • 1
  • 13
  • 29
6
votes
2 answers

Setting up CD for a Ruby on Rails project with Bitbucket Pipelines and Docker

I'd love to set up continuous deployment in Bitbucket Pipelines for a Ruby on Rails / PostgreSQL / Sidekiq project, but I'm struggling to get my head around how it all fits together, and specifically how to get postgres working inside a Docker…
6
votes
5 answers

Atlassian Pipelines and Angular CLI

Trying to set up pipelines with Angular CLI and running into an issue when calling ng build. pipelines: default: - step: script: # Modify the commands below to build your repository. - npm --version - npm install …
Thibs
  • 8,058
  • 13
  • 54
  • 85
5
votes
3 answers

yarn build - error Command failed with exit code 137 - Bitbucket Pipelines out of memory - Using max memory 8192mb

Our react app is configured to build and deploy using the CRA scripts and Bitbucket Pipelines. Most of our builds are failing from running yarn build with the following error: error Command failed with exit code 137. This is an out of memory…
Drew Gallagher
  • 442
  • 1
  • 12
5
votes
1 answer

GraphQL Unexpected server error when running eas submit

I'm trying to create a submission to the google play store however the bitbucket pipelines have been returning a rather no explicit graphql error when running eas submit. here is the error I'm getting from the bitbucket pipelines. + eas submit -p…
Dorny Muba
  • 51
  • 1
  • 3
5
votes
0 answers

Unable to list file systems to check whether they can be watched

I've just setup a Bitbucket pipeline to build an Android application in a Docker container ... but after the build, it fails to mount some unknown directory: > Task :mobile:lintDebug Wrote HTML report to…
Martin Zeitler
  • 1
  • 19
  • 155
  • 216
5
votes
0 answers

How to save build logs from Bitbucket Pipelines

Currently, the way I have my pipelines setup is having each step run on 'self.hosted' runners. I do it this way so I don't have to spend Bitbucket build minutes. Every time the pipeline runs, I can see the containers being created and terminated on…
Ethan Chen
  • 63
  • 6
5
votes
0 answers

Slow Elastic Beanstalk Deployment

Neither of the two of us on our small team are AWS experts by any stretch of the imagination. We have several Spring Boot applications deployed through Bitbucket Pipelines to AWS EC2 instances. These are single-instance, auto-scaling (up to 2…
5
votes
1 answer

Bitbucket Pipeline: Container 'Build' exceeded memory limit

I am trying to run a pipeline for my Angular App but when it comes to the "npm run build" part it crashes, the fail reason is "Container "Build" exceeded memory limit." I tried messing around with the memory settings in the yml file, for instance…
5
votes
3 answers

How to replace .env file placeholders with deployment variables in bitbucket pipeline

I have a bitbucket repository. I have Deployment environment variables in bitbucket: BITBUCKET_VARIABLE_PORT : 8080 In my bitbucket-pipelines.yaml script I can Write the variable into the .env file like this: <...> step: &deploy-to-environment …
Ihar Dziamidau
  • 337
  • 2
  • 9
5
votes
1 answer

prevent the bitbucket pipline from tirggering when bitbucket-pipelines.yml is updated

I am new to bitbuckt pipeline. To my node project I have added bitbucket-pipelines.yml in the pipeline I have a step to build and push container to ECR and another step to deploy. Now each time I make a change to bitbucket-pipelines.yml it build and…
kumar
  • 8,207
  • 20
  • 85
  • 176
5
votes
2 answers

Flake8 linter check through Bitbucket pipeline only on pushed files

I am trying to setup Flake8 linter in bitbucket pipeline and it works but I only want to run linter on pushed files. Currently, it runs on the entire project. There are many modules in the project which are not optimized and not planned to do it for…
Priyank
  • 1,219
  • 11
  • 30
5
votes
1 answer

Storing secrets into Bitbucket Pipelines and then deploy on App Engine?

Suppose having a project in a bitbucket repository storing a secret API key in a config file like config.json: { "secret": } Is it possible refer to the "secret" variable from variables in bitbucket pipeline and then deploy this automatically…
David
  • 2,926
  • 1
  • 27
  • 61
5
votes
2 answers

Bitbucket Pipeline with docker-compose: Container ID 166535 cannot be mapped to a host ID

I'm trying to use docker-compose inside bitbucket pipeline in order to build several microservices and run tests against them. However I'm getting the following error: Step 19/19 : COPY . . Service 'app' failed to build: failed to copy files: failed…