How I can include other yaml files into the bitbucket-pipelines.yml file defining my CI/CD pipeline similar to Gitlab CI/CD Pipeline:
Hello @Adrian Moica and thank you for reaching out to Community!
Bitbucket Pipelines has a feature called shared pipelines that can be used to achieve a similar behavior as the features you have linked from GitLab.
Shared pipelines will allow you to define a "template" for your pipelines and share the template within the same workspace. This means you can import any shared pipelines, and re-use them how many times you want, avoiding having to repeatedly create each pipeline configuration.
I would suggest going through the following articles that will provide you with more details about that feature and how it can be configured :
At the end of the page, there's also an FAQ section with common scenarios and how the shared pipelines will behave.
If after going through those articles you have any questions, feel free to ask.
Thank you, @Adrian Moica !
Patrik S
Not quite the same!
From your answer my conclusion is that Bitbucket does not support this feature of inclusion of external files into the bitbucket-pipelines.yml file, which defines a repository's CI/CD pipeline.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Adrian Moica ,
thank you for your feedback.
The explicit import/include of external YAML files is indeed not yet available.
I went ahead and created a feature request to add the functionality of importing local/remote YAML files into the Bitbucket Pipelines definition :
I would suggest you to add your vote there, since this helps both developers and product managers to understand the interest. Also, make sure you add yourself as a watcher in case you want to receive first-hand updates from that ticket. Please note that all features are implemented with this policy in mind.
Thank you, @Adrian Moica !
Patrik S
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.