Update "MarkdownResume-Pipeline" from "https://git.knownelement.com/reachableceo/MarkdownResume-Pipeline.git@main"
git-vendor-name: MarkdownResume-Pipeline git-vendor-dir: vendor/git.knownelement.com/reachableceo/MarkdownResume-Pipeline git-vendor-repository: https://git.knownelement.com/reachableceo/MarkdownResume-Pipeline.git git-vendor-ref: main
This commit is contained in:
		| @@ -1,32 +1,5 @@ | |||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
|  |  | ||||||
|  |  | ||||||
| #################################################### |  | ||||||
| #DO NOT CHANGE ANYTHING BELOW THIS LINE |  | ||||||
| #################################################### |  | ||||||
|  |  | ||||||
| ############################################################ |  | ||||||
| # Setup globals |  | ||||||
| ############################################################ |  | ||||||
|  |  | ||||||
| readonly MO_PATH="bash ../vendor/git.knownelement.com/ExternalVendorCode/mo/mo" |  | ||||||
| readonly BUILD_OUTPUT_DIR="../build-output" |  | ||||||
| readonly BUILD_TEMP_DIR="../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" |  | ||||||
|  |  | ||||||
| echo "Cleaning up from previous runs..." | echo "Cleaning up from previous runs..." | ||||||
|  |  | ||||||
| rm $BUILDYAML_CANDIDATEINFOSHEET | rm $BUILDYAML_CANDIDATEINFOSHEET | ||||||
| @@ -45,18 +18,18 @@ rm $ClientSubmissionMSWordOutputFile | |||||||
|  |  | ||||||
| # Expand variables into rendered YAML files. These will be used by pandoc to create the output artifacts | # Expand variables into rendered YAML files. These will be used by pandoc to create the output artifacts | ||||||
|  |  | ||||||
| $MO_PATH ./BuildTemplate-CandidateInfoSheet.yml > $BUILDYAML_CANDIDATEINFOSHEET | $MO_PATH $(PipelineClientWorkingDir)/build/BuildTemplate-CandidateInfoSheet.yml > $BUILDYAML_CANDIDATEINFOSHEET | ||||||
| $MO_PATH ./BuildTemplate-JobBoard.yml > $BUILDYAML_JOBBOARD | $MO_PATH $(PipelineClientWorkingDir)/build/BuildTemplate-JobBoard.yml > $BUILDYAML_JOBBOARD | ||||||
| $MO_PATH ./BuildTemplate-ClientSubmission.yml > $BUILDYAML_CLIENTSUBMISSION | $MO_PATH $(PipelineClientWorkingDir)/build/BuildTemplate-ClientSubmission.yml > $BUILDYAML_CLIENTSUBMISSION | ||||||
|  |  | ||||||
| echo "Creating candidate info sheet..." | echo "Creating candidate info sheet..." | ||||||
|  |  | ||||||
| $MO_PATH ../Templates/CandidateInfoSheet/CandidateInfoSheet.md > $CandidateInfoSheetMarkdownOutputFile | $MO_PATH $(WorkingDirBase)../Templates/CandidateInfoSheet/CandidateInfoSheet.md > $CandidateInfoSheetMarkdownOutputFile | ||||||
|  |  | ||||||
| pandoc \ | pandoc \ | ||||||
| "$CandidateInfoSheetMarkdownOutputFile" \ | "$CandidateInfoSheetMarkdownOutputFile" \ | ||||||
| --template eisvogel \ | --template eisvogel \ | ||||||
| --metadata-file="../build-temp/CandidateInfoSheet.yml" \ | --metadata-file="$(WorkingDirBase)../build-temp/CandidateInfoSheet.yml" \ | ||||||
| --from markdown \ | --from markdown \ | ||||||
| --to=pdf \ | --to=pdf \ | ||||||
| --output $CandidateInfoSheetPDFOutputFIle | --output $CandidateInfoSheetPDFOutputFIle | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user