--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/f5935828-61d5-4afa-afab-9090deacb19e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Cloud delays in theory should be possible to avoid by:1) kicking suggestReview. I wrote plugin but had no ability to test on huge installations https://github.com/KostyaSha/faster-node-provision-plugin2) increasing one of coefficients for provisioner(or statistics collector, forgot classname) (jglick is using it in demo's and i'm using in my installations).
--AFAIK the main jenkins pain is the Queue locks. How this plugin will deal with locks?--2016-03-04 12:08 GMT+01:00 nicolas de loof <nicolas...@gmail.com>:Hi folks,Yoann and I have extracted from our docker-slaves hack-ish pet project a stable sub-component so a plugin can manage slaves that are dedicated to a Build, not relying on Cloud API, and get them tied to a Build. i.e Slave and Build share a common lifecycle. If Slave fails to start, Build will fail as well. If slave is slow to start (maybe pulling a huge docker image), build log will report the progress.etc.design and use-case : https://wiki.jenkins-ci.org/display/JENKINS/One-Shot+Executorthe current code base do rely on hacks, our goal is to demonstrate this use case (can be tested reusing sample) so we can get the adequate hooks introduced in jenkins-core and later re-implement same API on a cleaner basis.
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/f5935828-61d5-4afa-afab-9090deacb19e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/d65c0d1f-e298-4e08-b5f9-15f883b55f12%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/WV6sPmIh-tk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS7kb2RkXzgQPrv7SS%2BCJVsV79q17sHsVE6pzYXrCh3QHw%40mail.gmail.com.
Cloud delays in theory should be possible to avoid by:1) kicking suggestReview. I wrote plugin but had no ability to test on huge installations https://github.com/KostyaSha/faster-node-provision-plugin2) increasing one of coefficients for provisioner(or statistics collector, forgot classname) (jglick is using it in demo's and i'm using in my installations).
--AFAIK the main jenkins pain is the Queue locks. How this plugin will deal with locks?--2016-03-04 12:08 GMT+01:00 nicolas de loof <nicolas...@gmail.com>:Hi folks,Yoann and I have extracted from our docker-slaves hack-ish pet project a stable sub-component so a plugin can manage slaves that are dedicated to a Build, not relying on Cloud API, and get them tied to a Build. i.e Slave and Build share a common lifecycle. If Slave fails to start, Build will fail as well. If slave is slow to start (maybe pulling a huge docker image), build log will report the progress.etc.design and use-case : https://wiki.jenkins-ci.org/display/JENKINS/One-Shot+Executorthe current code base do rely on hacks, our goal is to demonstrate this use case (can be tested reusing sample) so we can get the adequate hooks introduced in jenkins-core and later re-implement same API on a cleaner basis.
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/f5935828-61d5-4afa-afab-9090deacb19e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/d65c0d1f-e298-4e08-b5f9-15f883b55f12%40googlegroups.com.
I made my plugin after @stephenc comments and seems that his work somebody finally tried to expose https://github.com/jenkinsci/mansion-cloud-plugin/pull/9 According to stephenc comments such logic should be generic and would make sense for all cloud plugins, that’s why i made separate plugin.@batmat if you are using docker-plugin then it may have synchronisation or logic issues.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/F0D26341-CD48-4C8C-BBF2-8F69CF060B12%40gmail.com.
On Mar 5, 2016, at 11:15, nicolas de loof <nicolas...@gmail.com> wrote:2016-03-05 7:36 GMT+01:00 Kanstantsin Shautsou <kanstan...@gmail.com>:I made my plugin after @stephenc comments and seems that his work somebody finally tried to expose https://github.com/jenkinsci/mansion-cloud-plugin/pull/9 According to stephenc comments such logic should be generic and would make sense for all cloud plugins, that’s why i made separate plugin.@batmat if you are using docker-plugin then it may have synchronisation or logic issues.@KostyaSha is this something you're trying to address with you "yet-another-docker-plugin" ? Are you working on both plugins ?
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANMVJznxr4jD_hu8JYTS%3DEa%2B84Y6uVA0mr10XSTe76%2BHxcmDmA%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/d65c0d1f-e298-4e08-b5f9-15f883b55f12%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/WV6sPmIh-tk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS7kb2RkXzgQPrv7SS%2BCJVsV79q17sHsVE6pzYXrCh3QHw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/F0D26341-CD48-4C8C-BBF2-8F69CF060B12%40gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/WV6sPmIh-tk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/d65c0d1f-e298-4e08-b5f9-15f883b55f12%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/WV6sPmIh-tk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS7kb2RkXzgQPrv7SS%2BCJVsV79q17sHsVE6pzYXrCh3QHw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/F0D26341-CD48-4C8C-BBF2-8F69CF060B12%40gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/WV6sPmIh-tk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANMVJznxr4jD_hu8JYTS%3DEa%2B84Y6uVA0mr10XSTe76%2BHxcmDmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/c027feb0-3b86-4dfd-bd83-7dafc8c7d743%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANMVJznqSHnpf0H-hZA2fiqJ_mPNbR0d4b2nW5uGUefvH%2B9bew%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/42AEF0EC-8E20-40A1-8B94-0F091E895726%40gmail.com.
On Mar 9, 2016, at 19:52, Suckow, Thomas J <Thomas...@pnnl.gov> wrote:I like that this moves the provisioning to the build log.
I do agree that certain issues should fail immediately (image not found). Certain other issues should perform exponential backoff (Cloud infrastructure down). Provisioning limits could be annoying though, would be interesting if they could be left in the queue until Jenkins side provisioning limits are not violated. I am not sure how to handle an environment like Kubernetes though where other entities may be utilizing resources and you have to "share".
You mention using labels to pick the slave. I'm wondering if it would be feasible and worthwhile to make such a plugin generic to be the middle layer for the Jenkins hooks to the cloud specific implementation (Docker, Kubernetes, AWS).
It could also handle the logic of some users wanting to configure slaves on a per job basis. Would be interesting if could also be integrated into cloudbees folder level. If the later could work then I wouldn't need to run my own Jenkins install at work for using containers and instead could use the company cloudbees Jenkins.
-Thomas
From: <jenkin...@googlegroups.com> on behalf of nicolas de loof <nicolas...@gmail.com>
Reply-To: "jenkin...@googlegroups.com" <jenkin...@googlegroups.com>
Date: Friday, March 4, 2016 at 3:08 AM
To: "jenkin...@googlegroups.com" <jenkin...@googlegroups.com>
Subject: One-Shot Executors
Hi folks,
Yoann and I have extracted from our docker-slaves hack-ish pet project a stable sub-component so a plugin can manage slaves that are dedicated to a Build, not relying on Cloud API, and get them tied to a Build. i.e Slave and Build share a common lifecycle. If Slave fails to start, Build will fail as well. If slave is slow to start (maybe pulling a huge docker image), build log will report the progress.etc.
design and use-case : https://wiki.jenkins-ci.org/display/JENKINS/One-Shot+Executor
the current code base do rely on hacks, our goal is to demonstrate this use case (can be tested reusing sample) so we can get the adequate hooks introduced in jenkins-core and later re-implement same API on a cleaner basis.
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANMVJznmnydODNX%2BYXmh0ujnJXsoZWcPT%2BpJCWwdR0_wUpfDTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/WV6sPmIh-tk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/D305926F.28292%25thomas.suckow%40pnnl.gov.
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr3ycEVavhfm2Kuj5pOB5fkPF6vaOJfb6Zu-89y%2BQRm95g%40mail.gmail.com.
Could also be interesting if you are shutting down Jenkins and don't wan't to wait for a build to complete
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/D30701C3.2858A%25thomas.suckow%40pnnl.gov.