The BUNDLE_TYPE option is not working, I passed it tar, but when bitbucket calls codedeploy it pass it as zip
There is a bug in the pipe.py file, That if statement is wrong
if self.get_variable('BUNDLE_TYPE') in ['zip', 'tar', 'tgz']:
deploy_parameters.update({'fileExistsBehavior': self.get_variable('FILE_EXISTS_BEHAVIOR')})
Hi @amrsalah944
Thank you for your question!
It would be nice if you provide us your bitbucket-pipelines configuration to investigate the issue you reported.
Best regards,
Oleksandr Kyrdan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @amrsalah944
Thank you for your question!
Looks like you try to use outdated (0.2.5) pipe's version with a new (1.1.1) parameters:
Currently the latest pipe's version is 1.1.1:
script: - pipe: atlassian/aws-code-deploy:1.1.1 variables: COMMAND: 'upload' APPLICATION_NAME: 'my-application' ZIP_FILE: 'myapp.zip'
Support for variable BUNDLE_TYPE has started since version 0.3.0. And it's always good idea to update the pipe to the latest version that includes new features, fixes, upgrades.
Best regards,
Oleksandr
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.