Hi team,
I have setup the pipeline , But i am facing the error like while deploy the application .
Can you please check and reply ASAP. the configuration file I have given below
bitbucket-pipelines.yml
---
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 ..
- cd ..
- apt-get install -y zip
- "zip -r myapp.zip *"
artifacts:
- myapp.zip
- step:
name: Upload to S3
script:
- pipe: atlassian/aws-code-deploy:0.3.7
variables:
AWS_DEFAULT_REGION: '-----------'
AWS_ACCESS_KEY_ID: '--------'
AWS_SECRET_ACCESS_KEY: '------------'
COMMAND: 'upload'
APPLICATION_NAME: '-------'
ZIP_FILE: 'myapp.zip'
S3_BUCKET: '----'
VERSION_LABEL: 'my-app-1.0.0'
- step:
name: Deploy with CodeDeploy
script:
- pipe: atlassian/aws-code-deploy:0.3.7
variables:
AWS_DEFAULT_REGION: 'ap-southeast-2'
AWS_ACCESS_KEY_ID: '----------------'
AWS_SECRET_ACCESS_KEY: '---------------'
COMMAND: 'deploy'
APPLICATION_NAME: '---------'
DEPLOYMENT_GROUP: '--'
S3_BUCKET: '-------------'
IGNORE_APPLICATION_STOP_FAILURES: 'true'
FILE_EXISTS_BEHAVIOR: 'OVERWRITE'
WAIT: 'true'
VERSION_LABEL: 'my-app-1.0.0'
DEBUG: 'true'
Regards,
Venkat