Browse Source

[pipeline] Install Update Modules Artifact generator for tests

Required for the new tests in mender-image-tests submodule

Changelog: None

Signed-off-by: Lluis Campos <lluis.campos@northern.tech>
2.5.x
Lluis Campos 4 years ago
parent
commit
1caf9e8eb8
  1. 12
      .gitlab-ci.yml

12
.gitlab-ci.yml

@ -180,6 +180,18 @@ convert_raspbian_raspberrypi4:
- curl -f -O https://mender.s3.amazonaws.com/mender-artifact/$MENDER_ARTIFACT_VERSION/linux/mender-artifact
- chmod ugo+x mender-artifact
- mv mender-artifact /usr/bin/
# Get Update Modules Artifact generators for the tests
- if [ "${MENDER_CLIENT_VERSION}" = "latest" ]; then
- mender_version=master
- else
- mender_version="${MENDER_CLIENT_VERSION}"
- fi
- curl -f -O https://raw.githubusercontent.com/mendersoftware/mender/${mender_version}/support/modules-artifact-gen/directory-artifact-gen
- chmod ugo+x directory-artifact-gen
- mv directory-artifact-gen /usr/bin/
- curl -f -O https://raw.githubusercontent.com/mendersoftware/mender/${mender_version}/support/modules-artifact-gen/single-file-artifact-gen
- chmod ugo+x single-file-artifact-gen
- mv single-file-artifact-gen /usr/bin/
artifacts:
expire_in: 2w
when: always

Loading…
Cancel
Save