=== vrubiolo1 is now known as vrubiolo [13:18] Hey everyone, do we have a script called "sbuild-it" ? I am reviewing https://github.com/canonical/cloud-init/pull/407 and one of the step is to run: [13:18] sbuild-it ../out/cloud-init_20.2-45-g5f7825e2-0ubuntu1~18.04.1.dsc [13:19] Build I can't find this script in either uss-tableflip or qa-scripts [14:06] I'm not familiar with it. [14:18] Also, a question for a different issue, if the bug that I am doing the manual testing is not related to a launchpad bug, is there a convention to name that file ? [14:36] lucasmoura: I think blackboxsw might have that; [14:38] rharper, ack [14:39] lucasmoura: there's no convention yet; I suspect git log line replacing spaces with - [14:39] rharper, okay [14:39] or, we can start using gh- [14:40] Odd_Bloke: blackboxsw ^ ? for fixes without lp bugs to match in ubuntu-sru test-cases ? [14:44] is "cloud-init devel schema" supposed to work with jinja templates? [14:45] I get a 'Cloud config schema errors: format-l1.c1: File jinja.yaml needs to begin with "#cloud-config"' but our docs say the first line should be the jinja comment [14:48] That sounds like a gap we'll need to address as part of the schema work this cycle. [14:48] falcojr you need both ##template: jinja\n#cloud-config\nruncmd: ['echo', 'Hi'] [14:49] falcojr: oh I see; you want to schema check a template ... [14:49] thanks. I had another issue with my config so wanted to verify it with that before fully launching it [14:49] yeah [14:49] that seems like a new use-case; as it's not*yet* fully formed [14:49] until you render it [14:49] the schema won't know what to do with {{ foo }} etc [14:50] right, makes sense [14:50] let's file a bug/new-feature for that use-case; [14:52] I can do that (hopefully ;) ) [14:54] rharper: falcojr: As for naming, I think we've used git-.txt before, but I don't have a strong preference. [14:56] Odd_Bloke: sorry, for naming what? [14:58] bug here: https://bugs.launchpad.net/cloud-init/+bug/1881925 [14:58] Ubuntu bug 1881925 in cloud-init "Schema validation fails on jinja template" [Undecided,New] [14:58] Oh sorry, that was lucasmoura not you. [14:59] Odd_Bloke, I have opened a PR with rharper naming suggestion. But I can rename it if the proposed convention should not be followed [14:59] Also, if my manual test references two distinct PRs, should I include both of them in the file name or just one ? In my PR I included just one, but I don't know if that is right [15:18] cool [15:51] lucasmoura: thanks for the ping, I've added a PR which adds the sbuild-it script I use for package build and validation. it's smoser's script originally, but I think it makes sense in our uss-tableflip repo [15:53] lucasmoura: https://github.com/canonical/uss-tableflip/pull/52 [15:53] feel free to land and merge that into uss-tableflip if it looks good. [16:20] falcojr: I feel like we haven't reached consensus on my comment in https://github.com/canonical/cloud-init/pull/367/files#r434689535, gimme a shout if you want to jump on a call to get on the same page. [16:22] Odd_Bloke: now works for me. Standup room? [16:23] Sure, omw. [16:57] falcojr: nice schema devel gap/bug. the CLI tools wasn't full wired to the jinja part handling. so it's rudimentary. a fix would be helpful [17:00] landed https://github.com/canonical/uss-tableflip/pull/52 [17:00] so an update of uss-tableflip will expose scripts/sbuilt-it for package upload verification [17:04] also eoan, xenial and bionic upload PRs are all updated for review (so we can officially kickoff the SRU process with the 'final' bits). eoan: https://github.com/canonical/cloud-init/pull/409 bionic: https://github.com/canonical/cloud-init/pull/407 xenial: https://github.com/canonical/cloud-init/pull/406 [17:04] I think lucasmoura is on #407 already and dan on #409 === hjensas is now known as hjensas|afk [18:02] lucasmoura: sorry on the sbuild-it script, that should now be landed via the following merged pull request: https://github.com/canonical/uss-tableflip/pull/52 [18:03] blackboxsw, no worries. I have just used to build the bionic package and now I was able to build the package [18:03] Also, I just finished reviewing the bionic PR [18:21] blackboxsw: One typo in the eoan changelog, then I think it's good. Thanks! [19:32] thanks Odd_Bloke, just pushed the changelog fix [19:48] Thanks, looking now. [19:51] blackboxsw: What does sbuild-it do for us other than save you from substituting the correct dist in? [20:02] hrm, travis seems to have queued and not run the ubuntu/ branches for a while. [20:03] Odd_Bloke: sbuild-it just limits the # of params you need to pass, making it a simple sbuild-it *dsc [20:04] just helpful to cut down on the sbuild params. not really required or necessary [20:05] maybe unnecessary 'sugar' as this could nearly be solved with a simple bash alias [20:39] momousta: in landing your branch can I ammend your squashed commit message to the following: https://pastebin.ubuntu.com/p/7zRn9WpMqs/? [20:39] wanted to note that 410 is now being handle [20:39] wanted to note that 410 is now being handled [20:39] Sure, please go ahead. [20:39] excellent, and done [20:39] thanks again [20:40] Thanks [20:40] it'll be in our next upload to ubuntu groovy [21:18] blackboxsw: +1 on eoan [21:38] falcojr: So your PR is ready to merge, but I'm done for the day and don't have the time to write a good merge commit message (which I think is particularly important for this change). Would you mind putting one together for me to copy/paste first thing tomorrow (or perhaps by blackboxsw later)? [21:38] Odd_Bloke: Sure...I can do the squashing too [21:56] thanks Odd_Bloke uploaded that. and thanks lucasmoura uploaded bionic [21:57] just xenial remains for SRU upload, then I can ping the vanguard in #ubutu-devel to accept the queued uploads [22:01] xenial is here https://github.com/canonical/cloud-init/pull/406 [22:01] and I just uploaded 20.2-45 B, E and F to https://launchpad.net/~cloud-init-dev/+archive/ubuntu/proposed [22:01] so we should be able to test those bits directly in SRU validation [22:16] blackboxsw, I will review the xenial release right now [22:39] blackboxsw, we have a flake8 issue related to one of the existing patches in xenial [22:39] I have commented the issue on the PR [22:39] ugh thanks lucasmoura for both reviews [22:58] lucasmoura: for tomorrow I fixed and pushed the flake error [22:58] https://github.com/canonical/cloud-init/pull/406