From 6578edd230ad35100e9cbbc34141ed8807487bed Mon Sep 17 00:00:00 2001 From: ReachableCEO Date: Mon, 9 Dec 2024 12:15:58 -0600 Subject: [PATCH] coming together nicely --- build-output/ignore-this-dir | 1 + build-temp/ignore-this-dir | 1 + ...wnResume-TemplateInfo-EndClientVersion.yml | 8 +++--- .../MarkdownResume-TemplateInfo-JobBoard.yml | 14 +++++----- build/ResumeSpecificVariables.env | 6 ++++ build/build-all.sh | 28 +++++++++++++++++++ 6 files changed, 47 insertions(+), 11 deletions(-) create mode 100644 build-output/ignore-this-dir create mode 100644 build-temp/ignore-this-dir create mode 100644 build/ResumeSpecificVariables.env create mode 100644 build/build-all.sh diff --git a/build-output/ignore-this-dir b/build-output/ignore-this-dir new file mode 100644 index 0000000..e62add6 --- /dev/null +++ b/build-output/ignore-this-dir @@ -0,0 +1 @@ +Working directory for the pipeline. Don't use. \ No newline at end of file diff --git a/build-temp/ignore-this-dir b/build-temp/ignore-this-dir new file mode 100644 index 0000000..e62add6 --- /dev/null +++ b/build-temp/ignore-this-dir @@ -0,0 +1 @@ +Working directory for the pipeline. Don't use. \ No newline at end of file diff --git a/build/MarkdownResume-TemplateInfo-EndClientVersion.yml b/build/MarkdownResume-TemplateInfo-EndClientVersion.yml index d9bcaeb..901b4f4 100644 --- a/build/MarkdownResume-TemplateInfo-EndClientVersion.yml +++ b/build/MarkdownResume-TemplateInfo-EndClientVersion.yml @@ -1,7 +1,7 @@ -title: "{{Candidate Name}} Resume" +title: "{{CandidateName}} Resume" header-left: "\\hspace{1cm}" header-center: "\\leftmark" header-right: "Page \\thepage" -footer-left: "{{Candidate Name}}" -urlcolor: blue -page-background: "D:/tsys/@ReachableCEO/ExternalVendorCode/pandoc-latex-template/examples/page-background/backgrounds/background5.pdf" \ No newline at end of file +footer-left: "{{CandidateName}}" +urlcolor: {{URLCOLOR}} +page-background: "{{PAGEBACKGROUND}}" \ No newline at end of file diff --git a/build/MarkdownResume-TemplateInfo-JobBoard.yml b/build/MarkdownResume-TemplateInfo-JobBoard.yml index d2f5b73..f6b2d5c 100644 --- a/build/MarkdownResume-TemplateInfo-JobBoard.yml +++ b/build/MarkdownResume-TemplateInfo-JobBoard.yml @@ -1,12 +1,12 @@ -title: "Charles N Wyble Resume" +title: "{{CandidateName}} Resume" titlepage: true -titlepage-logo: "D:/tsys/@ReachableCEO/ReachableCEO.png" +titlepage-logo: "{{CandidateLogo}}" date: \today header-left: "\\hspace{1cm}" header-center: "\\leftmark" header-right: "Page \\thepage" -footer-left: "Charles N Wyble" -footer-center: "Tenacity. Velocity. Focus." -footer-right: "[Source code for this resume](https://git.knownelement.com/reachableceo/ReachableCEOResume) " -urlcolor: blue -page-background: "D:/tsys/@ReachableCEO/ExternalVendorCode/pandoc-latex-template/examples/page-background/backgrounds/background5.pdf" \ No newline at end of file +footer-left: "{{CandidateName}}" +footer-center: "{{CandidateTagline}}" +footer-right: "[Source code for this resume]({{ResumeSourceCode}}" +urlcolor: {{URLCOLOR}} +page-background: "{{PAGEBACKGROUND}}" \ No newline at end of file diff --git a/build/ResumeSpecificVariables.env b/build/ResumeSpecificVariables.env new file mode 100644 index 0000000..6353e5b --- /dev/null +++ b/build/ResumeSpecificVariables.env @@ -0,0 +1,6 @@ +CandidateName +CandidateLogo +CandidateTagline +ResumeSourceCode +URLCOLOR +PAGEBACKGROUND \ No newline at end of file diff --git a/build/build-all.sh b/build/build-all.sh new file mode 100644 index 0000000..683eb44 --- /dev/null +++ b/build/build-all.sh @@ -0,0 +1,28 @@ +#!/bin/bash + + +#Read in candidate specific variables + +source ./ResumeVarialbes.env + +############################################# +# Setup globals +############################################# +export BUILD_TEMP_DIR="../build-temp" +export BUILD_OUTPUT_DIR="../build-output" +export BuildYamlJobBoard="$BUILD_TEMP_DIR/BuildJobBoard.yml" +export BuildYamlClientSubmission="$BUILD_TEMP_DIR/BuildClientSubmision.yml" + +export CandidateName=$CandidateName +export CandidateLogo=$CandidateLogo +export CandidateTagline=$CandidateTagline +export ResumeSourceCode=$ResumeSourceCode +export URLCOLOR=$URLCOLOR +export PAGEBACKGROUND=$PAGEBACKGROUND + +# Expand the variables into the rendered YAML files for use by the build process + +./mo MarkdownResume-BuildTemplateInput-ClientSubmission.yml > $BuildYamlClientSubmission +./mo MarkdownResume-BuildTemplateInput-JobBoard.yml > $BuildYamlJobBoard + +