freifunkMUC / site-ffm

Freifunk München specific Gluon configuration
16 stars 32 forks source link

Use official Gluon Docker containers for building #326

Open grische opened 11 months ago

grische commented 11 months ago

There are a set of official docker containers for Gluon building: https://github.com/freifunk-gluon/gluon/pkgs/container/gluon-build

We are doing something similar already and should deprecate ours in favour of the upstream version: https://github.com/freifunkMUC/site-ffm/blob/stable/Dockerfile_build

Additionally, we should use either jobs.<job_id>.container to use the container directly, or simply do a docker run like described in the README.md

docker run --rm -v $(pwd):/site-ffm:ro -v $(pwd)/gluon-build:/site-ffm/gluon-build:rw -v $(pwd)/output:/site-ffm/output:rw -w /site-ffm -u $UID site-ffm-stable make V=s GLUON_TARGETS=lantiq-xrx200 |& tee logs/build_lantiq-xrx200_$(date --iso=s).log
T0biii commented 7 months ago

I tried to use the upstream Docker Version. for one Target it works just fine: https://github.com/T0biii/site-ffm/actions/runs/8561992224 But with all targets it failes because of Storage https://github.com/T0biii/site-ffm/actions/runs/8550385054

grische commented 5 months ago

I also didn't get it to work. On my side, it fails for the checkout already: https://github.com/grische/site-ffm/actions/runs/9419823786/job/25950503438

T0biii commented 5 months ago

I also didn't get it to work. On my side, it fails for the checkout already: grische/site-ffm/actions/runs/9419823786/job/25950503438

wierd error tbh