*** gtristan has joined #baserock | 06:14 | |
*** ctbruce has joined #baserock | 07:30 | |
*** toscalix has joined #baserock | 07:39 | |
*** locallycompact has joined #baserock | 07:56 | |
*** rdale has joined #baserock | 08:12 | |
*** jonathanmaw has joined #baserock | 08:52 | |
*** ssam2 has joined #baserock | 08:57 | |
*** ChanServ sets mode: +v ssam2 | 08:57 | |
*** locallycompact has quit IRC | 09:10 | |
ssam2 | jonathanmaw, so actually the way I set up the access control for ostree.baserock.org is that there is a specific set of people who are allowed to push over ssh | 09:39 |
---|---|---|
ssam2 | https://gitlab.com/baserock/infrastructure/blob/master/baserock_ostree/ostree-access-config.yml | 09:39 |
ssam2 | probably best if you can send me an ssh public key for you and i'll add that to the list | 09:39 |
ssam2 | then you can push your armv8l64 artifacts | 09:39 |
jonathanmaw | ssam2: is sending it via PM ok? | 09:40 |
ssam2 | it would be nicer to avoid giving people access and gate everything through the CI, but we clearly don't have time to set up a gitlab-ci runner on any of our arm servers right now | 09:40 |
*** rdale has quit IRC | 09:40 | |
ssam2 | PM is fine yeah | 09:40 |
*** rdale has joined #baserock | 09:45 | |
gitlab-br-bot | infrastructure: merge request (sam/jonathanmaw-ostree-access->master: Give Jonathan Maw push access to ostree.baserock.org) #7 changed state ("opened"): https://gitlab.com/baserock/infrastructure/merge_requests/7 | 09:46 |
ssam2 | ironfoot, gary_perkins ... ok with ^^ ? | 09:47 |
ironfoot | for one second i thought i was looking at bitbucket | 09:47 |
ssam2 | the ui change in gitlab? :-) | 09:48 |
gitlab-br-bot | infrastructure: merge request (sam/jonathanmaw-ostree-access->master: Give Jonathan Maw push access to ostree.baserock.org) #7 changed state ("merged"): https://gitlab.com/baserock/infrastructure/merge_requests/7 | 09:48 |
paulsherwood | yup... takes a bit of getting used to | 09:48 |
jonathanmaw | ssam2: ok, how do I ostree push? iirc it's an external tool, rather than an ostree builtin | 09:52 |
ssam2 | one sec while i deploy the change | 09:53 |
gtristan | jonathanmaw, ostree-push is not *really* a thing | 09:53 |
gtristan | ah | 09:54 |
ssam2 | we'll set up buildstream.conf so that it can push | 09:54 |
* gtristan reads backlog and suspects ssam2 has setup ostree-push somewhere | 09:54 | |
ssam2 | jonathanmaw, put this in your ~/.config/buildstream.conf : http://paste.baserock.org/osokowuhuj | 09:55 |
ssam2 | that will cause buildstream to push everything it builds to the cache | 09:55 |
ssam2 | or fail, if your SSH key isn't available | 09:55 |
ssam2 | (i've been using ssh agent forwarding to make the key available, and have sometimes left builds running overnight only for them to fail as soon as the first element succeeds because my laptop is no longer sharing the key :-) | 09:56 |
ssam2 | i don't think there's anything you can do wrong to break the cache, but make sure to comment out the 'push-url' and 'push-port' lines when you're not doing clean builds (like when modifying the guts of buildstream itself) | 09:57 |
ssam2 | you can also `bst push` stuff that you already built | 09:57 |
jonathanmaw | ok, so I'll be wanting to do `bst push --deps all $TARGET` | 09:59 |
ssam2 | yeah | 10:00 |
jonathanmaw | aha, I should wait until I have a finalised toolchain added to "base", otherwise the uploaded artifacts won't ever be found. | 10:00 |
ssam2 | right yeah | 10:01 |
ssam2 | so first build and push bootstrap/stage3-sysroot.bst | 10:01 |
jonathanmaw | ssam2: pushing the sysroot in a diffferent way than pushing it to the cache, I assume | 10:01 |
ssam2 | no, just push it to the cache | 10:02 |
ssam2 | this is an interim solution; i'm still figuring out the "correct way" | 10:02 |
ssam2 | as per https://mail.gnome.org/archives/buildstream-list/2017-September/msg00038.html | 10:03 |
jonathanmaw | ssam2: ok, and it'll be addressed in a way other than by divining the cache key, iiuc | 10:03 |
ssam2 | right now you just have to divine the correct ref, indeed | 10:03 |
*** locallycompact has joined #baserock | 10:03 | |
*** locallycompact has joined #baserock | 10:04 | |
ssam2 | i already did this for ppc64b and x86_64: https://gitlab.com/baserock/definitions/commit/16a183b01f20f737189ab36e45d67c7527bdedfa | 10:04 |
ssam2 | it'll work fine until we need to prune the cache :-) | 10:04 |
ssam2 | but the buildstream conversion is still work-in-progress, so whatever | 10:05 |
ssam2 | by the way, you can put the ostree ref name into the "track" field, then run "bst track gnu-toolchain/base.bst" and it will figure out the "ref" field for you :-) | 10:06 |
ssam2 | and the log file generated by `bst push` should give you at least a clue at the ref name | 10:06 |
jonathanmaw | ssam2: looking at the logs, it looks like I have two refs, I assume one is the strong ref, and one is the weak ref. Does it matter which one I choose? I can't really tell them apart. | 10:17 |
ssam2 | i prefer the strong ref | 10:19 |
ssam2 | i think in practice it doesn't matter | 10:19 |
ssam2 | i think the ref you see abbreviated in the bst console output is the strong one | 10:19 |
gitlab-br-bot | definitions: merge request (sam/bst-artifacts-url->master: project.conf: Set the artifact cache URL here) #57 changed state ("opened"): https://gitlab.com/baserock/definitions/merge_requests/57 | 10:20 |
gitlab-br-bot | definitions: merge request (sam/bst-artifacts-url->master: project.conf: Set the artifact cache URL here) #57 changed state ("merged"): https://gitlab.com/baserock/definitions/merge_requests/57 | 10:22 |
ironfoot | jonathanmaw: I've left a comment in https://gitlab.com/baserock/definitions/commit/e17e4b36c493b5ca50b27f888674c835adaf7bb7 | 10:23 |
ironfoot | long time since I've looked at baserock bootsrap for different architecture | 10:24 |
ironfoot | s | 10:24 |
ironfoot | meh, english, you know what I meant | 10:24 |
jonathanmaw | ssam2: new base defined, started a full build | 10:32 |
jonathanmaw | perhaps I should push the commit as well, since it'll be pushing the artifacts to the cache as it builds. | 10:32 |
ssam2 | sure | 10:32 |
gitlab-br-bot | definitions: merge request (sam/remove-morph-add-buildstream->master: build-system: Remove Morph and add BuildStream) #60 changed state ("opened"): https://gitlab.com/baserock/definitions/merge_requests/60 | 10:53 |
gitlab-br-bot | definitions: merge request (sam/armv8-ppc64->master: Various fixes for armv8 and ppc64) #59 changed state ("opened"): https://gitlab.com/baserock/definitions/merge_requests/59 | 11:16 |
gitlab-br-bot | definitions: merge request (sam/armv8-ppc64->master: Various fixes for armv8 and ppc64) #59 changed state ("opened"): https://gitlab.com/baserock/definitions/merge_requests/59 | 11:17 |
ssam2 | seems we've triggered a buildstream bug... https://gitlab.com/baserock/definitions/-/jobs/34478004 | 11:26 |
* ssam2 will try and fix | 11:27 | |
toscalix | if the gitlab wiki is not being used, I recommend to go to Settings -> Integrations and in the Project Services section, click in the external wiki option and add the wiki URL. Then when you click in the wiki option, it will redirect you to the "actual wiki" | 11:42 |
ssam2 | good idea | 11:44 |
* ssam2 tries in vain to find "Settings" in the new UI | 11:45 | |
ssam2 | oh, it's per-repo | 11:45 |
toscalix | per group / per project/repo | 11:45 |
ssam2 | I don't see "Integrations" in there though | 11:45 |
ssam2 | oh, LHS again | 11:46 |
toscalix | you might not have admin rights in that specific repo then | 11:46 |
ssam2 | aha, it works | 11:46 |
*** adds68 has quit IRC | 12:14 | |
*** adds68 has joined #baserock | 12:19 | |
*** gtristan has quit IRC | 12:40 | |
gitlab-br-bot | definitions: merge request (jonathan/buildstream-bootstrap->sam/buildstream-bootstrap: Add aarch64 base toolchain) #61 changed state ("opened"): https://gitlab.com/baserock/definitions/merge_requests/61 | 13:10 |
*** toscalix_ has joined #baserock | 13:58 | |
*** toscalix has quit IRC | 14:00 | |
*** ctbruce has quit IRC | 14:57 | |
*** ssam2 has quit IRC | 15:55 | |
*** toscalix_ has quit IRC | 16:46 | |
*** locallycompact has quit IRC | 17:02 | |
*** jonathanmaw has quit IRC | 17:20 | |
*** gtristan has joined #baserock | 20:27 | |
*** gtristan has quit IRC | 21:32 | |
*** rdale has quit IRC | 22:25 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!