I have inherited a few BitBucket repositories that use Drone for building Docker images in AWS ECR. The person who created this setup has left the company and left very little documentation. I created an approved Pull Request in BitBucket, but no build happens. Here is what BitBucket shows:
Drone doesn’t seem to see this trigger, judging by the output of the “drone build ls” command being a build from 6 months ago.
Please see the following thread which is dedicated to helping you triage issues where build are not executing as expected.
If you are still unable to resolve the problem please see the Still Having Issues section at the bottom of the thread, which describes a list of required details that we would need to provide further assistance.
I think the cause of my build problem is described in your linked document under the “Does the yaml file exist?” section where it says, “The second most common root cause for this issue is the user that enabled the repository had their access to the repository revoked. Drone makes the API request to fetch the yaml on the behalf of this user. If the user cannot access the repository, neither can Drone. You can resolve this issue by de-activating and re-activating the repository using an account that has the appropriate access levels.”
My question is how is a repository de-activated and re-activated? I have searched and all I find is how to delete a repository.
I wonder if “de-activating and re-activating the repository” means resetting the Oauth configuration?