GithubHelp home page GithubHelp logo

Github Actions: Arch about labwc HOT 2 CLOSED

Narrat avatar Narrat commented on June 20, 2024
Github Actions: Arch

from labwc.

Comments (2)

Consolatis avatar Consolatis commented on June 20, 2024

My memory is a bit fuzzy regarding this but AFAIR it was required to call --init because the keyring in the image used wasn't working otherwise. Regarding the runtime, Arch, Debian and Void have a runtime of about 1 to 2 minutes compared to the FreeBSD VM with 3 to 4 minutes so shaving of a few seconds from Arch isn't really worth it.

Currently there is another issue with Arch in that the mirror used sometimes fails deliver content and basically idles with some kb/s (or even bytes/s). We had similar issues in the past with other distros so I assume it is a temporary problem and will fix itself over time.

from labwc.

Narrat avatar Narrat commented on June 20, 2024

Odd, but maybe I didn't compare it with enough runs. I particulary noticed https://github.com/labwc/labwc/actions/runs/8254909096/usage and with a quick glance the runs around Arch were the slowest.
And then I noticed the --init call, which can take some time. Couldn't see any numbers that were indicating what exactly took the time and assumed the keygen. So if you say there are also mirror problems that seems to be more likely if you can say from experience, that the running times were lower. Cemented by newer runs/figures that definitively take less time.
Nevertheless, the call to --init should be superfluous, as the image adds and intializes the stuff. And after taking a quick look at pacman-key running --init on the populated dir shouldn't do a thing.

Regarding mirrors: To avoid issues with mirrors the following could be added in whatever way:

pacman -Sy
pacman -S pacman-contrib
curl -s "https://archlinux.org/mirrorlist/?country=US&country=DE&protocol=https&use_mirror_status=on" | sed -e 's/^#Server/Server/' -e '/^#/d' | rankmirrors -n 5 - > /etc/pacman.d/mirrorlist
pacman -Syyu --noconfirm
(...)

or alternatively

pacman -Sy
pacman -S reflector
reflector --latest 5 --protocol https --sort rate --country 'USA,Germany,' --save /etc/pacman.d/mirrorlist
pacman -Syyu --noconfirm
(...)

With reflector being the faster solution in my experience.

from labwc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.