From 891928f1b6e42061f3bc6b601b684b6c8ee236fb Mon Sep 17 00:00:00 2001 From: Charles N Wyble Date: Tue, 17 Dec 2024 11:55:38 -0600 Subject: [PATCH] a few more variables and DRY fixes --- local/build/CandidateVariables.env | 30 +++++++++++++++++++++++++----- local/build/build-resume.sh | 16 +--------------- 2 files changed, 26 insertions(+), 20 deletions(-) diff --git a/local/build/CandidateVariables.env b/local/build/CandidateVariables.env index 474b8ff..d129138 100644 --- a/local/build/CandidateVariables.env +++ b/local/build/CandidateVariables.env @@ -1,6 +1,6 @@ ############################################################################# #SET THIS OR NOTHING WILL WORK -export PipelineClientWorkingDir="D:/tsys/@ReachableCEO/ReachableCEOResume/local" +export PipelineClientWorkingDir="D:/tsys/ReachableCEOPublic/MarketingMaterials/backend/ReachableCEO-Profile-FTE/local" #SET THIS OR NOTHING WILL WORK ############################################################################# @@ -31,8 +31,8 @@ export CandidateTagline="Tenacity. Velocity. Focus." # Formatting options ######################## -export CandidateLogo="D:/tsys/@ReachableCEO/ReachableCEO.png" -export SourceCode="https://git.knownelement.com/reachableceo/ReachableCEOResume" +export CandidateLogo="D:/tsys/ReachableCEOPublic/ReachableCEO.png" +export SourceCode="https://git.knownelement.com/reachableceo/ReachableCEO-Profile-FullTimeEmployment" export URLCOLOR="blue" export PAGEBACKGROUND="$PipelineClientWorkingDir/build/background5.pdf" export PANDOC_TEMPLATE="eisvogel" @@ -71,7 +71,7 @@ export CandidateTotalExperience="22 years" #Compensation targets ######################## -export CandidateRelocationNetMinimumAmount="5,000.00" +export CandidateRelocationNetMinimumAmount="\$5000.00" export CandidateRateSheetRemoteW2HourlyMinimum="\$60.00" export CandidateRateSheetRemoteW2AnnualMinimum="\$120,000.00" @@ -79,4 +79,24 @@ export CandidateRateSheetRemote1099HourlyMinimum="\$75.00" export CandidateRateSheetRemoteW2HourlyPrefer="\$70.00" export CandidateRateSheetRemoteW2AnnualPrefer="\$140,000.00" -export CandidateRateSheetRemote1099HourlyPrefer="\$85.00" \ No newline at end of file +export CandidateRateSheetRemote1099HourlyPrefer="\$85.00" + + +############################### +# Output location/filenames +############################### + +RESUME_FILE_NAME="$(echo $CandidateName|sed 's/ //g')" + +export BUILD_OUTPUT_DIR="D:/tsys/ReachableCEOPublic/MarketingMaterials/websites/profile-fte.reachableceo.com" + +export CandidateInfoSheetMarkdownOutputFile="$BUILD_OUTPUT_DIR/recruiter/$RESUME_FILE_NAME-InfoSheet.md" +export CandidateInfoSheetPDFOutputFile="$BUILD_OUTPUT_DIR/recruiter/$RESUME_FILE_NAME-InfoSheet.pdf" + +export JobBoardMarkdownOutputFile="$BUILD_OUTPUT_DIR/job-board/$RESUME_FILE_NAME-Resume.md" +export JobBoardPDFOutputFile="$BUILD_OUTPUT_DIR/job-board/$RESUME_FILE_NAME-Resume.pdf" +export JobBoardMSWordOutputFile="$BUILD_OUTPUT_DIR/job-board/$RESUME_FILE_NAME-Resume.doc" + +export ClientSubmissionMarkdownOutputFile="$BUILD_OUTPUT_DIR/client-submit/$RESUME_FILE_NAME-Resume.md" +export ClientSubmissionPDFOutputFile="$BUILD_OUTPUT_DIR/client-submit/$RESUME_FILE_NAME-Resume.pdf" +export ClientSubmissionMSWordOutputFile="$BUILD_OUTPUT_DIR/client-submit/$RESUME_FILE_NAME-Resume.doc" \ No newline at end of file diff --git a/local/build/build-resume.sh b/local/build/build-resume.sh index b0d4883..0f1c222 100644 --- a/local/build/build-resume.sh +++ b/local/build/build-resume.sh @@ -10,31 +10,17 @@ source ./CandidateVariables.env #DO NOT CHANGE ANYTHING BELOW THIS LINE #################################################### + ################################################################## # Setup globals for use by the build-pipeline-server.sh script ################################################################## - export MO_PATH="bash ../../vendor/git.knownelement.com/ExternalVendorCode/mo/mo" - export BUILD_TEMP_DIR="$PipelineClientWorkingDir/build-temp/MarkdownResume" -export BUILD_OUTPUT_DIR="D:/tsys/@ReachableCEO/resume.reachableceo.com" - export BUILDYAML_JOBBOARD="$BUILD_TEMP_DIR/JobBoard.yml" export BUILDYAML_CLIENTSUBMISSION="$BUILD_TEMP_DIR/ClientSubmission.yml" export BUILDYAML_CANDIDATEINFOSHEET="$BUILD_TEMP_DIR/CandidateInfoSheet.yml" -export CandidateInfoSheetMarkdownOutputFile="$BUILD_OUTPUT_DIR/recruiter/CandidateInfoSheet.md" -export CandidateInfoSheetPDFOutputFile="$BUILD_OUTPUT_DIR/recruiter/CandidateInfoSheet.pdf" - -export JobBoardMarkdownOutputFile="$BUILD_OUTPUT_DIR/job-board/CharlesNWyble-Resume.md" -export JobBoardPDFOutputFile="$BUILD_OUTPUT_DIR/job-board/CharlesNWyble-Resume.pdf" -export JobBoardMSWordOutputFile="$BUILD_OUTPUT_DIR/job-board/CharlesNWyble-Resume.doc" - -export ClientSubmissionMarkdownOutputFile="$BUILD_OUTPUT_DIR/client-submit/CharlesNWyble-Resume.md" -export ClientSubmissionPDFOutputFile="$BUILD_OUTPUT_DIR/client-submit/CharlesNWyble-Resume.pdf" -export ClientSubmissionMSWordOutputFile="$BUILD_OUTPUT_DIR/client-submit/CharlesNWyble-Resume.doc" - # Cleanup previous intermediatge and final output artifacts rm $BUILD_TEMP_DIR/*.yml