Advertisement
Guest User

Untitled

a guest
Nov 18th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. image: ubuntu:16.04
  2.  
  3. variables:
  4. RASPBIAN_IMG: "$CI_JOB_ID-raspbian.img"
  5.  
  6. cache:
  7. paths:
  8. - images
  9.  
  10. before_script:
  11. - pwd
  12. - ls -all
  13. - 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
  14. - curl -O https://raw.githubusercontent.com/kfowlks/pi-oven/master/oven
  15. - install oven /usr/bin
  16. - curl -O https://raw.githubusercontent.com/kfowlks/pi-oven/master/qemu-arm-static
  17. - install qemu-arm-static /usr/bin
  18. - unzip -n images/2017-09-07-raspbian-stretch-lite.zip -d images
  19.  
  20. stages:
  21. - build
  22.  
  23. job1:
  24. stage: build
  25. 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