Skip to content

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

Merged
francisu merged 5 commits into
jenkinsci:masterfrom
medwards:delete-root-on-termination
Jun 1, 2017
Merged

[JENKINS-33339] Allow root volumes to be deleted on termination#218
francisu merged 5 commits into
jenkinsci:masterfrom
medwards:delete-root-on-termination

Conversation

@medwards
Copy link
Copy Markdown
Contributor

@medwards medwards commented Sep 6, 2016

@medwards
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

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

@medwards
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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

@medwards medwards force-pushed the delete-root-on-termination branch from a16cdbe to d930fef Compare March 31, 2017 10:16
@medwards
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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