Comments
-
Hey @ethanbeyer You should be able to use the SSH run Pipe to get this working quickly! You can read full documentation on Pipes here: https://confluence.atlassian.com/bitbucket/pipes-958765631.html Thanks, Phil
-
Hello, We’ve added the following default variables to Pipelines: * BITBUCKET_DEPLOYMENT_ENVIRONMENT - The URL friendly version of the environment name. * BITBUCKET_DEPLOYMENT_ENVIRONMENT_UUID - The UUID of the environment to access environments via the REST API. These are also documented with our other variables. Thanks,…
-
No worries. Glad you got it working! I'll pass the feedback on to the documentation writers.
-
I just tried and it seems to be working. Can you see if that's also an issue with any newly created account variables? If it's still an issue, can I get you to open a support ticket for us to look into more detail.
-
@alanhardin Bugger. It should be showing on the first line of the output. I manually checked the umask of the images: * php:7.3-apache-stretch - 0022 * selenium/standalone-chrome - 0022 * blackfire/blackfire - 0022 * mysql:5 - 0022 * rabbitmq:3.6-management - 0022 Can you try changing the `umask` command to `umask 0000`?…
-
Yes, you need to have your own Dockerfile. You just need to run docker commands in the same way you would locally.
-
Thanks for the information. Yeah, this would be a different feature request. Independent of the step limits. I'll pass this information on to our product managers. If you'd like, you can open a feature request for this with the details you just shared.
-
Hello Shashikant, There's a lot in this question. So lets work through it incrementally. :) Sorry if I missed some details in this answer. Now let me ask my question directly - How can I manage to push images onto our private docker hub account and also onto our server using bitbucket pipelines with just single click. So…
-
Hello, What error message are you seeing with the pull? Can you confirm that you've created the AWS_ACCESS_KEY and AWS_SECRET_KEY as Repository Variables? Thanks, Phil
-
Hello Diego, Currently we don't have any form of bulk updating of repository settings. This includes deployment restrictions. It's an idea floating around internally, but is not on our roadmap at the moment. Unfortunately that means you'll have to do this manually for now. Can I get you to open a feature request for this.…
-
Hello Alex, Here's a similar question which might help you out: https://community.atlassian.com/t5/Bitbucket-questions/Problem-with-private-repo-clone-from-Bitbucket-Pipeline/qaq-p/777070 If that doesn't help, can you paste in a copy of your bitbucket-pipelines.yml file and we can look into this a bit deeper. :) Thanks,…
-
Cheers. As you mention, it looks like you're starting your application. Pipelines won't complete until the application finishes running, as it's waiting for the process to complete executing. Why do you need to start the web server in your SSH session? Could that be something you could remove and trigger the start up…
-
My understanding was that the repo gets cloned (to a working directory), my property substitution would work off of that clone, and then the artifact gets built from that source and then deployed (we deploy to Heroku). You've got the right assumption here. That's my question for you guys. Does it require a commit? Am I…
-
Hello Hardik, You can use Docker in Pipelines, in a similar manner to how you do so locally. Here's an example bitbucket-pipelines.yml configuration that enables Docker, and does a build and push. pipelines: default: - step: services: - docker # Enables Docker in this specific step of your pipeline. script: - docker build…
-
Hello, Is the account where the Account Variable is defined, also the owner of the repository you're running Pipelines for? Thanks, Phil
-
Hello, We have a feature request, that you can follow, to allow for trigger a manual step from Slack open here: https://bitbucket.org/site/master/issues/15667/allow-running-manual-step-from-the-slack If you haven't done so already, you can set up Slack notifications to receive notifications on when a pipeline or deployment…
-
Hi Jens, Currently, we restrict the number of deployment environments to 10, as it's also the maximum number of steps that can run in a single pipeline. We have an open feature request to bump the maximum number of steps in a pipeline. If you'd like, you can also open a feature request to specifically bump the maximum…
-
Ah! I forgot we have a Pipe for that. Great to see you got it working.
-
Hello, You can validate the bitbucket-pipelines.yml YAML format locally in our VS Code integration. There is no local Pipelines agent that you can run your build locally with. You can open a feature request, for such a thing, here: https://bitbucket.org/site/master/issues/new You can create a similar environment to…
-
This appears to be a duplicate post of this one: https://community.atlassian.com/t5/Bitbucket-questions/Connect-to-ssh-using-bitbucket-pipeline/qaq-p/1101013#U1105425 Let me know if that's not the case. But otherwise, lets discuss this in that question. :)
-
Hello Daan, The SSH keys are located in /opt/atlassian/pipelines/agent/ssh. This isn't the same location as the home directory (common for other systems). Pipelines should automatically set this up with the SSH client. So, you shouldn't need to use ssh-add before using SSH. But in case you need to do any configuration, the…
-
Hi Geann, Can you try add some logging for process information into your build? pipelines: default: # Or whatever you trigger your build off, such as branches/tags/pull-requests - step: artifacts: - process-logs.txt # Declaring that you want to keep this as an artifact script: - while true; do date && ps aux && echo "" &&…
-
Hi Christian, I would suggest you start by getting things working locally on a Bash CLI, to mirror what happens inside of Visual Studio. This'll be a faster feedback loop for learning how to configure everything. I don't work with .NET Core, so I don't have any more specific guidance here, sorry. Pipelines provides a bash…
-
Hi Chris, Can you verify that the file has the build number correctly substituted with a cat command? cat $PROP_FILE Do you see if the placeholder value, or the desired build number? If it's the placeholder then the substitution command will need updating. If it's the correct build number, then where does the number get…
-
Hi Vasundhara. You'll need to set up a Bitbucket Pipelines configuration in each of your repositories. In your integration test repository (Repository2), you can set it up to just run the integration tests. In your DEV team repository (Repository1) you can then set up a Pipelines, which triggers Repository2's Pipeline via…
-
Hi Marcos, Can you try debug this locally with Docker and see if you can reproduce the authentication issue? I suspect there is probably some additional authentication configuration that you'll need to set up, either in Pipelines or Google Cloud. Thanks, Phil
-
Hi Brett, Can you clarify if you're trying to create a Pipe that is privately available to specific repositories? (i.e. repos that can provide valid authentication to access it) Or is this Pipe supposed to access a private repository in Bitbucket, which in this case should probably be private too (otherwise other users…
-
Hi André, Your approach with the mount flag or volume flag in the Docker run command should be the right strategy for solving this. Are the flags not working? What does your Docker run command look like? If Docker is running correctly, can you verify the location that the XML report is being written too, and try checking…
-
Hi André, Are there any extra details in the error message? There could be other causes for this issue apart from memory limitations. So it'd help us pinpoint a more specific cause for this to investigate. Thanks, Phil
-
Hi Lloyd, Would it be possible for you to place these commands inside of a bash script file? And then call the script with the values you need? For example: deploy.sh: #!/bin/bash set +e set +x APPLICATION_NAME=$1 CONTAINER_NAME=$2 IMAGE_NAME=$3 docker build -t ${IMAGE_NAME} -f ${APPLICATION_NAME}/Dockerfile . docker push…