4 votes
Accepted

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 ...
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 https://github.com/docker/cli/issues/1809 if DOCKER_HOST environment variable is set, we ignore the current context setting. Bitbucket sets this environment ...
user avatar
1 vote
Accepted

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 https://kubernetes.io/docs/admin/authentication/ ...
user avatar
  • 248
1 vote
Accepted

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 ...
user avatar
  • 12.6k
1 vote
Accepted

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 ...
user avatar
  • 11.1k
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 ...
user avatar
  • 767
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: ...
user avatar
  • 604
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. ...
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 ...
user avatar
  • 1,361
1 vote

OOM when running Bitbucket pipelines

I suspect that Bitbucket pipelines is enforcing this memory limit, not docker-compose. This is nothing to do with the Linux kernel's OOM killer. The page you linked is about memory limits in ...
user avatar
  • 832

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