Recent backports which have been merged too early, broke the CW3 build.
A MT7987 based-target will be added later instead.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Add version suffix "eval" to "eval" builds to clearly distinguish them
from vanilla non-eval builds.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
SKIP_TEST is set globally to false, but set to true everywhere else
overriding the global definition. Instead, change the global definition
to be false and remove the individual definitions.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Do not enable --cache-copy-layers to enable the use of
multi-stage container image builds.
It is not entirely clear whether --cache-copy-layers brings much of a
benefit and when enabled, kaniko does not support multi-stage container
image builds.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Run the container build on merge requests. Until there is a solution for
cleaning up container images from MRs, do not push the resulting images
anywhere for now. This change at least enables verification of any
Dockerfile changes when submitting an MR.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Quoting https://docs.gitlab.com/runner/configuration/feature-flags.html:
> When enabled, each script line from the .gitlab-ci.yml file is in a
> collapsible section in the job output, and shows the duration of each
> line. When the command spans multiple lines, the complete command is
> displayed within the job log output terminal.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Prepare for future changes by changing variable names and formatting
slightly and add additional logging.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Recent changes have split feeds.conf into several files. Previouly
continous builds had been triggered only on changes to feeds.conf. While
triggering on the new files only would be an option it does not make
sense to limit CI runs to feeds-changes only, because the changes to
other files (normal OpenWrt files, iop script, Dockerfile,
.gitlab-ci-yml) have the same or an even bigger likelihood of breaking
the build.
Trigger the build on all changes instead.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
CI_COMMMIT_REF_PROTECTED is "false" on non-protected refs.
Slug would replace minuses and dots with underscores, not what we want. Branch/tag names we use for protected refs
work fine as container image tags.