Commit Graph

29 Commits (5abb712cb32905dff767c0d8d99fa574fa525b01)

Author SHA1 Message Date
Paul Spooren 5abb712cb3 Update CI badge after move to gitlab.com
The former test instance of fe80.eu is no longer used, instead the
gitlab.com server run the scripts.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-10-11 11:08:50 -10:00
Paul Spooren 2db99b240b introduce gen-targets.sh script
This improves readability as it auto generates the target list.
2019-10-02 20:46:24 -10:00
Paul Spooren 7d1ad316b6 Dockerfile: install rsync
Some packages need rsync to be installed on the host.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-09-19 11:12:03 -10:00
Paul Spooren 133f2ad712 split TARGETS in stacks of 10
ImageBuilder/SDKs are build for each target + master & 19.07-snapshot
branch. This is to much for most CI runners, this separates the job and
also allows running it in parrallel if more workers are available.

Also add PGP key for 19.07 release builds.

Introduce $CI_COMMIT_REF_SLUG for testing.

Introduce $SKIP_ROOTFS for older builds not supporting docker images.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-09-19 11:11:36 -10:00
Paul Spooren 35daea4a9a Update README with new available branches
Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-08-18 20:17:39 -10:00
Paul Spooren c8beb1bdf8 add sudo/curl to ImageBuilder/SDK
Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-08-17 13:09:48 -10:00
Paul Spooren 19285e351d use GNUHOME to use ./gpg
This prevents mixing of keys when running the scripts locally for
testing, the same is done for the using keys.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-08-16 16:21:01 -10:00
Paul Spooren ee1c7dad1b docker-common: remove login as it's done by CI
This makes more sense as local users wouldn't use this function anyway.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-08-14 14:58:05 -10:00
Paul Spooren 86a90d8755 fixup: remove further outdated targets
* gemini/raidsonic
* gemini/wiligear
* malta/be64
* malta/le
* malta/le64
* mediatek/32

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-08-07 18:42:29 -10:00
Paul Spooren c636775737 fixup: support other branches for rootfs
Initially the rootfs would only support snapshot builds as the stable
18.06.x wouldn't support Docker due to procd limitations. This was fixed
and therefore 19.07.x should also be supported.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-08-08 03:00:38 +02:00
Paul Spooren 816805813f fixup: remove outdated targets
Some targets still exists online, but were lastly updated late may.

* adm5120
* adm8668
* au1000
* mcs814x
* xburst

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-08-08 03:00:28 +02:00
Paul Spooren 35d0ebb47a fixup: rootfs uses a different Dockerfile
ImagBuilder and SDK use a different Dockerfile than the rootfs, this was
missed while refactoring for GitLab.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-08-08 02:41:16 +02:00
Paul Spooren ca0a3d6d23 fixup: remove target ppc44x/generic
This target doen't seem to be build anymore:

lede-imagebuilder-ppc44x.Linux-x86_64.tar.xz
lede-ppc44x-canyonlands-squashfs.img
lede-ppc44x-default.manifest
lede-ppc44x-taishan-squashfs.img
lede-ppc44x-uImage
lede-sdk-ppc44x_gcc-5.4.0_musl-1.1.15.Linux-x86_64.tar.xz

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-08-08 02:26:09 +02:00
Paul Spooren 3e6f6e89c9 CI: add gitlab-ci.yml config file
Eventually this CI could move to GitLab, so start with some testing.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-08-08 02:15:20 +02:00
Zaoqi 9acb62027d Dockerfile: add "rm -rf /var/lib/apt/lists/*" 2019-08-04 21:09:49 +02:00
Paul Spooren 35cefd1f4f refactor: unify sdk and imagebuilder
both setups are similar enough to be unified.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-08-03 00:37:32 +02:00
Paul Spooren bc75894ddc fixup: install signify-openbsd
While the pull requests already did so, the regular containers lacked
the signify-openbsd tool.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-08-01 10:11:22 +02:00
Paul Spooren cdf2ada5e3 refactor to common/download/upload scripts
docker-download.sh - Downloads FILE_DOWNLOAD from FILE_HOST and verifies

docker-upload.sh - Uploads the created docker images to docker.io

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-08-01 09:11:32 +02:00
Paul Spooren a7fbe478dd CI: add pull request test
this builds rootfs/sdk/imagebuilder containers for every PR.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-08-01 02:07:52 +02:00
Paul Spooren 11a7d8a0b7 Dockerfile: install python3
Python3 is now a requirement for the buildroot and must therefore exist
in the sdk/imagebuilder containers.

Also sorted the package list and added myself as maintainer.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-07-31 20:19:14 +02:00
Paul Spooren 0ae0341d0d fixup: malta-le6 to malta-le64
The malta/le64 target was badly copied.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-07-13 22:32:14 +02:00
Paul Spooren 9915cb29b9 fixup: remove braces on wildcard file names
This was done to make shellcheck happy, however resulted in broken
images.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-07-13 10:59:25 +02:00
Paul Spooren 29e08aee3d Apply shellcheck recommendations
Just for good style.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-07-10 14:14:20 +02:00
Paul Spooren 86cd759cf0 Tag docker images with latest if x86-64/master
This way one can run openwrtorg/rootfs instead of
openwrtorg/rootfs:x86-64. This makes sense as it's the most common use
case.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-07-10 14:01:49 +02:00
Lucas Ramage 8275c01e4d Add badges 2019-07-10 12:13:43 +02:00
Lucas Ramage 0f4daf76fc Add a copy of the license 2019-07-10 12:12:27 +02:00
Paul Spooren 263f067e56 README: fixup absolute path
docker -v does not support relative paths

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-07-09 18:09:31 +02:00
Paul Spooren d401663f00 README: fix typo
Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-07-09 14:48:11 +02:00
Paul Spooren bcff431098 init
Initial push to use openwrtorg. Generatres rootfs, sdk and imagebuilder
for now.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-07-09 14:42:14 +02:00