Comments
-
@Hannu Pölönen you can also use private image as definition https://support.atlassian.com/bitbucket-cloud/docs/databases-and-service-containers/#[hardBreak]Use-a-private-image If you have aws ecr image, then you can also use ecr uri with aws credentials…
-
@Raimundas Ra yes, this is actually question to rsync manual, but this should work since ${BITBUCKET_CLONE_DIR} in extra args is understood as string and real value will be in the pipe: `rsync .... -c --update my-current-cloned-dir my-path ...` . Also in extra args you can pass multiple options, once you need. Regards,…
-
@Hannu Pölönen because for now I don't know (may be you found the way, however), if there is a possibility for you to use custom image in the services definitions, if you did not push it to your docker registry before. I know that services in their definitions accept docker registry image with tag, and I don't know…
-
@vitali you did not change the pipeline, but , perhaps, did change the setup in your cloud. It says: <span>ClusterNotFoundException</span> , that means that someone with access to your aws deleted specific cluster that you want to update. Regards, Galyna
-
@Lucas Possamai Terraform is working with different providers. If yours is not AWS , then what? for Google cloud it may be a little bit different configuration, e.g. Regards, Galyna
-
@Hannu Pölönen anyway, if you share your pipeline (just structure , without real names), we could help you to make it work
-
@Hannu Pölönen try to go with nc -zv 0.0.0.0 8080 Also, I suspect there is something wrong with your network bridge in docker container OR you don't use `services` keyword. I suppose , you just don't create any connection. I have a recipe for you that may suit if don't necessarily need to install anything: Check out…
-
@Andreas Falk you can pass the name of base image as IMAGE pipe variable. E.g - pipe: atlassian/bitbucket-pipe-release:4.0.1 variables: DOCKERHUB_USERNAME: $DOCKERHUB_USERNAME DOCKERHUB_PASSWORD: $DOCKERHUB_PASSWORD IMAGE: your-image The version is either defined manually as pipe variable: VERSION: my-ownversion-10 or you…
-
@Adam Woloszyn I guess you define key file variable as path variable where encoded string lies. This is not the base case of usage.Obtain KEY_FILE variable (and put to the repository variable) like this: base64 < your-service-account-file.json - you will have base64 encoded string. Put such string to the repository (or…
-
@Marc Schulte if you use some cloud providers for database (like AWS RDS or some Google db), check out appropriate docs. But for general postgre database you could use docker containers for example. This is often and handy case to setup db at servers - you have kind of isolated environment for db, fixed version and other…
-
@Hannu Pölönen I suppose 80 port can be busy in pipelines, 80 is pretty often used port, for http. Try to expose another port, for example 8000 or 9000 and use it to connect.
-
To work with AWS simpler, you can use our https://bitbucket.org/atlassian/aws-ecr-push-image/src/master/ aws-ecr-push-image and https://bitbucket.org/atlassian/aws-ecs-deploy/src/master/ aws-ecs-deploy pipes.
-
@ahmed_derbel update task definition is the method from one component, but updating the image is from another - from ECR. So anyway you will have to update the image in your task definition, unless you use latest tag. You can commit and get it from commit, or , what is more often - to get previous task definition from AWS,…
-
@Ian Anderson please, try our newest pipe atlassian/aws-elasticbeanstalk-deploy:1.0.2 Looking forward to seeing your feedback Regards, Galyna
-
@jamiestraks I guess, you may like rsync more, because this utility is much more flexible https://linux.die.net/man/1/rsync . Checkout the pipe : https://bitbucket.org/atlassian/rsync-deploy/src Regards, Galyna
-
@Ankur Jain neither AWS cli , neither boto does not support passing multiple distribution id. We did not consider such ability, because you already have an option do it in multiple parallel steps, sequential steps and if you want it all at one step, just execute pipe scripts sequentially at one step. All this you can do…
-
@Raimundas Ra you may add a lot of different options, that rsync has, through EXTRA_ARGS variable. In this case reading rsync man, you may need -t https://linux.die.net/man/1/rsync In the section usage: CWrsync -t *.c foo:src/ This would transfer all files matching the pattern *.c from the current directory to the…
-
@Carlo Vinci correct, sftp is for copying files, not necessarily syncing, I don't see such functionality. However, welcome to use our rsync-deploy pipe : https://bitbucket.org/atlassian/rsync-deploy/src/master/ - checkout its README (homepage). Regards, Galyna
-
Later we will consider this feature in other pipes that can support container images, for instance, aws-sam-deploy
-
@BenHarris90 @adrienthiery be aware that this is only update, you have to create function from ecr image before updating it. You can use sam package and sam deploy to easily package and create function from ecr. If you have more questions about setup, you may contact us or refer to AWS doc…
-
@adrienthiery @BenHarris90 you may try with script: - pipe: atlassian/aws-lambda-deploy:1.0.0 variables: FUNCTION_NAME: 'my-lambda-function' COMMAND: 'update' IMAGE_URI: '${AWS_ACCOUNT}.dkr.ecr.${AWS_DEFAULT_REGION}.amazonaws.com/my-lambda-ecr-repository:image-tag' However, we have not publish it yet officially, this is…
-
@PINARD_ Alec this is the question to bitbucket , but I will try to help you. Here in the doc you have explanation for multiple cases. So your choices: - either you already have a keypair for your miravo instance and then you create OWN key pair in Bitbucket Keys. This will be if you have, e.g. , if you have ec2 instance.…
-
@Sander Land you can share your output files via artifacts section. As for google app engine pipe, we are passing the volume (working dir) to the docker containers, so that you can share requirements.txt in artifacts section and in the next step you just run google app engine pipe in this dir where requirements is in. The…
-
@davi.carvalho have you tried to pass CONFIG variable precisely, so that the pipe does not put the default value? script: - chmod 005 my-script.sh - pipe: atlassian/serverless-deploy:1.0.0 variables: AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY CONFIG: 'serverless.ts' The thing is…
-
@Han Unfortunately, right now in aws-sam-deploy we don't support images yet. As a temporary workaround I suggest using sam package with proper config and sam deploy in bitbucket-pipelines without using aws-sam-deploy pipe. This is to create function. For update function, basically we use aws-lambda-deploy pipe, but it also…
-
@Sanket Sultan the application says to you that your token does not have enough permissions scope <span> The received access token is not valid: at least one of the claims '\''puid'\'' or '\''altsecid'\'' or '\''oid'\'' should be present.</span> Recheck your credentials including azure app password, you're passing. Also,…
-
@Ian Anderson could you please share the part of pipeline, so we can see the precise pipeline configuration and it will help us to reproduce it? Regards, Galyna
-
@Han In our pipe we are using sam package firstly. image_repositories parameter is in deploy section, not in package. I guess, it should be in both ones, since the command failed is `sam package`, not sam deploy . However, if you don't want to use sam package, you can always use deploy command only. Be aware that for…
-
@BenHarris90 we are testing out this feature for our pipe this week
-
@daniellucena2 if you need to copy to two locations, you need to use two pipes. You can also run such scripts in parallel steps. Check out the doc https://support.atlassian.com/bitbucket-cloud/docs/configure-bitbucket-pipelinesyml/#parallel Regards, Galyna