Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,653
Community Members
 
Community Events
184
Community Groups

atlassian/aws-elasticbeanstalk-deploy:1.0.1 S3_KEY is "None"

With the changeover to Python for the aws-elasticbeanstalk-deploy pipe, the "S3_KEY" is set to 

'{os.getenv("APPLICATION_NAME")}/{os.getenv("VERSION_LABEL")}' by default. However, "VERSION_LABEL" is not a required field, and as such is set independently to a logical value if not provided in the configuration. However, when setting "S3_KEY" this is not taken into account. The current default will make it so all versions are uploaded to S3 with "APPLICATION_NAME"/"None. this means that the zip files for all versions collide with the name "None" in S3,. 

 

Either the default for S3_KEY should be set to use the same logic as the VERSION_LABEL, VERSION_LABEL should become required, or another reasonable default should be set that gives a valid, different name for the uploaded zip file for each deploy.

2 answers

1 accepted

0 votes
Answer accepted
Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Aug 05, 2021 • edited

@Ian Anderson could you please share the part of pipeline, so we can see the precise pipeline configuration and it will help us to reproduce it?

 

Regards, Galyna

 - step: &deploy 
name: Deploy
deployment: test
script:
- pipe: atlassian/aws-elasticbeanstalk-deploy:1.0.1
variables:
APPLICATION_NAME: $APPLICATION_NAME
ENVIRONMENT_NAME: $APPLICATION_ENVIRONMENT
ZIP_FILE: "composer_build.zip"
S3_BUCKET: $S3_BUCKET
Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Aug 23, 2021

@Ian Anderson please, try our newest pipe

 atlassian/aws-elasticbeanstalk-deploy:1.0.2

Looking forward to seeing your feedback

Regards, Galyna

@Halyna Berezovska - It is working well from my end. The initial build I tried has been completely successful. 

 

thank you!

0 votes
Oleksandr Kyrdan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Aug 04, 2021

Hi @Ian Anderson

Thank you for your feedback!

We'll fix this behaviour and notify you.

 

Best regards,
Oleksandr Kyrdan

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events