Infrastructure Automation
HOGENT applied
computer science
Bert Van Vreckem & Thomas Parmentier
2024-2025
Read more: Rapid release at massive scale
This slide deck was built on Github Actions & deployed to Github Pages!
.github/workflows/workflow-name.yml
https://github.com/HoGentTIN/infra-slides/blob/main/.github/workflows/compile.yml
---
name: compile
on:
push:
branches:
- main
jobs:
convert_via_pandoc:
runs-on: ubuntu-18.04
steps:
- name: Configure Git for Github
run: |
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-pandoc@v1
with:
pandoc-version: '2.9'
- name: Publish Site
env:
REPOSITORY: "https://${{ secrets.GITHUB_PAT }}@github.com/${{ github.repository }}.git"
run: ./publish.sh
https://github.com/bertvv/ansible-role-bind/blob/master/.github/workflows/ci.yml
bertvv.bind
$ cd dockerlab
$ vagrant up
$ vagrant ssh
Follow the steps in the assignment https://github.com/HoGentTIN/infra-labs/blob/main/assignment/2-cicd.md
Jenkins UI resides at http://192.168.56.20:8080/