Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 14:33
    jglick commented #1219
  • 12:00
    timja commented #1219
  • 11:54
    olivergondza commented #1219
  • 10:21
    timja commented #1219
  • 10:01
    olivergondza commented #1219
  • 09:58
    olivergondza labeled #1219
  • 09:58
    olivergondza opened #1219
  • 07:28
    timja commented #1218
  • 01:32
    LinuxSuRen edited #1218
  • 01:13
    LinuxSuRen synchronize #1218
  • 01:08
    LinuxSuRen synchronize #1218
  • 00:54
    LinuxSuRen opened #1218
  • Dec 05 16:23
  • Dec 05 12:34
    timja commented #1217
  • Dec 05 12:32
    KoniAnastasia closed #1217
  • Dec 05 12:32
    KoniAnastasia commented #1217
  • Dec 05 12:17
    timja commented #1215
  • Dec 05 12:16
    casz commented #1215
nguyenhugh
@nguyenhugh
@oleg-nenashev | Thank you, I will have a look!
Oleg Nenashev
@oleg-nenashev
Hi all. Looks like I forgot to send a message here. I am traveling this week, and I am unable to run the recording
Tim Jacomb
@timja
Can you set the meeting so we can start it without you?
Oleg Nenashev
@oleg-nenashev
If somebody records the video (e.g. using a free Zoom account), I will get the video posted on YouTube later
Sladyn
@sladyn98
I wont be able to attend too, Getting late for class :P
Tim Jacomb
@timja
:thumbsup:
Tim Jacomb
@timja
@casz you joining?
Tim Jacomb
@timja
Oleg Nenashev
@oleg-nenashev
Thanks!
And sorry for the late notice
Tim Jacomb
@timja
no worries, was fine
030
@030
@casz git version 2.17.1 and git lfs returns the help menu of git lfs. I found a workaround to enable git-lfs in the UI and updated the Q&A on devops SE that was mentioned earlier.
Joseph Petersen
@casz
@030 i was referring to the version of git plugin :)
Oleg Nenashev
@oleg-nenashev
Got the recording published for the today;s session: https://youtu.be/WBrT6xYbhm0
Jake Burns
@burnsjake
Is there a good howto on how to bootstrap a brand new jenkins installation (without docker) with the configuration as code plugin?
@burnsjake just follow getting started, install the configuration-as-code plugin.
Export your desired configuration to a yaml file, then store it
Mark Waite
@MarkEWaite
@burnsjake that information is also available from https://plugins.jenkins.io/configuration-as-code, though not yet as convenient to hyperlink as the github.com page.
Jake Burns
@burnsjake
@MarkEWaite @timja , I'm confused as to how I'd install the CasC plugin without manually going through the first-use. I'm looking to do this without docker.
Mark Waite
@MarkEWaite
@burnsjake There probably is a way to initiate a Jenkins installation that also installs the configuration as code plugin, but most efforts to automate at that level of installation are done with Docker. If you're using one of the operating system packages (rpm, deb, msi), then after the installation and selecting the recommended plugins, you would use the plugin manager page to install the configuration as code plugin.
Jake Burns
@burnsjake
Yup, using aptitude to install on ubuntu. But there are no apt packages to install separate plugins. I'm fairly surprised this hasn't been sussed out yet.
Mark Waite
@MarkEWaite
Already complicated enough to maintain 3 different installer packages for the main package (deb, rpm, msi) with no solid consensus for techniques to manage add-ons between the various Linux distros and Windows. Should we style after python pip or ruby gems or golang or ...
Jake Burns
@burnsjake
My thought is to install via aptitude, stop jenkins immediately, add JAVA_ARGS="-Djava.awt.headless=true -Djenkins.install.runSetupWizard=false" to /etc/default/jenkins, add an admin user with a groovy script into /usr/share/jenkins/ref/init.groovy.d/security (optional?), Install a plugin manually (???), PROFIT!
Jake Burns
@burnsjake
A plugin being the CasC plugin.
Joseph Petersen
@casz
@burnsjake why won't you use docker? :confused:
for installing plugins
Tim Jacomb
@timja
@oleg-nenashev did you want to do a jcasc release soon?
Someone just asked on github:
https://github.com/jenkinsci/configuration-as-code-plugin/pull/1053#issuecomment-535865314
Daniel Estermann
@d.esterman_gitlab
I also wait for a release to test if ConfiguratorException: serverAuthenticationToken is required to configure class hudson.plugins.sonar.SonarInstallation has been fixed
Robert Sandell
@rsandell
Hello, I'm working on fixing JCasC support for the git-client tool installations, and it's a bit of an unusual beast to fix.
Mark Waite
@MarkEWaite
That is the understatement of the year. @rsandell .
Robert Sandell
@rsandell
My second attemt I thought was a clever and beautiful hack where I used readResolve to "fix" the things that jcasc was doing wrong when using the databound constructor logic
But alas it turns out that jcasc is not calling readResolve after creating the objects.
Mark Waite
@MarkEWaite
Ah, that hurts.
I had an alternate hack technique that came to mind. Would love to hear your thoughts on my hack idea.
Robert Sandell
@rsandell
It's not clear cut to me now that I'm thinking about it if it should or not. XStream does it after deserializing from disk. but in form submission it doesn't. And perhaps JCasC is a bit of both or somewhere in between.
Mark Waite
@MarkEWaite
There are only two special strings that identify the JGit implementations, "jgit" and "jgitapache". What if the git client plugin data bound constructor for CliGit detected one of those two strings and called out to the JGit implementation instead?
I assume (my guessing) that making JCasC call readResolve is a much more invasive change that the team will be ready to make. It will invoke many pieces of code that had not been run before in this context
Robert Sandell
@rsandell
Well you can't really construct another object from the constructor
my readresolve does that; detecting if name is the magic name and in that case returns the appropriately constructed object
Mark Waite
@MarkEWaite
Could the CliGit data bound constructor somehow "queue" a call to readResolve if it detects it is called in from JCasC?
Robert Sandell
@rsandell
My second attempt that I'm currently working on is using a custom Configurator, that would probably make it possible to have a bit more nice looking yaml, but it would mean adding an optional dependency to jcasc in the git-client plugin. And the Configurator API in jscasc is badly documented to say it mildly :) so the work is going slow on that approach.
Would you be against adding that optional dependency mark?
Mark Waite
@MarkEWaite
I don't object to adding an optional JCasC dependency into the git client plugin. A mandatory dependency would not be acceptable, but optional would be fine.
Robert Sandell
@rsandell
ok.
How do people feel about adding a call to readresolve in the handling of DataboundConstructorConfigurator? or maybe it was called DescribableConfigurator (the default one)?
I've heard a rumor that Oleg doesn't like the custom configurator approach :)
Mark Waite
@MarkEWaite

How do people feel about adding a call to readresolve in the handling of DataboundConstructorConfigurator? or maybe it was called DescribableConfigurator (the default one)?

@casz and @timja seem like the two best suited to answer that question along with @oleg-nenashev