Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a bitbucket project permissions sync script #1550

Merged
merged 5 commits into from Feb 4, 2020
Merged

Conversation

@rocketeerbkw
Copy link
Member

rocketeerbkw commented Jan 15, 2020

Checklist

  • Affected Issues have been mentioned in the Closing issues section
  • Documentation has been written/updated
  • PR title is ready for changelog and subsystem label(s) applied

This PR adds a script that can sync users/permissions for bitbucket repos to lagoon projects. It requires three environment variables:

BITBUCKET_API_HOST - The hostname (eg https://bitbucket.org)
BITBUCKET_API_TOKEN - The access token (eg a personal access token)
BITBUCKET_SYNC_LAGOON_GROUP - The name of the lagoon group that has all projects that should be synced

Closing issues

n/a

@rocketeerbkw rocketeerbkw force-pushed the bitbucket-sync-cron branch from bdcf234 to 7839dc8 Jan 16, 2020
@rocketeerbkw rocketeerbkw changed the title Sync bitbucket permissions script Add a bitbucket project permissions sync script Jan 16, 2020
@rocketeerbkw rocketeerbkw marked this pull request as ready for review Jan 16, 2020
@rocketeerbkw rocketeerbkw requested a review from justinlevi Jan 16, 2020
Schnitzel added a commit that referenced this pull request Jan 21, 2020
Add a bitbucket project permissions sync script
@Schnitzel Schnitzel added this to the v1.3.0 milestone Feb 4, 2020
@Schnitzel Schnitzel merged commit e8fe51f into master Feb 4, 2020
1 check passed
1 check passed
continuous-integration/jenkins/pr-merge This commit looks good
Details
@rocketeerbkw rocketeerbkw deleted the bitbucket-sync-cron branch Feb 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.