We just finished our first dynamic pipelines Forge app and I have to say I'm very impressed. This couldn't have come at a better time, as we're in a perfect place in our Bamboo to Pipelines transition to take advantage of this.
I do have some thoughts about things that I have come across:
@Edmund Munday thank you so much for getting back to me! Here's some more info:
labels:
scripts:
sharedBuildScript: [
'docker compose -f compose-pipelines.yaml up pipelines-build --exit-code-from pipelines-build --force-recreate',
'docker compose -f compose-pipelines.yaml up asset-builder --exit-code-from asset-builder --force-recreate',
]
releaseBuildScript: [
"export DOCKER_BUILDKIT=1",
"docker build ...",
"docker save ...",
"echo \"Prep the artifacts\"",
"mkdir -p dist",
"mv my-app.tar dist/",
"mv compose-*.yaml dist/",
"mv docker/db dist/docker/",
]`
@Edmund Munday When I reran the forge install it created a ~/.bash_profile file which caused my ~/.profile to not be run.
It was easy for me to fix once I realized what happened, but it was confusing and may cause issues for people.
Hey @Alex Figliolia -
Thanks @Alex Figliolia
Issues with labels: Thanks for the extra details, this is exactly what we needed to validate our thinking. The current plan is for the limit to be 10KB once fully parsed to JSON.
Custom Deployment Variables: Just for my context (sorry if I’m missing something!), does the changes we made to give you a static dropdown of options for custom variables talked about in this blog cover what you need in the immediate term?
Issue with Dynamic Pipelines Repository Settings page: Thanks for raising this, I’ll take a look at this and we’ll add something in that makes sense.
Issue on the Pipeline log page: This is a new one to me, we’ll take a look and see what’s going on.
@Edmund Munday I forgot about the allowed-values since it had limited use when it was static. I played with it for a while yesterday and it does a great job of handling my immediate needs (along with your hack for encoding the / in the API URL).
I'm sure you're getting tired of my requests, but here is what I would love to see for the allowed-values (these are mostly QOL things):
Hi all - just a quick note to let everyone know that we've now added support for Deployment, Environment, Environment Variable, and Repo variable API's for Forge apps.
Details are here: https://community.atlassian.com/t5/Forge-for-Bitbucket-Cloud/Additional-support-for-Pipelines-API-s-from-Forge-Apps-for/ba-p/2696769
Hi @Edmund Munday , a bit late to the party but do you have any update regarding types for dynamic pipelines? Not having to debug the requests and creating our own types would help tremendously.
Best,
Jan