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

Scheduled Service for Bamboo Keys to Regenerate Keys #8

Open
eddiewebb opened this issue Sep 26, 2015 · 2 comments
Open

Scheduled Service for Bamboo Keys to Regenerate Keys #8

eddiewebb opened this issue Sep 26, 2015 · 2 comments

Comments

@eddiewebb
Copy link
Contributor

Requires #7

Once keys are tracked the scheduled job should delete existing keys and then re-generate from bamboo's side.

@eddiewebb
Copy link
Contributor Author

This may need a plugin in bamboo. We can use the stash plugin in bamboo to get a list of all connected repos, but no way to edit/update them in bamboo unless we spoof a form submission to the editrpeository action. Even a plugin on the bamboo would need to override stash reposiroty to hit our service or somehow make a save call to the repostory action.

eddiewebb added a commit that referenced this issue Sep 27, 2015
@eddiewebb
Copy link
Contributor Author

eddiewebb commented Mar 23, 2017

Now that bamboo saves keys to Repos we can:

  • Get BAMBOO keys older than MAXTIME
  • Save stashKeyID, and use to call BB API for /rest/keys/1.0/ssh/{ID}/repos
  • Save Bamboo project plan from ^^
  • Purge Key
  • Call bamboo (APIS?) to generate a new key for that build plan's configured repository

** can we get plan details at creation time and save as meta? **

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant