WIP: Chapter 5 monitoring deployment and measured recovery evidence #4

Draft
sespinal wants to merge 26 commits from chapter5-sre-monitoring into main
Showing only changes of commit 7c1ec7b7bf - Show all commits
+6 -1
View File
@@ -2,13 +2,14 @@
# The runner label must match the registered self-managed Gitea runner.
name: manual-pdf
on:
push:
branches:
- main
- chapter3-failure-test
- chapter5-sre-monitoring
workflow_dispatch:
workflow_dispatch:
jobs:
build-manual:
@@ -17,6 +18,7 @@ jobs:
- name: Check out source
uses: actions/checkout@v4
- name: Generate build metadata
shell: cmd
run: |
@@ -29,6 +31,7 @@ jobs:
echo \renewcommand{\WorkflowRunNumber}{%GITHUB_RUN_NUMBER%}>> devopsBuildMetadata.tex
echo \renewcommand{\WorkflowRunAttempt}{%GITHUB_RUN_ATTEMPT%}>> devopsBuildMetadata.tex
- name: Compile manual
shell: cmd
run: |
@@ -36,9 +39,11 @@ jobs:
if not exist devopsAssignment.pdf exit /b 1
for %%A in (devopsAssignment.pdf) do if %%~zA LEQ 0 exit /b 1
- name: Upload compiled PDF
uses: actions/upload-artifact@v3
with:
name: devops-it-manual-${{ github.run_number }}-${{ github.sha }}
path: devopsAssignment.pdf
retention-days: 14