Questions tagged [bitbucket-pipelines]
Questions related to Bitbucket Pipelines CI/CD.
bitbucket-pipelines
1,421
questions
0
votes
0
answers
20
views
Nginx Issue while deploying dockerized laravel to Digital Ocean
I am deploying Containerized Laravel to Digital Ocean using the bitbucket pipeline. I am pushing the PHP image to the docker hub and pulling it from there. Everything goes right but in the end, nginx ...
0
votes
1
answer
25
views
Bitbucket pipeline conditional execution when tests fail
Having a Bitbucket pipeline that executes 2 steps:
Runs Python tests and saves report artifacts in an XML file
Runs SonarQube scanner with the above report file.
If every test is ok, the SonarQube ...
-2
votes
2
answers
43
views
How to solve Bitbucket pipeline error : vendor/bin/phpunit: No such file or directory
For my Laravel application, I have created a bitbucket-pipeline :
image: php:8.0
pipelines:
branches:
stage:
- step:
name: Install Dependencies
caches:
- ...
1
vote
2
answers
71
views
Bitbucket Pipeline "docker: command not found"
After following the article "Run Docker commands in Bitbucket Pipelines" I came up with this sample pipeline I'm trying to build for a Python repository.
image: python:3.10-slim
pipelines:
...
0
votes
0
answers
52
views
bitbucket pipeline gives 'Could not find Ninja on PATH or in SDK CMake bin folders' error
I'm encountering an issue with my Bitbucket pipeline while building my Android project. The error message I receive is:
Execution failed for task ':core_data:configureCMakeRelWithDebInfo[arm64-v8a]'.
...
0
votes
0
answers
51
views
Chromium distribution 'chrome' is not found at /opt/google/chrome/chrome
Im trying to install chromium and run the test cases using the bitbucket pipeline
The below is my pipeline
image: mcr.microsoft.com/playwright/java:v1.33.0-focal
pipelines:
default:
- step:
...
0
votes
0
answers
32
views
Bitbucket pipelines conditional trigger mode
I need to dynamically set the trigger of a step to manual or automatic based on the value of an ENV VAR.
my actual code:
definitions:
steps:
- step: &setup
name: Setup
script:...
0
votes
1
answer
80
views
Build Dpkg from bitbucket pipeline gives "dpkg-deb: error: control directory has bad permissions 777 (must be >=0755 and <=0775)"
I'm trying to build .deb package from the bitbucket pipeline but end up with this error msg.
dpkg-deb: error: control directory has bad permissions 777 (must be >=0755 and <=0775)
tried to ...
0
votes
1
answer
59
views
Checking for circular dependencies with madge in bitbucket CI
I want to add a step to check for circular dependencies in our bitbucket pipeline, but I'm struggling to come up with a good way to grab the output to throw an error or not
Here are the bitbucket ...
0
votes
1
answer
46
views
Server hung up on ssh -T connection
I am trying connecting to an AWS instance with the following command:
ssh -o StrictHostKeyChecking=no -t -i ec2-key.pem ${EC2_USER}@${EC2_HOST} <<EOF
docker stop users
echo ${DOCKER_PASSWORD} | ...
-2
votes
1
answer
109
views
Generating iOS Build and Automatic Upload on TestFlight via Bitbucket Pipeline
We are utilizing Flutter Bitbucket Pipeline for our build development process. While the Android build is functioning correctly, we are encountering challenges with generating an iOS build and ...
0
votes
1
answer
187
views
Dynamically Accessing Bitbucket Environment Variables in Pipelines
How can I dynamically pass multiple Role ARNs defined in my Bitbucket repository environment variable to a step variable in my pipeline?
I have three Role ARNs defined in my Bitbucket repository ...
1
vote
0
answers
32
views
Access MongoDB Atlas from Bitbucket Pipelines build environments
I am trying to do some CRUD MongoDB operations from bitbucket pipelines. I have a Dedicated MongoDB cluster hosted in MongoDB Atlas AWS Setup. The problem is I am not able to connect to the cluster ...
0
votes
0
answers
60
views
AWS CodeDeploy with Bitbucket pipe line
I'm trying to deploy AWS EC2 deployment using the Bitbucket pipeline and the AWS code deployment.
I'm getting this error when trying to deploy. It mentions some errors related to Auto Scaling groups ...
0
votes
1
answer
83
views
deploying affected with nx mono repo using bitbucket pipeline based on tag
I am using bitbucket pipelines and NX for a mono repo.
I am trying to use build and deploy affected using our tag based deployment, but the problem is I need to point point to a branch:
nx affected --...