We've already target specified in the CI job name, so just use this
value for TARGET variable instead of duplicating the same value.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
That check is currently failing due to different x86 image generation
code refactoring which changed naming of resulting images so they're now
different in master squashfs-combined Vs combined-squashfs in 19.07.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
That check is currently failing due to x86 image generation code
refactoring which changed naming of resulting images.
ls: cannot access './bin/targets/x86/64/*combined-squashfs.img.gz': No such file or directory
Fixes#48
Signed-off-by: Petr Štetiar <ynezz@true.cz>
This was added to packages.git CI before[0].
Use -c instead of --check as alpine does not support to longer version.
[0]: eb5a9990ed
Signed-off-by: Paul Spooren <mail@aparcar.org>
This was removed during debugging and accidently forgotten to readd. It
fails to pass if no Docker credentials are given, which would be always
the case except on openwrtorg/master. In the future a test docker hub
account should be used instead of disabling it.
Fixes: 475f2f1a97
Signed-off-by: Paul Spooren <mail@aparcar.org>
to make shellcheck happy we can no longer use glob, so now the script
use find to get the actual filename.
Signed-off-by: Paul Spooren <mail@aparcar.org>
previously multiple targets were combined in a single job so failing
targets should not stop others from being deployed. However as there are
now single builds per target this is no longer required.
Signed-off-by: Paul Spooren <mail@aparcar.org>
In ./docker-download.sh:
SC2086: Double quote to prevent globbing and word splitting.
SC2086: Double quote to prevent globbing and word splitting.
SC2086: Double quote to prevent globbing and word splitting.
In ./gen-targets.sh:
SC2188: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
SC2027: The surrounding quotes actually unquote this. Remove or escape them.
SC2086: Double quote to prevent globbing and word splitting.
SC2188: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
SC2027: The surrounding quotes actually unquote this. Remove or escape them.
SC2086: Double quote to prevent globbing and word splitting.
SC2027: The surrounding quotes actually unquote this. Remove or escape them.
SC2086: Double quote to prevent globbing and word splitting.
In ./docker-imagebuilder.sh:
SC2155: Declare and assign separately to avoid masking return values.
SC2086: Double quote to prevent globbing and word splitting.
SC2155: Declare and assign separately to avoid masking return values.
SC2086: Double quote to prevent globbing and word splitting.
SC2105: continue is only valid in loops.
In ./docker-rootfs.sh:
SC2039: In POSIX sh, == in place of = is undefined.
SC2155: Declare and assign separately to avoid masking return values.
SC2086: Double quote to prevent globbing and word splitting.
SC2155: Declare and assign separately to avoid masking return values.
SC2086: Double quote to prevent globbing and word splitting.
SC2105: continue is only valid in loops.
In ./docker-sdk.sh line:
SC2155: Declare and assign separately to avoid masking return values.
SC2086: Double quote to prevent globbing and word splitting.
SC2155: Declare and assign separately to avoid masking return values.
SC2086: Double quote to prevent globbing and word splitting.
SC2105: continue is only valid in loops.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
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>
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>
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>
Some targets still exists online, but were lastly updated late may.
* adm5120
* adm8668
* au1000
* mcs814x
* xburst
Signed-off-by: Paul Spooren <mail@aparcar.org>
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>
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>
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>
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>
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>