The idea is two have two publish jobs: one manual and one automatic
controlled via env variable.
The manual one should cover all special use cases that we were
considering before.
Changelog: None
Signed-off-by: Lluis Campos <lluis.campos@northern.tech>
The client is not being installed anymore in the pre-converted images,
so this version string baked in into the Artifact name is misleading.
Changelog: RPi pre-converted images: remove Mender client version from
Artifact name.
Signed-off-by: Lluis Campos <lluis.campos@northern.tech>
The temporary S3 bucket is not perfectly secure, because credentials
can be obtained by outsiders by submitting a malicious pull request,
and then later they can be used to manipulate objects while a
privileged pipeline is running (during a release). Fix this by
submitting a checksum file using the standard Gitlab artifact
mechanism, and check that what we uploaded in one job, is what we get
in the next one.
Changelog: None
Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
This is done for several reasons:
* The images do not contain the client anymore.
* We want to have the mender-convert version in the name, so that we
don't overwrite old, working images.
We also add the build variable `MENDER_CONVERT_PUBLISH_VERSION`, to
allow publishing of tagged mender-convert versions with small fixes on
top.
And finally, we introduce the `PUBLISH_MENDER_CONVERT` variable to
publish images from tags. Branches are always published, even without
this flag.
Changelog: None
Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
Their download link has been broken for more than a year and a half,
it's unlikely they are going to fix it.
Changelog: None
Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
Changelog: Support installing mender-configure addon. Not installed by
default, it can be configured using MENDER_ADDON_CONFIGURE_INSTALL and
MENDER_ADDON_CONFIGURE_VERSION variables.
Changelog: Set mender-configure version to master
Signed-off-by: Lluis Campos <lluis.campos@northern.tech>
This is done using [shfmt](https://github.com/mvdan/sh), with the following
settings:
* Bash syntax
* 4 spaces indentation
* Require indented switch statements
* Keep column alignment padding
* Allow binary operators to start on a new line
Changelog: None
Signed-off-by: Ole Petter <ole.orhagen@northern.tech>
This reverts commit 82f9f85fdb.
Seems like we are having issues with this image on RPi 4. Revert for now
and follow-up independently of the release.
Changelog: None
Signed-off-by: Lluis Campos <lluis.campos@northern.tech>
(cherry picked from commit 14f73330fe)
Extend the mechanism to override mender (client) version to also include
the new addon.
Changelog: None
Signed-off-by: Lluis Campos <lluis.campos@northern.tech>
The 'latest' tag is always pointing to the latest released Mender-client.
Therefore it is no longer necessary to update the client version on release.
Changelog: Package latest released Mender-client by default
Signed-off-by: Ole Petter <ole.orhagen@northern.tech>
This new keyword of GitLab allows for jobs in further stages start as
soon as their dependencies are done.
This should speed-up this pipeline, starting most of the acceptance
testing without finishing to the raspberrypi conversions.
Changelog: None
Signed-off-by: Lluis Campos <lluis.campos@northern.tech>
This commit adds all necessary bits to be able to execute runtime tests
for mender-convert'ed QEMU x86_64 image. Namely:
* Install SSH key as an authorized one on the device using an overlay,
and pass the private one to be use by the test framework.
* Create a QEMU launcher wrapper, similar to the one in meta-mender, for
the test framework to use in order to start/stop the virtual device.
* Exclude the test_update tests for all configurations but Ubuntu QEMU
one using a pytest filter 'not test_upate'.
* Copy from meta-mender the keys required for test_signed_updates.
* Install mender-artifact in CI to be used in tests.
Changelog: None
Signed-off-by: Lluis Campos <lluis.campos@northern.tech>
Remove all the logic for the special handling of this submodule, and
treat it instead a regular Git submodule.
This commit updates the submodule to latest, removes the --no-pull
functionality, and removes the ignore of the submodule to make
developers aware
To ease maintenance, add also dependabot to pay attention to the future
updates of the submodule.
Changelog: None
Signed-off-by: Lluis Campos <lluis.campos@northern.tech>
The publishing variables have no prefix, and the tmp storage ones have
a TMP_STORAGE prefix, so adapt to that.
Changelog: None
Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
This is a bit unfortunate, but our converted image does not work for
all of them, like the original.
Changelog: Title
Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>