2024-12-10 23:09:26 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# A client script to setup variables for and execute:
|
|
|
|
#../vendor/git.knownelement.com/reachableceo/MarkdownResume-Pipeline/build/build-pipeline-server.sh
|
|
|
|
|
2024-12-13 19:08:55 +00:00
|
|
|
source ./CandidateVariables.env
|
2024-12-10 23:09:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
####################################################
|
|
|
|
#DO NOT CHANGE ANYTHING BELOW THIS LINE
|
|
|
|
####################################################
|
|
|
|
|
2024-12-17 17:55:38 +00:00
|
|
|
|
2024-12-10 23:09:26 +00:00
|
|
|
##################################################################
|
|
|
|
# Setup globals for use by the build-pipeline-server.sh script
|
|
|
|
##################################################################
|
|
|
|
|
|
|
|
export MO_PATH="bash ../../vendor/git.knownelement.com/ExternalVendorCode/mo/mo"
|
2024-12-13 19:08:55 +00:00
|
|
|
export BUILD_TEMP_DIR="$PipelineClientWorkingDir/build-temp/MarkdownResume"
|
2024-12-10 23:09:26 +00:00
|
|
|
export BUILDYAML_JOBBOARD="$BUILD_TEMP_DIR/JobBoard.yml"
|
|
|
|
export BUILDYAML_CLIENTSUBMISSION="$BUILD_TEMP_DIR/ClientSubmission.yml"
|
|
|
|
export BUILDYAML_CANDIDATEINFOSHEET="$BUILD_TEMP_DIR/CandidateInfoSheet.yml"
|
|
|
|
|
2024-12-13 20:33:25 +00:00
|
|
|
# Cleanup previous intermediatge and final output artifacts
|
2024-12-10 23:09:26 +00:00
|
|
|
|
2024-12-13 20:12:25 +00:00
|
|
|
rm $BUILD_TEMP_DIR/*.yml
|
|
|
|
rm $BUILD_TEMP_DIR/*.md
|
|
|
|
|
|
|
|
rm $BUILD_OUTPUT_DIR/client-submit/*
|
|
|
|
rm $BUILD_OUTPUT_DIR/job-board/*
|
|
|
|
rm $BUILD_OUTPUT_DIR/recruiter/*
|
|
|
|
|
|
|
|
# Call the build-pipeline-server in the vendored repository to produce updated output artifacts
|
|
|
|
|
|
|
|
bash ../../vendor/git.knownelement.com/reachableceo/MarkdownResume-Pipeline/build/build-pipeline-server-markdown.sh
|