F-Droid Devs

102 Members
F-Droid development discussion only | Use #fdroid:f-droid.org for general, app- and repo-related matters | Meeting every Thursday at 11:30 UTC | This channel is publicly logged at https://view.matrix.org/alias/%23fdroid-dev:f-droid.org18 Servers

Load older messages


SenderMessageTime
2 Apr 2021
@eighthave:matrix.org_hc the resulting image would be published to a registry, and then the fdroid build: job would use image: fdroid:buildserver or whatver its called 11:10:21
@eighthave:matrix.org_hcdocker-in-docker is also possible, but I don't think its necessary11:10:50
@proletarius101:matrix.orgproletarius101Hmm I mean in the ci we don't have vagrant, do we?11:11:19
@eighthave:matrix.org_hc apt-get install vagrant? 11:11:38
@eighthave:matrix.org_hc but vagrant isn't needed in the fdroid build: job 11:11:56
@proletarius101:matrix.orgproletarius101
In reply to @eighthave:matrix.org
but vagrant isn't needed in the fdroid build: job
Yeah
11:12:06
@eighthave:matrix.org_hc the fdroid build job is running inside the buildserver guest directly, not the host 11:12:22
@eighthave:matrix.org_hcvagrant is only needed for the host11:12:29
@proletarius101:matrix.orgproletarius101
In reply to @eighthave:matrix.org
vagrant is only needed for the host
That's right
11:12:42
@eighthave:matrix.org_hc that's why it runs fdroid build --on-server 11:12:49
@proletarius101:matrix.orgproletarius101Yep11:13:05
@eighthave:matrix.org_hcdocker-in-docker could be used to build and publish this new image11:13:44
@eighthave:matrix.org_hclike in ci-images-base11:13:50
@eighthave:matrix.org_hcthat would install and use vagrant11:14:39
@eighthave:matrix.org_hcI could frame something out if you are interested in working on this11:14:55
@proletarius101:matrix.orgproletarius101Hmm I suppose building docker images shouldn't really involve vagrant which complicated the steps but give no more reusable components?11:17:05
@eighthave:matrix.org_hcvagrant gives us the tool to use the same provisioning across Docker, VirtualBox, and libvirt11:17:42
@eighthave:matrix.org_hcI wouldn't start a new project with vagrant, but it is already there and running11:17:57
@proletarius101:matrix.orgproletarius101.gitlab-ci.yml shows ci image base is just built by dockerfile11:19:18
@eighthave:matrix.org_hcyou could probably even skip vagrant and just build the Docker image by running the existing provisioning 11:19:39
@proletarius101:matrix.orgproletarius101
In reply to @eighthave:matrix.org
vagrant gives us the tool to use the same provisioning across Docker, VirtualBox, and libvirt
I would love to do it if it makes it more reusable, although I don't really understand how it works now
11:20:01
@eighthave:matrix.org_hc e.g. make buildserver/Dockerfile 11:20:03
@freenode_izzy:matrix.orgizzy _hc: isn't Suqashing already set as default for new MRs? 11:20:12
@proletarius101:matrix.orgproletarius101
In reply to @eighthave:matrix.org
e.g. make buildserver/Dockerfile
If it's just a entrypoint difference, it could be done easily
11:21:02
@eighthave:matrix.org_hcgitlab-ci ignores entrypoint, so it can be used for people who want to use the image as a command line tool11:23:04
@eighthave:matrix.org_hc izzy: ah right, I guess I really meant forcing linear history: https://gitlab.com/fdroid/fdroiddata/edit#js-merge-request-settings 11:25:11
@eighthave:matrix.org_hce..g. "Fast-forward merge"11:25:38
@freenode_cdesai:matrix.orgcdesaicould also set it to rebase11:25:54
@eighthave:matrix.org_hcthat's what Fsat-forward merge forces11:26:11
@freenode_izzy:matrix.orgizzy I've not much experience with that. Any side-effects to be expected? 11:27:09

Show newer messages


Back to Room ListRoom Version: 1