Comments
-
This issue should now be resolved.
-
Hi @Aaron.Luo We've created a bug for this issue - https://jira.atlassian.com/browse/BCLOUD-21719 Please watch that ticket for updates.
-
We've recently shipped a new version of the runner that supports proxy servers - see https://support.atlassian.com/bitbucket-cloud/docs/configure-a-runner-to-use-a-proxy/ for details on how to configure the runner to use a proxy.
-
@Ming Han Chung do you want to be able to run 2 or more sets of parallel steps? e.g something like the following, where both group 1 and group 2 would execute in parallel? ``` parallel: - parallel: - step: name: Group 1 step 1 sciprt: <the script> - step: name: Group 1 step 2 sciprt: <the script> - parallel: - step: name:…
-
Hi @Penny , each step consists of a clone of your repository, and a docker container (in your case, a node:13.2.0 container, however state is not passed between steps. In this scenario, you should run your npm "dev" script in the first step, or re-install required dependencies in the second step. If you need to pass state…
-
@Jani Ruohomaa for your scenario, it sounds like you are trying to use your own docker image as a build environment (see https://confluence.atlassian.com/bitbucket/use-docker-images-as-build-environments-792298897.html ). You could so something similar to: pipelines: default: - step: image: name: fluido/fluidosfdx…
-
@Jeremy Raymond this isn't currently possible. You can however add append entries to /etc/hosts as part of your build script: echo "8.8.8.8 example.com" >> /etc/hosts
-
@Sudip Bhandari what is your use case for wanting to have a manual step appear first in your pipeline? You can configure custom steps (see https://confluence.atlassian.com/bitbucket/configure-bitbucket-pipelines-yml-792298910.html#Configurebitbucket-pipelines.yml-ci_custom ), and execute these against any branch in your…
-
@Leonardo Gardel Valverde are you still experiencing this issue? If so can you please raise a support case via https://support.atlassian.com so we can investigate further.
-
@Akshay Vijay Jain can you please report this problem to the sonarsource community at https://community.sonarsource.com/tags/c/help/sc/bitbucket. The pipelines team does not maintain this pipe. Details on where to get help for the pipe are available in the pipe's README…
-
Hi @Tapas Kumar , can you please raise a support case so that we can take a look?
-
It looks like the issue here is with the pgdata_folder, try adding a ./ prefix to it so the volume list looks like: volumes: - ./pgdata_folder:/bitnami/postgresql - ./utility:/utility Pipelines restricts docker from mounting volumes from outside of the $BITBUCKET_CLONE_DIR directory. I did some experimentation and found…
-
Hi @gbrown What method are you using to talk to Code Deploy? If using the Code Deploy pipe, you can pass in the deployment group name as a pipe variable (see https://bitbucket.org/atlassian/aws-code-deploy/src/master/). The deployment group is configured in AWS, and stores configuration information related to the…
-
Hi @gbrown What method are you using to interact with CodeDeploy? If using the CodeDeploy pipe (https://bitbucket.org/atlassian/aws-code-deploy/src/master/), you can specify the deployment group as a variable to the pipe. The AWS credentials you pass to the pipe need to have sufficient IAM access to be able to execute your…
-
I'd also recommend using the 'jq' tool (https://stedolan.github.io/jq/) when trying to generate json. You can use it with variable substitution to build up complex json strings, e.g jq -n --arg varname "$MYVAR" '{"myvar": $varname }'
-
@Skowronek in your example, the MYVAR variable wasn't interpolated due to the single quotes - you need to swap this out for double quotes. Alternatively, you can also use a 'here' document. Below is an example showing the broken approach, and two working approaches; double quoting, and using a here document: image:…
-
@matt_baker its been a while since this was posted. Did you manage to get pm2 working? Make sure that the command to start your app via pm2 and the tests happen within the same step. I tried running an extremely minimal express.js app with pm2, and didn't run into any issues: bitbucket-pipelines.yml image:…
-
@Rightsoftwarewala Support its been a while since your post. What errors were you facing? There are multiple options you have to deploy to EC2, some alternatives: - scp or sftp your application directly onto the instance. - copy the application to an S3 bucket, and run a script on the EC2 instance that downloads and…
-
@jhorning-tyler you should whitelist all IP ranges listed under 'Valid IP addresses for Bitbucket Pipelines build environments' at https://confluence.atlassian.com/bitbucket/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall-343343385.html If you are using ssh or scp and will be…
-
@chudinov you can also build your own docker image, and host it for free up on Dockerhub. Any tools you required for your pipeline can be added to the image, simplifying your pipeline. An example Dockefile: FROM microsoft/dotnet:sdk RUN apt-get update && apt-get install -y zip # Install any other tooling you need. In your…
-
@[deleted] below is a sample pipeline which should achieve the pipeline you've described. Here, we run tests and automated deployments to a test environment from 'feature/*' branches, and run tests with manual deployment to production on 'master'. This models a continuous delivery scenario, where promotion of a release to…
-
@Cesare Vairetti I did some research and tried to reproduce that bind error locally, and it seems it is due to ssh trying to bind to an IPv6 address. Even with this warning however, I could still tunnel successfully. I was able to stop this warning by passing the '-4' arg to ssh, and added the '-v' flag to enable…
-
@abdoulaye_seysoo_com I've noticed the dependencies that maven is failing to resolve are all SNAPSHOT dependencies. Are these dependencies being built as part of your pipeline? If not, do these SNAPSHOT artifacts live in a maven repository somewhere, and have you configured maven to talk to this repository?
-
@mikeyjay39 you need to pass the artifact that was built in the first step on to the second step. To do this, you can define an artifact on your first step: - step: caches: - maven script: # Modify the commands below to build your repository. - mvn -B verify # -B batch mode makes Maven less verbose artifacts: -…
-
@Rutger Claes do you mind sharing a snippet from your bitbucket-pipelines.yml file? It sounds like you have defined a pull-requests section in your bitbucket-pipelines.yml file. If a branch matches the pattern defined for pull-requests, when a pull request is created, the destination branch will be merged with the source…
-
Hi @Yonirt I would first suggest trying out your generated key pair locally, from within the pipelines docker image, to rule out any issues with the keys or build script. ssh-keygen -f pipelineAccessKey -t rsa -N '' chmod 600 pipelineAccessKey pipelineAccessKey.pub # Ensure you now add the public key to the remote instance…
-
rhitik.bhatt@rivetlabs.io this is due to the fact that the script is not running in an interactive environment, you need to turn history on manually. You can do this via the following command: set -o history Doing this in your bitbucket-pipelines.yml file will reveal other commands executed by pipelines, so it might be…
-
@kumarpr I've put together an example repository demonstrating Puppeteer with Chromium in pipelines - https://bitbucket.org/bitbucketpipelines/example-chromium-headless-puppeteer/src/master/. In your case, it looks like there were additional dependencies that need edto be installed into the node:8.9.4 image in order to…
-
@awerlang this has now been fixed in version 0.2.3 of the pipe. Thanks for the bug report!
-
@alanhardin where is the application under test running? Is it running inside the build_app:latest docker container, or is it running outside in the pipelines build container? Does build_app:latest image just container the newman tool and testing scripts?