Thanks for your feedback.
It is a good feature case to contribute to the open-sourced pipe to make it better.
Any pull-request with a new features or improvements from the community are welcome (How to Contribute to the pipe).
Best regards,
Oleksandr Kyrdan
I was able to specify the buildpack via the CLI, and then the deploy pipe used it, but I am extremely lucky that I've worked with Heroku for so long that I had a hunch it might work. I found no posts about this, no documentation about this, and no hint that this was possible. It should be documented in the pipe readme, or somewhere official. Using a custom buildpack is something I have had to do literally every time I have used Heroku. Standard buildpacks... why do they even exist, I have never had a use for them.
It's just odd that the only way Heroku is useful as a product isn't even documented.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It would be nice if you could provide some details and examples of the solution and share your experience with the Atlassian community Write an Article.
Let's make Bitbucket Pipes better!
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.
I've already moved off of Heroku to Fly.io, but the build pack was:
heroku buildpacks:set https://github.com/unfold/heroku-buildpack-pnpm.git --app my_app_name
My build step was:
- step:
clone:
depth: full
name: Build for Deployment
script:
- echo Deploying ${HEROKU_APP_NAME}
- git archive --format=tar.gz main -o monolith.tar.gz
artifacts:
- 'monolith.tar.gz'
My Deploy step was:
- step:
name: Heroku Deploy
deployment: production
script:
- pipe: atlassian/heroku-deploy:2.4.0
variables:
NODE_ENV: production
HEROKU_API_KEY: $HEROKU_API_KEY
HEROKU_APP_NAME: $HEROKU_APP_NAME
ZIP_FILE: 'monolith.tar.gz'
WAIT: 'true'
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.