Resources attached to the Road To DevOps tutorial https://blog.noobtoroot.xyz/road-to-devops/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

29 lines
729 B

variables:
GIT_SUBMODULE_STRATEGY: recursive
stages:
- build
make-pdf:
stage: build
image:
name: astefanutti/decktape:2.11.0
entrypoint: [""]
tags:
- france
- sii
script:
#
# 1. We change the size with --size due to a strange rendering bug
# decribed here: https://github.com/astefanutti/decktape/issues/151
#
# 2. We also specify --chrome-arg=--disable-web-security to autorize
# Cross origin requests in chrome
#
- node /decktape/decktape.js --chrome-path chromium-browser --chrome-arg=--no-sandbox --chrome-arg=--disable-web-security --size='1576x1182' index.html ansible-formation.pdf
artifacts:
name: ansible.pdf
expire_in: 3 month
paths:
- ansible-formation.pdf