Comments
-
Hi @Rodrigo Baptista , it's a good case to use ssh-run pipe, where all stuff related to ssh connection from the Bitbucket Pipelines simplified for you. script: - pipe: atlassian/ssh-run:0.2.6 variables: SSH_USER: 'rbaptista' SERVER: 'xxx.xxx.xxx.xxx' COMMAND: 'echo $HOSTNAME' More advanced examples you can find in the…
-
Hi @fischermatte, The new version of atlassian/firebase-deploy:0.5.0 pipe with updated firebase-tools 8.4.1 released. You are welcome! It'd be nice if you provide more feedback about this update with us.
-
@Shubhendu Pandey oh, you have two build directories in your path, then try: ATTACHMENTS: config/geb/build/reports/browserstackchromeTest/tests/index.html Note! /opt/atlassian/pipelines/agent/build/ is step's work directory. Value stored in the variable BITBUCKET_CLONE_DIR.
-
Hi @Shubhendu Pandey , thank you for your feedback! Try to provide full path to the index.html file instead of the filename only: ATTACHMENTS: reports/browserstackchromeTest/tests/index.html
-
Hi @Adarsh Kurudi , thank you for your feedback! We'll investigate updates to the new aws-sam-cli version and notify you.
-
Hi @Ferdi , thank you for your feedback! We'll investigate that updates and notify you.
-
@Sarath , make sure that you've turned on Lesssecure access for your account (periodically Google can turn it off) https://myaccount.google.com/lesssecureapps . Also, check if no messages in your account about blocked access.
-
Hi @Ashwani Kumar @TiM It's a good case to use envsubst for pre-processing template: script: - envsubst < task-definition.tpl.yaml > task-definition.yaml - cat task-definition.yaml Here an example how we use envsubst with a template. Cheers, Alex
-
Hi @Sarath , thank you for your question! It's a good case to use email-notify pipe. Please, follow next steps to setup it: Step 1: Configure your Bitbucket repository for the project Add your credentials and configuration settings in Bitbucket as variables (see: how to configure Pipelines variables). Settings > Pipelines…
-
Hi @Rutger van Bruggen , thank you for your question. The problem is in "spotinst-kubernetes-cluster-controller-ga.yam" file. It ends with three dashes (“---”). According to YAML specs 2.2 Structures: YAML uses three dashes (“---”) to separate directives from document content. This also serves to signal the start of a…
-
Hi @Marek Zielonkowski , Thank you for your question! It's a good case to use the email-notify pipe. You can use $BITBUCKET_EXIT_CODE variable in the after-script section. $BITBUCKET_EXIT_CODE - the exit code of a step, if step success value setup to 0. script: - <your test logic> - pytest test/test.py…
-
Hi @Jacob Craig , Thank you for your question! You could create a new variable: - ARTIFACT_FILENAME=$(echo $BITBUCKET_BRANCH | sed "s/[^a-zA-Z0-9]//g") - zip -r ${ARTIFACT_FILENAME}.zip dist
-
Hi @Jack Brooks , Thank you for your question! We are working on aws-code-deploy pipe adding support AWS ECS and Lambda deploy, not only EC2. Could you please share more details with us, why did you decide to use aws-code-deploy to deploy lambda instead of aws-lambda-deploy or aws-sam-deploy? One of the solutions, in your…
-
Hi @vinoth_ssv , Thank you for your question! Let's use heroku-deploy pipe in your case. Also, we have an example of how to deploy a Java app with the heroku-deploy pipe.
-
Hi @Mark , Thank you for your question! Note: the Tests tab will only show if you have failed tests to review. Also, make sure that you provide the right path to tests reports (test-reports/report.xml). Example for pytest: script: - pytest test/test.py --junitxml=test-reports/report.xml More details you can find in the…
-
Hi @Low Xuguang , Thank you for your question! To help you, please, clarify what do you mean with "How to save heroku-deploy?". Could you provide us with the output logs, please, to clarify the issue?
-
Hi @Ajay Maurya , Thank you for your question! It's a good case to use slack-notify pipe. script: - pipe: atlassian/slack-notify:0.3.5 variables: WEBHOOK_URL: $WEBHOOK_URL MESSAGE: 'Allow me to reintroduce myself!' More useful pipes you can discover on the Bitbucket Pipes Marketplace. Cheer, Alex
-
Hi @Igor Ramos Pestana , Thank your for your question! Step - Defines a build execution unit. Steps are executed in the order that they appear in the bitbucket-pipelines.yml file. That's why, in your case, step "deploy prod" will execute only after success previous step "build prod". Please follow the Configure…
-
Hi @23brewert , Thank you for your question! The bitbucket-pipelines.yml file defines your Pipelines builds configuration and has some structure. The pipeline configuration file can have multiple sections identified by particular keywords. Please, follow the guide How to configure bitbucket-pipelines.yml. In your case,…
-
Hi @László Szabó , The new aws-ecs-deploy pipe's version with updates released! Please provide us feedback about your experience. Cheers, Alex
-
Hi @Jay Seletz , Thank you for your feedback! Good suggestion! We'll think about this feature in the trigger-pipeline pipe.
-
Hi @Zuberu Abdulraman , Thank you for your question! You can use $BITBUCKET_EXIT_CODE variable in the after-script section. $BITBUCKET_EXIT_CODE - the exit code of a step, if step success value setup to 0. script: - <some build logic> after-script: - ALERT_TYPE="success" - if [[ $BITBUCKET_EXIT_CODE -ne 0 ]]; then…
-
Hi @Andy Burgess , Thank you for your feedback! It's a good case for a custom pipe. We have cool tools and light guides for that. You're welcome to share your experience with a CloudFormation StackSet and contribute to the Community! Cheers, Alex
-
Hi @Marcel Izgin , Thank you for your question! The best choice for your case might be sftp-deploy pipe. You can follow steps from the deploy-using-scp guide but use sftp-deploy pipe instead. Cheers, Alex
-
Hi @Eward Somers , Thank you for the question! In your case you can use google-app-engine-deploy pipe. A version you can provide with the VERSION pipe's variable. Cheers, Alex
-
Hi @Rahul , Thank you for your feedback! The current version of the rsync-deploy pipe:0.4.2 supports only ssh-keys. But good suggestion. We'll think about this option in the rsync-deploy pipe. Cheers, Alex
-
Hi @davidstanton , Thank you for the question! The aws-s3-deploy pipe uses the aws s3 sync . It syncs directories and S3 prefixes. Recursively copies new and updated files from the source local directory to the destination. Only creates folders in the destination if they contain one or more files. If files stored in your…
-
Hi @HosamEmam , Thank you for the feedback! Have you encoded and configured a $KEY_FILE properly? Encode the private key Pipelines does not currently support line breaks in environment variables, so base-64 encode the private key by running: LINUX<br>$ base64 -w 0 < google-key.json MAC OS X$ base64 < google-key.json
-
Hi @mukeshthirumal , Thank you for your feedback! Could you share more details about the issue? Also, we have the guide Deploy to AWS with CodeDeploy. Cheers, Alex
-
Hi @Sarranya Ramesh , thank you for your question! Check is your package.json file in the current directory or provide custom FOLDER param. More details you can find here npm-publish pipe. Cheers, Alex