diff --git a/local/build/BuildTemplate-CandidateInfoSheet.yml b/local/build/BuildTemplate-CandidateInfoSheet.yml new file mode 100644 index 0000000..cfcfabe --- /dev/null +++ b/local/build/BuildTemplate-CandidateInfoSheet.yml @@ -0,0 +1,14 @@ +title: "{{CandidateName}} Candidate Information Sheet" +titlepage: true +titlepage-logo: "{{CandidateLogo}}" +toc: true +toc-own-page: true +date: \today +header-left: "\\hspace{1cm}" +header-center: "\\leftmark" +header-right: "Page \\thepage" +footer-left: "{{CandidateName}}" +footer-center: "{{CandidateTagline}}" +footer-right: "[Source code]({{SourceCode}})" +urlcolor: {{URLCOLOR}} +page-background: "{{PAGEBACKGROUND}}" \ No newline at end of file diff --git a/local/build/BuildTemplate-ClientSubmission.yml b/local/build/BuildTemplate-ClientSubmission.yml new file mode 100644 index 0000000..901b4f4 --- /dev/null +++ b/local/build/BuildTemplate-ClientSubmission.yml @@ -0,0 +1,7 @@ +title: "{{CandidateName}} Resume" +header-left: "\\hspace{1cm}" +header-center: "\\leftmark" +header-right: "Page \\thepage" +footer-left: "{{CandidateName}}" +urlcolor: {{URLCOLOR}} +page-background: "{{PAGEBACKGROUND}}" \ No newline at end of file diff --git a/local/build/BuildTemplate-JobBoard.yml b/local/build/BuildTemplate-JobBoard.yml new file mode 100644 index 0000000..5448a5d --- /dev/null +++ b/local/build/BuildTemplate-JobBoard.yml @@ -0,0 +1,12 @@ +title: "{{CandidateName}} Resume" +titlepage: true +titlepage-logo: "{{CandidateLogo}}" +date: \today +header-left: "\\hspace{1cm}" +header-center: "\\leftmark" +header-right: "Page \\thepage" +footer-left: "{{CandidateName}}" +footer-center: "{{CandidateTagline}}" +footer-right: "[Source code]({{SourceCode}})" +urlcolor: {{URLCOLOR}} +page-background: "{{PAGEBACKGROUND}}" \ No newline at end of file diff --git a/local/build/build-resume.sh b/local/build/build-resume.sh index 43e9f65..9d9b2fd 100644 --- a/local/build/build-resume.sh +++ b/local/build/build-resume.sh @@ -62,4 +62,37 @@ export CandidateRateSheetRemote1099HourlyMinimum="\$56.78" export CandidateRateSheetRemoteW2HourlyPrefer="\$34.56" export CandidateRateSheetRemoteW2AnnualPrefer="\$321,987.00" -export CandidateRateSheetRemote1099HourlyPrefer="\$78.90" \ No newline at end of file +export CandidateRateSheetRemote1099HourlyPrefer="\$78.90" + +export PipelineClientWorkingDir="Full path to the client local directory" + +#################################################### +#DO NOT CHANGE ANYTHING BELOW THIS LINE +#################################################### + +################################################################## +# Setup globals for use by the build-pipeline-server.sh script +################################################################## + + +readonly MO_PATH="bash ../vendor/git.knownelement.com/ExternalVendorCode/mo/mo" +readonly BUILD_OUTPUT_DIR="$PipelineClientWorkingDir/build-output" +readonly BUILD_TEMP_DIR="$PipelineClientWorkingDir/build-temp" +readonly BUILDYAML_JOBBOARD="$BUILD_TEMP_DIR/JobBoard.yml" +readonly BUILDYAML_CLIENTSUBMISSION="$BUILD_TEMP_DIR/ClientSubmission.yml" +readonly BUILDYAML_CANDIDATEINFOSHEET="$BUILD_TEMP_DIR/CandidateInfoSheet.yml" + +CandidateInfoSheetMarkdownOutputFile="$BUILD_OUTPUT_DIR/CandidateInfoSheet.md" +CandidateInfoSheetPDFOutputFIle="$BUILD_OUTPUT_DIR/CandidateInfoSheet.pdf" + +JobBoardMarkdownOutputFile="$BUILD_OUTPUT_DIR/job-board/Resume.md" +JobBoardPDFOutputFile="$BUILD_OUTPUT_DIR/job-board/Resume.pdf" +JobBoardMSWordOutputFile="$BUILD_OUTPUT_DIR/job-board/Resume.doc" + +ClientSubmissionMarkdownOutputFile="$BUILD_OUTPUT_DIR/client-submission/Resume.md" +ClientSubmissionPDFOutputFile="$BUILD_OUTPUT_DIR/client-submission//Resume.pdf" +ClientSubmissionMSWordOutputFile="$BUILD_OUTPUT_DIR/client-submission/Resume.doc" + +# Call the build-pipeline-server in the vendored repository to produce output artifacts + +../vendor/git.knownelement.com/reachableceo/MarkdownResume-Pipeline/build/build-pipeline-server.sh