[Freifunk-Bonn] Jenkins Buildscripte

Allgemeine Mailingliste zum Freifunk Köln, Bonn und Umgebung freifunk-bonn at lists.kbu.freifunk.net
Mo Nov 12 06:51:17 CET 2018


Hi Felix,
für Bonn v2 z.B nutzen wir zwei build Umgebungen eine für fastd Targets die
andere für Wireguard Targets.
Gesetzt sind für beide Umgebungen folgende Häkchen:

Alte Builds verwerfen [image: Hilfe für: Alte Builds verwerfen]
<http://jenkins.ffkbu.de/view/FF-KBU-BNv2/job/ffkbu-bn-v2-stable-wireguard/configure#>
  Strategie: Log Rotation
Anzahl der Tage, die Builds aufbewahrt werden:
3

Source-Code-Management:
Git
Repository URL: https://github.com/freifunk-gluon/gluon.git

Branch Specifier: v2018.1.1


Der Unterschied ist dann nur die Trägerauswahl im Buildbefehl:

# Build fastd targets (flashspeicher < 8 MB)
rm -rf site/ || true
git clone https://github.com/ff-kbu/site-ffkbu-bonn-v2 -b gluon2018.1-fastd
site/
make update
make -j9 GLUON_TARGET=ar71xx-tiny GLUON_BRANCH=stable
make -j9 GLUON_TARGET=ramips-rt305x GLUON_BRANCH=stable
make manifest GLUON_BRANCH=stable GLUON_PRIORITY=1



# Build wireguard targets (flashspeicher >= 8 MB)
rm -rf site/ || true
git clone https://github.com/ff-kbu/site-ffkbu-bonn-v2 -b
gluon2018.1-wireguard site
make update
make -j9 GLUON_TARGET=ar71xx-generic GLUON_BRANCH=stable
make -j9 GLUON_TARGET=ar71xx-nand GLUON_BRANCH=stable
make -j9 GLUON_TARGET=brcm2708-bcm2708 GLUON_BRANCH=stable
make -j9 GLUON_TARGET=brcm2708-bcm2709 GLUON_BRANCH=stable
make -j9 GLUON_TARGET=ipq806x GLUON_BRANCH=stable
make -j9 GLUON_TARGET=mpc85xx-generic GLUON_BRANCH=stable
make -j9 GLUON_TARGET=ramips-mt7620 GLUON_BRANCH=stable
make -j9 GLUON_TARGET=ramips-mt7621 GLUON_BRANCH=stable
make -j9 GLUON_TARGET=ramips-mt7628 GLUON_BRANCH=stable
make -j9 GLUON_TARGET=sunxi GLUON_BRANCH=stable
make -j9 GLUON_TARGET=x86-generic GLUON_BRANCH=stable
make -j9 GLUON_TARGET=x86-geode GLUON_BRANCH=stable
make  -j9 GLUON_TARGET=x86-64 GLUON_BRANCH=stable
make manifest GLUON_BRANCH=stable GLUON_PRIORITY=1


LG,
Simon
simon.f.mueller at gmail.com

Am So., 11. Nov. 2018, 18:09 hat Allgemeine Mailingliste zum Freifunk Köln,
Bonn und Umgebung <freifunk-bonn at lists.kbu.freifunk.net> geschrieben:

> Hallo zusammen,
>
> ich versuche gerade für unsere Firmware ebenfalls eine Umgebung in
> Jenkins aufzubauen.
> Habt ihr die Möglichkeit eure Buildscripte zu teilen, sodass ich da
> vielleicht ein wenig Inspiration entnehmen kann?
>
> Danke!
>
> Grüße,
> Felix
> --
> _______________________________________________
> Freifunk-Bonn mailing list
> Freifunk-Bonn at lists.kbu.freifunk.net
> https://lists.kbu.freifunk.net/cgi-bin/mailman/listinfo/freifunk-bonn
>
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <http://lists.kbu.freifunk.net/pipermail/freifunk-bonn/attachments/20181112/9a12504c/attachment.htm>


Mehr Informationen über die Mailingliste Freifunk-Bonn