I'm using Cloud Build to deploy automatically during code push(Bitbucket). I'm changing the versions on prebuild which has a script to increase the number on JSON file.
The changes are not reflected on the mirrored repository and also I could not able to push that code to the bitbucket repo. how can I push the code from google cloud to bitbucket? or is there any other way?
Thanks
The following documentation[1] provide you with a guide on how to mirror a Bitbucket repository to Cloud Source Repositories.
Note that only Bitbucket Cloud and GitHub Cloud repositories can be mirrorred to Cloud Source Repositories; self-hosted Bitbucket and GitHub mirroring are not supported.
Regarding The changes are not reflected on the mirrored repository, you can manually force a sync[2] if necessary. Cloud Source Repositories automatically syncs with the mirrored repository may not immediately reflect changes.