Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket pipeline Deployment failed

Hi Team,

This is  venkat, I am using bitbucket pipeline for CI/CD after I ran the following "bitbucket-pipeline.yml" configuration file. my code is upload to s3 bucket but. from s3 bucket code using  AWS deploy agent it is not deploying into EC2.

it's failing because the appspec.yml file is not in s3 bucket.

I have attached the build link please check it. I have to zip it total repository can you plz make change and reply.

 

https://bitbucket.org/rao999/ocs_admin.g/addon/pipelines/home#!/results/22

 

And I have attached the screenshot of my bit bucket repository structure here i want to  

 

---
image: node:10.15.0
pipelines:
branches:
master:
- step:
name: "Build"
script:
- "apt-get update -y"
- "cd admin/front-end/"
- "npm install"
- CI=false
- "npm run build"
- cd ..
- apt-get install -y zip
- "zip -r myapp.zip *"
artifacts:
- admin/myapp.zip
- step:
name: Upload to S3
script:
- pipe: atlassian/aws-code-deploy:0.2.3
variables:
AWS_DEFAULT_REGION: 'ap-southeast-2'
AWS_ACCESS_KEY_ID: 'AKIA5Q2RJR2HWL2BGQMZ'
AWS_SECRET_ACCESS_KEY: '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'
COMMAND: 'upload'
APPLICATION_NAME: 'variable-test-application'
ZIP_FILE: 'admin/myapp.zip'
S3_BUCKET: 'testcodedeploybucket1'
VERSION_LABEL: 'my-app-1.0.0'
- step:
name: Deploy with CodeDeploy
script:
- pipe: atlassian/aws-code-deploy:0.2.3
variables:
AWS_DEFAULT_REGION: 'ap-southeast-2'
AWS_ACCESS_KEY_ID: 'AKIA5Q2RJR2HWL2BGQMZ'
AWS_SECRET_ACCESS_KEY: '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'
COMMAND: 'deploy'
APPLICATION_NAME: 'variable-test-application'
DEPLOYMENT_GROUP: 'DG77'
S3_BUCKET: 'testcodedeploybucket1'
IGNORE_APPLICATION_STOP_FAILURES: 'true'
FILE_EXISTS_BEHAVIOR: 'OVERWRITE'
WAIT: 'true'
VERSION_LABEL: 'my-app-1.0.0'

0 comments

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

327 views 2 10
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you