Reputation: 2566
We have a considerably sized Git (full clone is 0.5 GB)
We use Git tags to mark CI/CD progress pr. commit.
We are facing a problem were we are unable to tag, without cloning first - meaning that every time we want to tag a commit, we need to clone the repo first.
My question is: Is there any way to tag a Git commit when Git server is on-premise BitBucket.(Stash), without cloning the repo locally?
Clarification:
This is a question regarding the newest version of Git on the newest version of BitBucket
A local repo is not available on all machines in our CI/CD process
Our CI/CD setup is one machine for Bamboo build and another for Octopus Deploy - and it is on the Octopus machine (which have no repo clone) that we want to do the tagging
Upvotes: 0
Views: 1574
Reputation: 4085
This is possible using Bitbucket Server 4.7 or above in the UI or via REST. Details: https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+4.7+release+notes
Upvotes: 1