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,467,464
Community Members
 
Community Events
177
Community Groups

Feature: Add configuration variables to Heroku Deploy pipeline

Edited

I would like the ability to add configuration variables to the Heroku Deploy script, which would allow me to do things like update the app version number or dynamically change the environment based on results from an API call.

Something like:

- step:
name: Deploy to production
deployment: production
caches:
- pip
script:
- pipe: atlassian/heroku-deploy:1.2.1
variables:
HEROKU_API_KEY: $HEROKU_API_KEY
HEROKU_APP_NAME: $HEROKU_APP_NAME
ZIP_FILE: app-name.tar.gz
WAIT: "true"
CONFIG:
APP_VERSION: 2.0.$BITBUCKET_BUILD_NUMBER

Edit: To clarify, I mean this would update the Config Vars for this app on Heroku.

1 answer

0 votes
Mark C Atlassian Team May 09, 2022

Hi @Kevin Shelley

Thank you for reaching out to the community.

I understand that you'd like to add a configuration variable to the Heroku Deploy Pipes script (atlassian/heroku-deploy) specifically overriding the App version number.

Apart from overriding the App version number, I'd just like to kindly ask what other variables you'd like to override or what other dynamic change you'd like to achieve?

This is for accurately creating a feature request regarding the Pipes script.

Thanks and looking forward to your response.

Regards,
Mark C

@Mark C  honestly any config var in general. Off the top of my head I'd like the app version to change, but would love the flexibility to change any of the config vars for an app so I have more control in Bitbucket and maybe need less access to Heroku going forward:

Screen Shot 2022-05-11 at 15.37.54.png

Mark C Atlassian Team May 11, 2022

Hi @Kevin Shelley

Thanks for that information.
I went ahead and created a feature request for it that can be located through this link. - https://jira.atlassian.com/browse/BCLOUD-21895

You can upvote and watch it for now so that you'll be notified of any updates from our team when the feature becomes available on Bitbucket Cloud.

Please do note that we don't have an exact ETA for the feature request as all new features will be implemented according to our policy here.

Hope it helps and do let me know if you have further questions that I can help with.

Regards,
Mark C

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events