Skip to main content
Share Your Experience: Take the 2024 Developer Survey
4 votes

How to bind ports for docker container in bitbucket pipelines?

Try running with -d detached flag docker run -td -p 3000:3000 -p 6379:6379 -p 8983:8983 my_dockerhub/image # here ^ Containers started in detached mode exit when the root process used to run ...
ANTARA's user avatar
  • 156
2 votes

Unable to use AWS ECS docker context in bitbucket pipelines deployment step

I found the answer in this github issue if DOCKER_HOST environment variable is set, we ignore the current context setting. Bitbucket sets this environment ...
Jason Redwood's user avatar
2 votes

OOM when running Bitbucket pipelines

I suspect that Bitbucket pipelines is enforcing this memory limit, not docker-compose. Similarly to docker-compose, the Bitbucket pipelines code is likely to use Linux CGroups to enforce the memory ...
RichVel's user avatar
  • 902
1 vote

How to deploy applications to k8s using bitbucket pipelines?

You need to separate your daily authentication method of the CD authentication. You should start understanding the different methods that K8S offers ...
wolmi's user avatar
  • 248
1 vote

How to avoid code duplication in bitbucket-pipelines?

Unlike the declarative pipelines in Jenkins, bitbucket does not seem to have such functionality. In order to prevent code duplication a script was created and the current bitbucket-pipelines looks as ...
030's user avatar
  • 13.2k
1 vote

Advantages of using Code-pipeline and Codebuild for CI/CD over Bitbucket pipeline?

A bit too long for a comment, so converting to an answer: That's super broad and highly depends on your final needs IMHO, if you're full AWS and ok with being vendor locked down, then code commit/code ...
Tensibai's user avatar
  • 11.4k
1 vote

Is there a better model for my CI/CD cycle?

Key issue with this approach is that applying commits selectively is extremely problematic. Basically, how do you know whether commits are dependent or independent? As you correctly mentioned, this is ...
taleodor's user avatar
  • 885
1 vote

Bitbucket pipelines: Deployment destination dependent on commit author

the idea is for each team member to have his/her own environment assigned, but deploy using a shared parametrized pipeline You could use definitions for the steps for each environment. definitions: ...
Recoba20's user avatar
  • 632
1 vote

What's the equivalent of `heroku container:release web` without using heroku-cli?

You can install the Heroku CLI via npm - which might be the simplest. Note that your Heroku API key has to have the env var name HEROKU_API_KEY for the Heroku CLI to accept it as an auth token (ie. ...
dwjohnston's user avatar
1 vote

Continuous integration using bitbucket pipelines failed for OpenEdx

The author of the Q&A indicated that the issue has been solved since absolute paths were used.
1 vote

How to configure bitbucket pipeline and deploy to alibaba clouds

You can be done this task using below steps: 1: Creating the Bitbucket Git Repository And Adding our Application and Docker Configurations in it 2: Integrating Bitbucket with ACR 3: Deploying The ...
Subhash's user avatar
  • 1,536

Only top scored, non community-wiki answers of a minimum length are eligible