Commit fea2ac48 authored by Martin Peres's avatar Martin Peres
Browse files

gitlab-ci: store the generated initramfs as an artifact

parent a8d45f66
Pipeline #288615 canceled with stages
in 2 minutes and 6 seconds
......@@ -45,9 +45,13 @@ tests:
variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
artifacts:
paths:
- releases/
script:
- apk add --no-cache make bash xz curl
- apk add --no-cache make bash xz curl jq
- make out/initramfs.linux_amd64.cpio.xz
- curl -L -o out/kernel https://gitlab.freedesktop.org/mupuf/boot2container/-/releases/v0.6/downloads/bzImage
- make KERNEL=$PWD/out/kernel test
- make clean
- if [[ "$CI_COMMIT_BRANCH" == "master" ]]; then mkdir -p releases/HEAD/; mv out/*.cpio.xz releases/HEAD/; fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment