Description
One of the less reliable things in GHA here is apt-install of things. Last time it took 120min+ to install chromium at mere 25kBps, but even on a good day the usual apt-get update && apt-get install chromium-browser xvfb spends time pulling manifests, restarting daemons etc., setting up snapd, and then installing the apps… without any caching always relying on canonical infra providing these… usually taking at least 2mins, but often spending several times longer on a step that is probably not even necessary:
- Both xvfb and chromium are however already preinstalled in the runner, and don't need installing or updating. (Their versions are kept up-to-date via weekly runner image rollouts, but otherwise consistent between the runs helping reproducibility.)
- Looking into what jasmine runs, I even doubt the installed chromium is ever used afterwards — one set runs system firefox via geckodriver, the other runs system chrome via matching chromedriver version, all preinstalled on the runner.
Quick PoC shows the action runs fine without any additional installs.
Success Criteria
Description
One of the less reliable things in GHA here is apt-install of things. Last time it took 120min+ to install chromium at mere 25kBps, but even on a good day the usual
apt-get update && apt-get install chromium-browser xvfbspends time pulling manifests, restarting daemons etc., setting up snapd, and then installing the apps… without any caching always relying on canonical infra providing these… usually taking at least 2mins, but often spending several times longer on a step that is probably not even necessary:Quick PoC shows the action runs fine without any additional installs.
Success Criteria