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.

113 lines
3.3 KiB

variables:
GIT_SUBMODULE_STRATEGY: recursive
stages:
- build
build-pdf-introduction-aux-conteneurs:
stage: build
image:
name: astefanutti/decktape:2.11.0
entrypoint: [""]
only:
- schedules
tags:
- sii
- france
script:
#
# 1. We change the size with --size due to a strange rendering bug
# as 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 as described here:
# https://github.com/astefanutti/decktape/issues/157
#
- node /decktape/decktape.js --chrome-path chromium-browser --chrome-arg=--no-sandbox --chrome-arg=--disable-web-security --size='1576x1182' 1.introduction-aux-conteneurs/index.html docker.introduction-aux-conteneurs.pdf
artifacts:
name: introduction-aux-conteneurs
expire_in: 8 days
paths:
- docker.introduction-aux-conteneurs.pdf
build-pdf-images-de-conteneurs:
stage: build
image:
name: astefanutti/decktape:2.11.0
entrypoint: [""]
only:
- schedules
tags:
- sii
- france
script:
#
# 1. We change the size with --size due to a strange rendering bug
# as 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 as described here:
# https://github.com/astefanutti/decktape/issues/157
#
- node /decktape/decktape.js --chrome-path chromium-browser --chrome-arg=--no-sandbox --chrome-arg=--disable-web-security --size='1576x1182' 2.images-de-conteneurs/index.html docker.images-de-conteneurs.pdf
artifacts:
name: images-de-conteneurs
expire_in: 8 days
paths:
- docker.images-de-conteneurs.pdf
build-pdf-conteneurs-utilisation-avancee:
stage: build
image:
name: astefanutti/decktape:2.11.0
entrypoint: [""]
only:
- schedules
tags:
- sii
- france
script:
#
# 1. We change the size with --size due to a strange rendering bug
# as 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 as described here:
# https://github.com/astefanutti/decktape/issues/157
#
- node /decktape/decktape.js --chrome-path chromium-browser --chrome-arg=--no-sandbox --chrome-arg=--disable-web-security --size='1576x1182' 3.conteneurs-utilisation-avancee/index.html docker.conteneurs-utilisation-avancee.pdf
artifacts:
name: conteneurs-utilisation-avancee
expire_in: 8 days
paths:
- docker.conteneurs-utilisation-avancee.pdf
build-pdf-swarm:
stage: build
image:
name: astefanutti/decktape:2.11.0
entrypoint: [""]
only:
- schedules
tags:
- sii
- france
script:
#
# 1. We change the size with --size due to a strange rendering bug
# as 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 as described here:
# https://github.com/astefanutti/decktape/issues/157
#
- node /decktape/decktape.js --chrome-path chromium-browser --chrome-arg=--no-sandbox --chrome-arg=--disable-web-security --size='1576x1182' 5.swarm/index.html docker.swarm.pdf
artifacts:
name: swarm
expire_in: 8 days
paths:
- docker.swarm.pdf