Comments
-
@Drew Heasmanhello! By default, aws lambda update the latest (look at the first aws example https://docs.aws.amazon.com/cli/latest/reference/lambda/update-function-code.html#examples). If you want to manage versions in lambda, this is separate functionality…
-
@Nandini Vaiyapurianyway you will have connection from aws to bitbucket or opposite - from bitbucket to aws. So you need somehow to protect this communication, if you initiate connection with bitbucket from aws rotation, we recommend to create appropriate very limited access . There are limited passwords, tokens, consider…
-
@Nandini Vaiyapurithanks for your question. We have similar workflow, but this is the responsibility of lambda function, the stage of setting values. You can also retrieve the secrets from pipeline, it is also isolated . But for that you need separate user accessing secrets and permissions for it (or role if you want, it…
-
@Oscar WestI've just tried to pass variables, like in your second approach, it worked. So I think the second option is supported, you can simply try it. Looking forward to seeing your feedback, we'll make a support ticket, if there are some problems. Regards, Galyna
-
@Chynok then, I'll update you when we maintain this in future release. Cheers, Galyna
-
@oguzhansuch syntax you provide in the beginning of the pipeline is indeed pipeline-wide. But in each step it should be overridden. This is the question how you configure environment variables specifically for push step. You also if not succeed, can do some workarounds and use aws configure with different variables nasmes…
-
@[deleted]you install dependencies to packages folder , that your aws lambda function knows nothing about. Your dependencies should be in the root. My code has worked for me with your dependencies. See example: script: - apt-get update && apt-get install -y zip - mkdir lambda_build - cp lambda_function.py lambda_build/ &&…
-
@Chynthanks for the question! sam package has the parameter in cli --s3-prefix, and if to pass there this prefix, it creates the folder with s3-prefix name in the root and inside that folder there is your code. It will look like this: s3://your-bucket/HelloWorldFunction/<uuid> . Would be such result fine for you? I suppose…
-
@Oscar Westdo I understand right that you don't expect aws access keys credentials to be added to repository variables and instead want to add HTTPS_PROXY and use this authentication instead of aws access keys? Or do you want to be able to use both at the same time (aws access keys for authentication and proxy to access…
-
Hello @Husain Mithaiwala ! Basically, this could be docker-compose problem similar to this one https://github.com/docker/compose/issues/6655 . Check that you have right docker-compose config described in this issue. It also depends on what ssh auth you have in docker containers you are working on and what ssh config you…
-
@Ming Han Chung it depends what exactly you want to do on ecr? If you want to push to ecr repository, we recommend to check out ecr deploy pipe: https://bitbucket.org/atlassian/aws-ecr-push-image Describe what you would like to do with ecr and we can think on how to help you. Regards, Galyna
-
@1180778 if this runs in parallel, no. This is the purpose of running in parallel and not violating any best practises. So you can separate those steps when step 2 depends on step 1, for example sth like: default: - step 1 - parallel: - step2: ... - step3: ... Regards, Galyna.
-
Hello, @Husain Mithaiwala ! I have couple of questions that can lead to a root cause. - is DOCKER_HOST is configured in your deployment or you want to use bitbucket default variable? - are you pointing which deployment name you want to use? Example of deployment: your-pipeline: &your-pipeline step: name: Your pipeline…
-
@Avinash Jain you can put any string regular expression using the power of regex. The regular expression can accept multiple variants, when you use syntax | : `word1 | word2` , for example. Follow regex manuals https://www.rexegg.com/regex-quickstart.html and others and regex playground - we recommend https://regex101.com/…
-
@Saurabh Kumar pipeline script can take variable, but only through manual running. test: &test step: name: Your pipeline with variable script: - test $var custom-pipeline: - variables: - name: var - <<: *test To do your tests automatically, you have to do it in separate steps: test-lib1: &test-lib-1 script: - test folder…
-
@Anuj , So I know what the problem is. When you describe task definition, it responds to you with ALL fields that it make it visible. So registeredAt and registeredBy are those fields in the response, but not acceptable by AWS server side validator anymore…
-
@Anuj is it necessary for you to keep these arguments in task definition? Looks like they are not provided anymore in documentation and I don't know if they've been ever provided. AWS respond with these parameters, but does not take into task definition (or they have updated documentation). Have you tried to remove these…
-
@Brad Vrabete thanks for pointing to this edgecase. We'll give it a try and see what we can do
-
@yysaki hello! Check out new version 0.2.1 and see if it is fine for you. Cheers, Galyna
-
@Karthick Krishnan can you specify in more detail: do you want to use Bitbucket Cloud as NFS as storage or do you want to be able to deploy to AWS EFS cloud through Bitbucket Pipelines? Currently, the first approach is not that Bitbucket Cloud for, but the second one sounds interesting. But anyway we want to clearify your…
-
@Brad Vrabete check out our new version aws-eks-kubectl-run:1.4.0, passing: - pipe: atlassian/aws-eks-kubectl-run:1.4.0 variables: AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION CLUSTER_NAME: 'your-kube-cluster' KUBECTL_COMMAND: 'apply'…
-
@Sona Harutyunyan also, if this solution does not suit you, you can raise the ticket with type Suggestion and Component "Pipelines - Pipes Component" in https://jira.atlassian.com . Depending on how many votes for this ticket we get, we will put this feature to an interest and implement it sooner. Regards, Galyna
-
@Madhan you can write steps for tags in bitbucket-pipelines. Example of a syntax: pipelines: default: - <<: *test ..... tags: "*": - <<: *deploy Regards, Galyna
-
@arielr pipelines support bash syntax. So you can check out in bash doc, how to find length and use it in your pipeline script section Regards, Galyna
-
@Antonio Mata it should be consistent when environments are consistent. Check if you have the same node version and use the proper node image in pipeline. Waiting for your feedback, if you still meet the problem, you can report it here
-
@Joshua Nordstrom thanks for raising a case! We will discuss this change within a team. I'll notify about updates. Cheers, Galyna
-
@Clayo84 please, clarify what pipe are you using? We have about 15+ AWS pipes. Do you mean aws-cloudformation-deploy pipe? Also, please, share with us the pipes log with traceback (desirely from the start of pipe execution), so we can start to find the root cause. Regards, Galyna
-
@Anuj I have not found registeredAt, registeredBy parameters in Request syntax of https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ecs.html#ECS.Client.register_task_definition. These parameters are only in Response syntax, I believe they cannot exist in request syntax, because they are like…
-
@Ralph Bolliger Thanks for using the pipe. Following basic steps , I didn't succeed to reproduce your issue. I have deployed through sftp-deploy pipe folder with hidden files and tried to run yarn build - it says there is no such command. Perhaps, you meant `yarn install` or some plugins should be installed? Also, I'd like…
-
@Klemenn hello! We have released new version scp-deploy:1.0.0, please , if it is still actual for you, try this out with : - step: name: Your step name script: - PROXY_COMMAND="ProxyCommand=ssh <your_user_here>@<your_ip_or_host_here> nc <final_destination> 22" - pipe: atlassian/scp-deploy:1.0.0 variables: LOCAL_PATH:…