Browse Source
ci: handle the new raspbian image's xz compression format
Signed-off-by: Ole Petter <ole.orhagen@northern.tech>
pr_475
Ole Petter
2 years ago
No known key found for this signature in database
GPG Key ID: 399DBE0F4D4B02EB
1 changed files with
2 additions and
2 deletions
-
.gitlab-ci.yml
|
|
@ -102,7 +102,7 @@ build: |
|
|
|
tags: |
|
|
|
- mender-qa-slave |
|
|
|
before_script: |
|
|
|
- apt update && apt install -yy bash wget unzip awscli docker.io curl |
|
|
|
- apt update && apt install -yy bash wget xz-utils awscli docker.io curl |
|
|
|
|
|
|
|
- export IMAGE_NAME=$DOCKER_REPOSITORY:pr |
|
|
|
- docker load -i image.tar |
|
|
@ -110,7 +110,7 @@ build: |
|
|
|
- mkdir -p input |
|
|
|
- cd input |
|
|
|
- wget -q ${RASPBIAN_URL} |
|
|
|
- unzip ${RASPBIAN_NAME}.zip |
|
|
|
- unxz ${RASPBIAN_NAME}.xz |
|
|
|
- cd .. |
|
|
|
|
|
|
|
- eval "$(curl https://raw.githubusercontent.com/mendersoftware/mendertesting/master/mender-ci-common.sh)" |
|
|
|