Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- image: ubuntu:16.04
- variables:
- RASPBIAN_IMG: "$CI_JOB_ID-raspbian.img"
- cache:
- paths:
- - images
- before_script:
- - pwd
- - ls -all
- - apt-get update -qq && apt-get install -y -qq systemd wget curl unzip kpartx parted gnu-fdisk dosfstools systemd-container qemu-user-static binfmt-support
- - curl -O https://raw.githubusercontent.com/kfowlks/pi-oven/master/oven
- - install oven /usr/bin
- - curl -O https://raw.githubusercontent.com/kfowlks/pi-oven/master/qemu-arm-static
- - install qemu-arm-static /usr/bin
- - unzip -n images/2017-09-07-raspbian-stretch-lite.zip -d images
- stages:
- - build
- job1:
- stage: build
- script: oven -r 1000 -s installer/stock_raspbian/scripts/test.sh images/2017-09-07-raspbian-stretch-lite.img 2017-09-07-raspbian-stretch-lite-$CI_JOB_ID-baked.img
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement