-
Notifications
You must be signed in to change notification settings - Fork 167
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
release nightlies are broken for smartos/master #601
Comments
That sounds good to me. |
I've added a new worker but we still need the logic to branch based on version. If someone from the jenkins-admins team could help out that'd be great; otherwise I will attempt it later this week. Note: I've also corrected the labels -- the smartos14 worker is removed from the smartos15 label, meaning we can now (correctly) rely on them. |
I'll try to take a look at adding the logic probably tomorrow. |
Testing out first cut in this job https://ci-release.nodejs.org/job/iojs+release-mdawson/nodes=smartos15-release/. Still some tweaking/testing needed but first run for nightly master is building only on smartos15 |
@mhdawson while refactoring; if you could remove relying on Also, instead of |
@jbergstroem ok have tested it out and seems like it is doing the right thing across the different versions. Also fixed up the comments you made. Can you take a final look and then I'll move over to the release job |
if [[ "${SMARTOS_VERSION:0:4}" -eq "2013" && ${MAJOR_VERSION} -lt "4" ]]; then I don't think iojs 1-3 builds on smartos13. I would stick with MAJOR being 0 for smartos13 and use smartos14 for >=1 >> 4. |
Also – slightly nitpick – but seeing how we call |
Ok, used
to re-use output from getnodeversion.py Adjustted ranges to that io.js 1-3 would use smartos14 Updated main release job with result so we should be good, now will validate that the next nightly runs ok. @misterdjules there were no changes to the build part but you might want to validate the binaries just in case. |
@misterdjules: possibly stupid question but is there a way of getting smartos major version from the host os? I see it as part of |
It's a great question, and the answer is unfortunately not obvious. By "from the host os", do you mean from the virtual machine/zone? That's what I'll assume in my answer. You can get access to the information about the image that was used to provision a given VM/zone by running the following from within that VM:
Then, you can query JPC's CloudAPI (e.g by installing the triton CLI to get some information about that image, including its version name:
Note that the version here is the image version, not the underlying hypervisor OS version which can be found by running |
@misterdjules yes and yes. Thanks for writing that up; exactly what I was looking for. |
Ok so job ran ok today, but I missed adding smartos15-release to the list of platforms we should be build on so although smartos was green we did not get a nightly. Have added so next nightly should include. |
since we use smartos14 to build nightlies, we have to add 15 builders as well. So;
correct, @misterdjules ?
/cc @mhdawson
The text was updated successfully, but these errors were encountered: