You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi Team,
I have wrote the Bit bucket Pipeline , But It's uploaded to S3 after that while deploying to EC2 instance it's got failed and I have attached the error screenshots. Can you please reply ASAP with solution.
Bit-bucket Pipeline Script :-
image: node:10.15.0
pipelines:
default:
- step:
name: Build
script:
- apt-get update -y
- cd admin/front-end/
- npm install
- CI=false
- npm run build
- apt-get install -y zip
- zip -r myapp.zip *
artifacts:
- admin/front-end/myapp.zip
- step:
name: Upload to S3
script:
- pipe: atlassian/aws-code-deploy:0.2.3
variables:
AWS_DEFAULT_REGION: 'ap-southeast-1'
AWS_ACCESS_KEY_ID: 'AKIAS2IMCQIEEY3AQA7Q'
AWS_SECRET_ACCESS_KEY: '2aRhX5cctbGyjNobEGV83cppuU9SzDJNtg2ILtdN'
COMMAND: 'upload'
APPLICATION_NAME: 'SampleApplication'
ZIP_FILE: 'admin/front-end/myapp.zip'
S3_BUCKET: 'codedeployap'
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-1'
AWS_ACCESS_KEY_ID: 'AKIAS2IMCQIEEY3AQA7Q'
AWS_SECRET_ACCESS_KEY: '2aRhX5cctbGyjNobEGV83cppuU9SzDJNtg2ILtdN'
COMMAND: 'deploy'
APPLICATION_NAME: 'SampleApplication'
DEPLOYMENT_GROUP: 'DG7'
WAIT: 'true'
S3_BUCKET: 'codedeployap'
VERSION_LABEL: 'my-app-1.0.0'
Error Screen Shots:-
Regards,
Venkat
+91 9052325074