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

Support tagging instances after they have launched. #1067

Merged
merged 10 commits into from Apr 7, 2014

Conversation

kouk
Copy link
Contributor

@kouk kouk commented Feb 14, 2014

This pull request adds support for tagging latent buildbot slaves on EC2. If this is something the buildbot devs think is a good idea I can write tests and documentation to make this pull request complete.

@djmitche
Copy link
Member

What is the benefit? I'm not terribly familiar with using the latent slave facilities, so it's hard for me eto know if this is a good idea.

@kouk
Copy link
Contributor Author

kouk commented Feb 19, 2014

I use it so that I can tailor my AWS IAM security policies more flexibly. For example I can give the buildbot user a right to terminate only those instances that it launched and tagged.

@djmitche
Copy link
Member

OK, sounds good -- want to add some documentation, tests, and an entry in the release notes?

@kouk
Copy link
Contributor Author

kouk commented Feb 24, 2014

sure, I have locally done documentation and release notes but I will also try adding some tests (currently there are none for EC2LatentBuildSlave or am I mistaken?)

@kouk
Copy link
Contributor Author

kouk commented Feb 24, 2014

The unit tests depend on this pull request in moto. With luck it will be merged and released soon and then these unit tests will pass as well.

@kouk
Copy link
Contributor Author

kouk commented Feb 24, 2014

Ooops, sorry about that rebase, I accidentally pushed some commits that were meant for my local use only.

@kouk
Copy link
Contributor Author

kouk commented Feb 25, 2014

So predictably the build failed because of the moto dependency in the EC2LatentBuildSlave unit tests I wrote. How would you like to proceed?

@tardyp
Copy link
Member

tardyp commented Feb 25, 2014

you can skip them if moto is unavailable. see http step tests on how to do
it.. you can remove the dep from setup.py

Pierre

On Tue, Feb 25, 2014 at 11:59 AM, Konstantinos Koukopoulos <
notifications@github.com> wrote:

So predictably the build failed because of the moto dependency in the
EC2LatentBuildSlave unit tests I wrote. How would you like to proceed?

Reply to this email directly or view it on GitHubhttps://github.com//pull/1067#issuecomment-35996455
.

@djmitche
Copy link
Member

Wow, this is awesome! We'll add moto to the metabuildbot so these tests will be run, but Pierre's right - if not present, just skip the tests, so that every user doesn't have to install moto.

djmitche added a commit that referenced this pull request Apr 7, 2014
@djmitche djmitche merged commit a703f2e into buildbot:master Apr 7, 2014
@kouk kouk deleted the tags branch April 7, 2014 07:29
thinkski pushed a commit to kuna-systems/buildbot that referenced this pull request Sep 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants