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

[JENKINS-33339] Allow root volumes to be deleted on termination #218

Merged
merged 5 commits into from
Jun 1, 2017

Conversation

medwards
Copy link
Contributor

@medwards medwards commented Sep 6, 2016

@medwards
Copy link
Contributor Author

medwards commented Sep 6, 2016

Some things for me to do still:

  • Get it to pass unit tests (still not sure how to get this to work locally)
  • Verify the UI hooks actually work (Its my first time exposing things to the user)
  • Run it in a real environment

If you don't merge beforehand I'll ping y'all when I'm done.

@medwards medwards force-pushed the delete-root-on-termination branch 2 times, most recently from e2da95f to a16cdbe Compare September 7, 2016 10:20
@medwards
Copy link
Contributor Author

medwards commented Sep 7, 2016

I also change setupEphemeralDeviceMapping and setupCustomDeviceMapping to operate on the device mapping list in the launch specification or run instances request. There's now only one method signature and they append to the list rather than wiping it out.

This also means we can support ephemeral and custom device mapping at the same time now. I'm not sure who has this use-case and it seems like a dramatic change so I didn't include it here.

@medwards
Copy link
Contributor Author

We're using the snapshot of this internally now and it looks good.

@medwards
Copy link
Contributor Author

OK, just got back from vacation and am happy to report no leaked volumes and our environment is still stable ^^

@johnnyshields
Copy link
Contributor

Looks good to me! @francisu what do you think?

@medwards
Copy link
Contributor Author

I've rebased the branch as we got hit by JENKINS-38481 and didn't have it in our custom build of ec2-plugin.

@micahlmartin
Copy link

In addition to this, is there a way to configure the size of the root volume or am I just missing it?

@medwards
Copy link
Contributor Author

medwards commented Apr 3, 2017

I didn't include anything for it. I assumed it was fixed, at least by instance type.

@francisu francisu merged commit 78ea67a into jenkinsci:master Jun 1, 2017
Jimilian pushed a commit to Jimilian/ec2-plugin that referenced this pull request Dec 11, 2017
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.

4 participants