Hello,
a few questions
how can I specify a location (path) on a bucket where I'd like to deploy the artifacts?
As of right now, it appears that S3_BUCKET only takes the bucket name e.g. s3://mybucket
"Command":
is there a way to combine both actions ( "upload" and "deploy") without invoking the pipe twice?
Thank you.
ref: https://bitbucket.org/atlassian/aws-code-deploy/src/master/README.md
Hi @AZZ
Thank you for your question!
1) there is an example in the Readme for your case:
script: - pipe: atlassian/aws-code-deploy:1.1.1 variables: AWS_DEFAULT_REGION: 'ap-southeast-2' AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY COMMAND: 'deploy' APPLICATION_NAME: 'lambda-application' DEPLOYMENT_GROUP: 'my-deployment-group' WAIT: 'true' S3_BUCKET: 'my-bucket' VERSION_LABEL: 'lambda-app-1.0.0' BUNDLE_TYPE: 'YAML'
2) the pipe supports `upload` or `deploy` mode in the current implementation.
Best regards,
Oleksandr Kyrdan
Thank you for the reply.
If I understood you correctly:
1. there is no way to specify a path on the bucket? I was hoping to upload to a specific location e.g. "mybucket/deployments".
2. There is no option to upload and deploy in the same pipe call?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. You could provide the FOLDER variable for the pipe to specify path on you S3 bucket according to the Readme documentation.
FOLDER If the deployable artifact is in any folder inside bucket, specify the folder name
2. You should choose only one of the option or upload or deploy at once.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.