Comments
-
If you're dependent on external files, you will need to download them once the Docker container starts running. This means in your bitbucket-pipelines.yml you will need to download the external files at the start of your build. Here's some resources that may be able to help you with this: *…
-
You can debug a Bitbucket Pipelines build locally by using Docker. First, install Docker. To set it up will vary depending on which OS you are using. See this page for install instructions: https://docs.docker.com/engine/installation/ Have you bitbucket-pipelines.yml handy, we'll need to grab a few values and commands from…
-
Bitbucket Pipelines does not currently support the ability to push a Docker image to Docker Hub. You can follow this issue here to receive updates on the status of this feature: https://bitbucket.org/site/master/issues/12790/building-and-pushing-docker-images
-
Hi Marek, There is no current functionality to configure the hostname of the Docker container in the Docker run command. Feel free to open a feature request here: https://bitbucket.org/site/master/issues Out of curiosity, what's your use-case here? Thanks, Phil
-
Hi Michael, You can view the logs of all your pipelines by navigating to the Pipelines page: step1.png You can then select the pipeline you wish to see the logs of: step2.png The logs are output here, you may need to click on the 'phpunit' or 'composer install' commands to expand the logs: step3.png If you require more…
-
You can try to debug this locally by following this guide: https://confluence.atlassian.com/display/BITBUCKET/Debug+your+pipelines+locally+with+Docker To address your nodejs vs python question. You can create a Docker image that has…
-
Hi Moe, You can use a secured environment variable for to achieve this. Variables in pipelines - Atlassian Documentation The variable value will be masked from all log output if you mark it as a "secured" variable on creation. By the sounds of it, the only thing you will have to change is that you read in these values as…
-
I'll have a proper look at this in the office tomorrow. For now, see if you can gain any further insight by following this guide: https://confluence.atlassian.com/display/BITBUCKET/Debug+your+pipelines+locally+with+Docker It may be worthwhile to add a 'tree' command to the start of your build, just to check you are getting…
-
Hi Kaz, We match the most specific pattern. So if you have multiple globbing patterns, the most specific one to match your branch/tag/bookmark will be selected. For example: pipelines: branches: my-branch-a: - step: script: - echo "branch 1" my-branch-*: - step: script: - echo "branch 2" my-*: - step: script: - echo…
-
Does this cause the clone to hang? Fail? Or just not get all the repo contents you want?
-
Hello, I'm not quite sure what the exact cause of this issue is, but can you try the following: Check if your repository has Pipelines enabled. Go to your repository settings -> Pipelines -> settings. There should be a toggle that will let you know if Pipelines is enabled or not. * If Pipelines is enabled, you can either…
-
Hi Anton, Bitbucket Pipelines allows you to define a Docker image to use on the step (as well as globally). The current limitation is that you will need to define a different Docker image on each branch (but in the future when there are multiple steps in a Pipeline you can have each step have a different Docker image). For…