Compare commits
60 Commits
806ed7b8c1
...
v1.0
Author | SHA1 | Date | |
---|---|---|---|
2b63732480 | |||
7653fcd05b | |||
d4d01a9c8f | |||
ef2fae024f | |||
8fc853b309 | |||
098970d877 | |||
9ab05711f3 | |||
5f3d41f8cb | |||
8cd36acfeb | |||
cb2b0e87df | |||
259a7fe7e2 | |||
a7bd749c1a | |||
055e32abab | |||
2b38f0f053 | |||
dc741450df | |||
a3ebb66979 | |||
6c882fe7e7 | |||
5b1120db68 | |||
4d17933dd9 | |||
d0de9b5c6a | |||
d5bc7841f7 | |||
5444ef0bce | |||
37098ccd06 | |||
119e8dfc39 | |||
0ecf6f0526 | |||
f6744e3393 | |||
24827b2b84 | |||
63545d003b | |||
6fde94eb1d | |||
ad651b8d78 | |||
92fe354a3c | |||
bbf4749d7e | |||
4703d43798 | |||
f220f82bcd | |||
e8293103a6 | |||
01ab989465 | |||
d24c1f0d20 | |||
75e7df36a8 | |||
51f4d0dd74 | |||
45d81647f3 | |||
6e9c263c72 | |||
dc48181bd9 | |||
4aa476639c | |||
d0c8ee9256 | |||
556b54bfc3 | |||
ea121b0fbd | |||
f52d98f365 | |||
7cd4b4089a | |||
0f4cac91cc | |||
fae4c6a372 | |||
bb837aa5db | |||
1803bcb1ca | |||
5e455c763f | |||
ac8dd706f8 | |||
d68df9c5e1 | |||
7df269a401 | |||
af4876a447 | |||
e5cd5f4f79 | |||
70cd9780ed | |||
34b87aa38f |
12
.gitignore
vendored
12
.gitignore
vendored
@@ -1,2 +1,10 @@
|
|||||||
local/build-output/*
|
local/build-output/JSONResume/*.json
|
||||||
local/build-temp/*
|
local/build-output/MarkdownResume/*/*.doc
|
||||||
|
local/build-output/MarkdownResume/*/*.md
|
||||||
|
local/build-output/MarkdownResume/*/*.pdf
|
||||||
|
|
||||||
|
local/build-temp/MarkdownResume/*.yml
|
||||||
|
local/build-temp/MarkdownResume/*.md
|
||||||
|
local/build-temp/MarkdownResume/*/*.md
|
||||||
|
local/build-temp/MarkdownResume/*/*.pdf
|
||||||
|
local/build-temp/MarkdownResume/*/*.doc
|
26
README.md
26
README.md
@@ -1,15 +1,23 @@
|
|||||||
# MarkdownResume-Pipeline-ClientExample
|
# MarkdownResume-Pipeline-ClientExample
|
||||||
|
|
||||||
Example client repository for using the [MarkdownResume-Pipeline](https://git.knownelement.com/reachableceo/MarkdownResume-Pipeline) vendored repository.
|
Example client repository for using the [MarkdownResume-Pipeline](https://git.knownelement.com/reachableceo/MarkdownResume-Pipeline) resume building
|
||||||
|
microservice. The microservice is vendored into this repository.
|
||||||
|
|
||||||
## Quickstart
|
## Quickstart
|
||||||
|
|
||||||
I recommend doing these steps in order for efficency.
|
### Runtime Requirements
|
||||||
|
|
||||||
- Edit local/build/build-resume.sh and edit the values in the top section to refelct your information.
|
- Bash (this entire project was developed on msys2 on Windows 10)
|
||||||
- Edit local/Templates/WorkHistory/WorkHistory.csv
|
- Ensure you have pandoc installed and in your path.
|
||||||
- Create local/Templates/JobHistoryDetails/<position>.md to match the value in the first field of WorkHistory.csv
|
|
||||||
- Edit local/Templates/SkillsAndProjects/Projects.md
|
### Steps
|
||||||
- Edit local/Template/SkillsAndProjects/Skills.csv
|
|
||||||
- Edit local/Templates/CandidateInfoSheet.md
|
- Edit local/build/CandidateVariables.env to refelct your information.
|
||||||
- cd to the local/build directory and run bash build-resume.sh
|
- Edit local/Templates/MarkdownResume/WorkHistory/WorkHistory.csv
|
||||||
|
- Create and edit local/Templates/MarkdownResume/JobHistoryDetails/<position>.md to match the value in the first field of WorkHistory.csv
|
||||||
|
- Repeat as necessary for your job history.
|
||||||
|
- Edit local/Templates/MarkdownResume/SkillsAndProjects/Projects.md
|
||||||
|
- Edit local/Template/MarkdownResume/SkillsAndProjects/Skills.csv
|
||||||
|
- Edit local/Templates/MarkdownResume/CandidateInfoSheet.md
|
||||||
|
- cd to the local/build directory and run bash build-demo-markdown.sh
|
||||||
|
- Examine the PDF/MSWord output in local/build-output/*
|
||||||
|
3
local/Templates/JSONResume/awards.csv
Normal file
3
local/Templates/JSONResume/awards.csv
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# CSV File: awards.csv
|
||||||
|
# Columns: title,awarder,date,summary
|
||||||
|
Defender of the Internet,Fight For The Future,2014-10-02,"For my work against mass surveillance and building out civic tools for digital democracy."
|
Can't render this file because it has a wrong number of fields in line 2.
|
3
local/Templates/JSONResume/certificates.csv
Normal file
3
local/Templates/JSONResume/certificates.csv
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# CSV File: certificates.csv
|
||||||
|
# Columns: name,date,issuer,url
|
||||||
|
Certified Kubernetes Administrator,2021-05-01,Cloud Native Computing Foundation,http://certificates.com/kubernetes
|
|
3
local/Templates/JSONResume/education.csv
Normal file
3
local/Templates/JSONResume/education.csv
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
institution,url,area,studyType,startDate,endDate,score,courses
|
||||||
|
"The University of Queensland",,"Software Engineering (incomplete)","Bachelors","2008-02-12","2009-12-12",,
|
||||||
|
"University of Technology","http://universityoftechnology.com","Computer Science","Bachelor","2010-09-01","2014-06-30","3.8 GPA","CS101 - Introduction to Computer Science; CS201 - Data Structures and Algorithms; CS301 - Operating Systems"
|
|
6
local/Templates/JSONResume/interests.csv
Normal file
6
local/Templates/JSONResume/interests.csv
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# CSV File: interests.csv
|
||||||
|
# Columns: name,keywords
|
||||||
|
Gardening,"Lazy Gardening"
|
||||||
|
Music,"Guitar;Singing;Dancing"
|
||||||
|
Books,"Reading;Writing;History"
|
||||||
|
Open Source,"All of it"
|
Can't render this file because it has a wrong number of fields in line 2.
|
3
local/Templates/JSONResume/languages.csv
Normal file
3
local/Templates/JSONResume/languages.csv
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# CSV File: languages.csv
|
||||||
|
# Columns: language,fluency
|
||||||
|
English,Native speaker
|
|
5
local/Templates/JSONResume/profiles.csv
Normal file
5
local/Templates/JSONResume/profiles.csv
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# CSV File: profiles.csv
|
||||||
|
# Columns: username,url,network
|
||||||
|
ajaxdavis,https://twitter.com/ajaxdavis,twitter
|
||||||
|
thomasdavis,https://github.com/thomasdavis,github
|
||||||
|
|
|
3
local/Templates/JSONResume/publications.csv
Normal file
3
local/Templates/JSONResume/publications.csv
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# CSV File: publications.csv
|
||||||
|
# Columns: name,publisher,releaseDate,url,summary
|
||||||
|
Advanced JavaScript Techniques,Tech Books Publishing,2019-08-01,http://techbookspublishing.com/advanced-javascript,"A comprehensive guide to modern JavaScript development."
|
Can't render this file because it has a wrong number of fields in line 2.
|
6
local/Templates/JSONResume/references.csv
Normal file
6
local/Templates/JSONResume/references.csv
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# CSV File: references.csv
|
||||||
|
# Columns: reference,name
|
||||||
|
"Thomas was hired as a lead developer and, upon the leaving of our co-founder took over as CTO of Earbits. Thomas is, hands down, one of those A Players you hear of companies dying to hire. He is incredibly smart, not just at code but about everything from classical music to Chinese language and culture. Thomas is great to work with and, as a well established contributor to open source projects and several successful ventures, commands the respect of engineers at all levels. I would suggest doing anything you can to have him on your team.","Joey Flores, Co-founder and CEO of Earbits, Inc."
|
||||||
|
"I've had the great pleasure of working with Thomas for the past three years at Earbits, and on a few side projects. Two years ago our CTO left on a moment's notice, Thomas saved our company by quickly stepping up to fill this role. He has been with our company through thick and thin and made serious personal sacrifices in order to help the company during tough times. He is a phenomenal hacker and a true team player. Highly recommended!","Yotam Rosenbaum, SVP of Operations, Earbits, Inc."
|
||||||
|
"Thomas is an extremely talented engineer with a very broad range of skills and experience. From being a thought leader in the front-end community via backbonetutorials.com and cdnjs.com, to designing and implementing the API for cdnjs.com, working with Thomas has been fantastic learning experience. Thomas is truly a full stack develop, and his work output is incredible. If there is any opportunity to work with Thomas, I take it. He is the definition of an A player.","Ryan Kirkman, Senior Software Engineer at Nerdwallet"
|
||||||
|
"On Thomas Davis... Hire this guy. Do not be fooled. Incredibly capable and fast. Plays well with others. Unbelievable at front-end work end programming but that is just the start. Visionary. Hire him before I do.","Greg Davis"
|
Can't render this file because it has a wrong number of fields in line 2.
|
5
local/Templates/JSONResume/skills.csv
Normal file
5
local/Templates/JSONResume/skills.csv
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# CSV File: skills.csv
|
||||||
|
# Columns: name,level,keywords
|
||||||
|
Frontend,Senior,"HTML / JSX;SCSS / CSS / BEM / Styled Components;Javascript / Typescript;React / Next;Redux / Apollo"
|
||||||
|
Backend,Senior,"Node;Ruby;Python;Postgres;Redis;Serverless"
|
||||||
|
Devops,Senior,"AWS;G Cloud;Heroku;Caching"
|
Can't render this file because it has a wrong number of fields in line 2.
|
5
local/Templates/JSONResume/volunteer.csv
Normal file
5
local/Templates/JSONResume/volunteer.csv
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# CSV File: volunteer.csv
|
||||||
|
# Columns: organization,position,url,startDate,summary,highlights
|
||||||
|
Open Source Project,Contributor,http://opensourceproject.com,2016-01-01,"Contributing to open source projects to improve software quality.","Fixed critical bugs and added new features.;Mentored new contributors."
|
||||||
|
|
||||||
|
add_vo
|
Can't render this file because it has a wrong number of fields in line 2.
|
13
local/Templates/JSONResume/work.csv
Normal file
13
local/Templates/JSONResume/work.csv
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# CSV File: work.csv
|
||||||
|
# Columns: name,position,location,website,startDate,endDate,summary,highlights
|
||||||
|
Misc Companies,Product Engineer,Melbourne,https://lordajax.com/,2020-05-05,,"Over the past several years, I've worked at various roles and companies. Mostly early stage startups, doing full stack product development.","React / Next;Node / Laravel;LLM's;Diagrams / Canvas"
|
||||||
|
Tokenized,Senior Javascript Developer,Melbourne,https://tokenized.com/,2020-05-05,2021-05-05,"Tokenized is a Bitcoin wallet for issuing, managing and trading digital tokens. I built out the front end which was packaged as an electron app. It was a difficult frontend to build because we store the users keys locally and used them to sign transactions and contracts.","React;Redux;SCSS;Product"
|
||||||
|
Blockbid,Senior Javascript Developer,Melbourne,https://platform.blockbid.io,2018-03-01,2020-01-01,"Blockbid is an Australian crypto currency exchange. I started off on the frontend but eventually became lead tech and worked on every moving piece of the exchange. I really enjoyed working with liquidity providers and connecting their platforms to help us achieve liquid markets.","React, Apollo, Styled Components;Node.js / Rails;Docker / Heroku / GCP;Used Figma for design and UX work;Optimizing markets with tens of millions of rows using SQL."
|
||||||
|
Listium,Developer,,https://listium.com,2016-01-01,2018-01-01,"Built a very large and complex React / Redux application. It works on all platforms and has IOS/Android builds due to it being a PWA. (wrapped it in React Native though only implementing a WebView)","Worked with Postgres, Redis and Dynamodb for storage.;Hosted on a mixture of Heroku Apps and EC2 servers.;Caching by Fastly and Cloudflare;Hybrid app supported on all platforms"
|
||||||
|
Electronic Frontier Foundation,Developer,,http://www.eff.org,2014-04-01,2016-01-01,"Hired to take EFF's campaigning to the next level by building an action centre in Ruby on Rails. The action centre is built around some large open source tools that lower the barrier to entry when contacting congress.","Developed new tools for contacting congress;Brainstormed campaign ideas to raise maximum awareness about issues;Lots of social networking integration"
|
||||||
|
Earbits,CTO,,http://www.earbits.com,2013-03-08,2015-01-09,"Started off as a front end developer but took on the role of CTO in early 2013. The application frontend is built with Javascript and organized as a single page application that talks to a collection of Rails web servers which are connected to MongoDB.","Managed a small team of developers and designers;Built the entire frontend application with Backbone.js;Transferred all of the infrastructure from Heroku to AWS"
|
||||||
|
JSON Resume,Founder,,http://jsonresume.org,2014-04-01,,"JSON Resume is a community driven open source initiative to create a JSON based standard for resumes. There is no reason why there can't be a common standard for writing a resume that can be extended with an ecosystem of open source tools.","This resume is built with JSON Resume;Over 3000 stars on Github;Community developed themes;Tens of thousands of users"
|
||||||
|
Taskforce.is,Developer,,http://www.taskforce.is,2013-06-01,2016-01-01,"Worked on many politically charged campaigns against mass surveillance. Not only technically challenging work but also a lot of networking and getting my hands dirty with politics. Our biggest project was \"TheDayWeFightBack\"..","Generated 37,000,000 banner views;100, 000 phone calls to congress;500, 000 emails;250, 000 signatures"
|
||||||
|
Drone Hire,Co-Founder,,http://www.dronehire.org,2013-01-01,,"An international directory of civilian drone / UAV operators for hire. Services include aerial photography, aerial video, mapping, surveying, precision agriculture, real estate photography, remote inspections and infrared imaging. Our plan is to be the place to go when looking for UAV/Drone services. The website is built in Backbone.js and API is built with Node.js and Postgres.","The site and blog combined have managed to receive over 200,000 visitors in 2014."
|
||||||
|
BackboneTutorials.com,Founder,,http://backbonetutorials.com,2011-01-01,2014-01-01,"I write tutorials and blog post regarding the popular Javascript framework Backbone.js. The tutorials cover a range of topics regarding front end development aimed at beginners, experts and anyone in between.","Over two million unique visitors a year;25,000+ ebook downloads;300,000+ Youtube views"
|
||||||
|
Ephox,Front-end Developer,,http://ephox.com,2011-01-01,2012-06-01,"Ephox is a worldwide company who is heavily involved with the development of TinyMce and enterprise editors. My primary role included building front-end widgets and applications. Worked on a major product using Backbone.js as a base. Heavily involved in UI/UX design and wire-framing. Also spend a lot of time designing API specifications and documentation.",
|
Can't render this file because it has a wrong number of fields in line 2.
|
@@ -0,0 +1 @@
|
|||||||
|
ignore
|
1
local/build-output/JSONResume/job-board/ignore-this-dir
Normal file
1
local/build-output/JSONResume/job-board/ignore-this-dir
Normal file
@@ -0,0 +1 @@
|
|||||||
|
ignore
|
@@ -0,0 +1 @@
|
|||||||
|
ignore
|
@@ -0,0 +1 @@
|
|||||||
|
ignore
|
@@ -0,0 +1 @@
|
|||||||
|
ignore
|
@@ -1,4 +0,0 @@
|
|||||||
First Middle Last
|
|
||||||
=====
|
|
||||||
|
|
||||||
|
|
@@ -1,6 +0,0 @@
|
|||||||
First Middle Last
|
|
||||||
=====
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[ [Github Profile](https://www.github.com/) ] . [ [Linkedin Profile](https://www.linkedin.com/) ] . [ candidate@domain.com ] . [ 1 123 456 7890 ] . [ Place 1/Place 2 ]
|
|
1
local/build-temp/MarkdownResume/ignore-this-dir
Normal file
1
local/build-temp/MarkdownResume/ignore-this-dir
Normal file
@@ -0,0 +1 @@
|
|||||||
|
ignore
|
@@ -2,6 +2,14 @@
|
|||||||
# Modify these values to suit
|
# Modify these values to suit
|
||||||
###################################################
|
###################################################
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
#SET THIS NEXT VARIABLE OR NOTHING WILL WORK!!!!
|
||||||
|
|
||||||
|
export PipelineClientWorkingDir="D:/tsys/@ReachableCEO/MarkdownResume-Pipeline-ClientExample/local"
|
||||||
|
|
||||||
|
#SET THE PREVIOUS VARIABLE OR NOTHING WILL WORK!!!!
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
########################
|
########################
|
||||||
# Contact info
|
# Contact info
|
||||||
########################
|
########################
|
||||||
@@ -37,6 +45,16 @@ export SourceCode="https://git.knownelement.com/reachableceo/MarkdownResume-Pipe
|
|||||||
export URLCOLOR="blue"
|
export URLCOLOR="blue"
|
||||||
export PAGEBACKGROUND="./background3.pdf"
|
export PAGEBACKGROUND="./background3.pdf"
|
||||||
export JSONRESUME_THEME="professional"
|
export JSONRESUME_THEME="professional"
|
||||||
|
export PANDOC_TEMPLATE="eisvogel"
|
||||||
|
|
||||||
|
###########################
|
||||||
|
# Yaml files used by pandoc
|
||||||
|
###########################
|
||||||
|
|
||||||
|
export YamlInputTemplateFileCandidateInfoSheet="$PipelineClientWorkingDir/build/BuildTemplate-CandidateInfoSheet.yml"
|
||||||
|
export YamlInputTemplateFileJobBoard="$PipelineClientWorkingDir/build/BuildTemplate-JobBoard.yml"
|
||||||
|
export YamlInputTemplateFileClientSubmission="$PipelineClientWorkingDir/build/BuildTemplate-ClientSubmission.yml"
|
||||||
|
export WordOutputReferenceDoc="$PipelineClientWorkingDir/build/resume-docx-reference.docx"
|
||||||
|
|
||||||
##########################
|
##########################
|
||||||
# Candidate info sheet
|
# Candidate info sheet
|
||||||
@@ -73,5 +91,12 @@ export CandidateRateSheetRemoteW2HourlyPrefer="\$34.56"
|
|||||||
export CandidateRateSheetRemoteW2AnnualPrefer="\$321,987.00"
|
export CandidateRateSheetRemoteW2AnnualPrefer="\$321,987.00"
|
||||||
export CandidateRateSheetRemote1099HourlyPrefer="\$78.90"
|
export CandidateRateSheetRemote1099HourlyPrefer="\$78.90"
|
||||||
|
|
||||||
export CandidateCertifications=""
|
# Other resume data
|
||||||
export CandidateReferences=""
|
# Awards
|
||||||
|
# Interests
|
||||||
|
# College/University education
|
||||||
|
# Certifactes
|
||||||
|
|
||||||
|
# Please see:
|
||||||
|
# the CSV files in ../Templates/JSONResume
|
||||||
|
# the CSV files in ../Templates/MarkdownResume
|
@@ -1,17 +1,13 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
#####################################################################################################
|
|
||||||
#JSON Resume
|
|
||||||
#####################################################################################################
|
|
||||||
|
|
||||||
export BUILD_OUTPUT_DIR="../build-output/JSONResume/"
|
|
||||||
export JSON_TEMPLATE_DIRECTORY="../Templates/JSONResume/"
|
|
||||||
|
|
||||||
|
|
||||||
###################################################################
|
# This is a demo script for the MarkdownResumePipeline server
|
||||||
# Modify the CandiateVariables.env file to refelct your information
|
# This script creates PDF/MSWord output from markdown/csv input
|
||||||
###################################################################
|
|
||||||
###################################################
|
|
||||||
|
############################################
|
||||||
|
#Edit this file to reflect your information
|
||||||
|
############################################
|
||||||
|
|
||||||
source "./CandidateVariables.env"
|
source "./CandidateVariables.env"
|
||||||
|
|
||||||
@@ -23,307 +19,19 @@ source "./CandidateVariables.env"
|
|||||||
####################################################
|
####################################################
|
||||||
####################################################
|
####################################################
|
||||||
|
|
||||||
add_header()
|
######################################################################################
|
||||||
|
# Setup key variables that will be used by the build-pipeline-server-markdown.sh script
|
||||||
|
######################################################################################
|
||||||
|
|
||||||
{
|
export BUILD_OUTPUT_DIR="$PipelineClientWorkingDir/build-output/JSONResume"
|
||||||
|
export JSON_TEMPLATE_DIRECTORY="$PipelineClientWorkingDir/Templates/JSONResume"
|
||||||
|
|
||||||
echo "{" > $BUILD_OUTPUT_DIR/resume.json
|
export JobBoardJSONOutputFile="$BUILD_OUTPUT_DIR/job-board/Candidate-Resume.json"
|
||||||
|
export ClientSubmissionJSONOutputFile="$BUILD_OUTPUT_DIR/client-submit/Candidate-Resume.json"
|
||||||
|
|
||||||
}
|
echo "Cleaning up from previous runs..."
|
||||||
|
|
||||||
add_meta_section()
|
rm $JobBoardJSONOutputFile
|
||||||
|
rm $ClientSubmissionJSONOutputFile
|
||||||
|
|
||||||
{
|
bash ../../vendor/git.knownelement.com/reachableceo/MarkdownResume-Pipeline/build/build-pipeline-server-json.sh
|
||||||
|
|
||||||
cat << META >> $BUILD_OUTPUT_DIR/resume.json
|
|
||||||
"meta": {
|
|
||||||
"theme": "$JSONRESUME_THEME"
|
|
||||||
},
|
|
||||||
META
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
add_basics_section()
|
|
||||||
|
|
||||||
{
|
|
||||||
|
|
||||||
cat << BASICS >> $BUILD_OUTPUT_DIR/resume.json
|
|
||||||
"basics": {
|
|
||||||
"name": "$CandidateName",
|
|
||||||
"phone": "$CandidatePhone",
|
|
||||||
"label": "$CandidateRole",
|
|
||||||
"image": "$CandidateAvatar",
|
|
||||||
"summary": "$CandidateOneLineSummary",
|
|
||||||
"website": "$CandidateWebsite",
|
|
||||||
"url": "https://lordajax.com",
|
|
||||||
"email": "$CandidateEmail",
|
|
||||||
"location": {
|
|
||||||
"city": "$CandidateLocation",
|
|
||||||
"countryCode": "$CandidateCountry"
|
|
||||||
},
|
|
||||||
},
|
|
||||||
BASICS
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
add_work_section()
|
|
||||||
{
|
|
||||||
|
|
||||||
local input_file=$JSON_TEMPLATE_DIRECTORY/work.csv
|
|
||||||
cat << 'WORK_START'
|
|
||||||
"work": [
|
|
||||||
WORK_START
|
|
||||||
awk -F, 'NR>1 {
|
|
||||||
printf " {\n"
|
|
||||||
printf " \"name\": \"%s\",\n", $1
|
|
||||||
printf " \"position\": \"%s\",\n", $2
|
|
||||||
printf " \"url\": \"%s\",\n", $3
|
|
||||||
printf " \"startDate\": \"%s\",\n", $4
|
|
||||||
if ($5 != "") printf " \"endDate\": \"%s\",\n", $5
|
|
||||||
printf " \"summary\": \"%s\",\n", $6
|
|
||||||
printf " \"highlights\": [\n \"%s\"\n ]\n", gensub(/\|/, "\",\n \"", "g", $7)
|
|
||||||
printf " }%s\n", (NR==NR?"":",")
|
|
||||||
}' "$input_file"
|
|
||||||
cat << 'WORK_END'
|
|
||||||
],
|
|
||||||
WORK_END
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
add_volunteer_section()
|
|
||||||
|
|
||||||
{
|
|
||||||
|
|
||||||
local input_file="$JSON_TEMPLATE_DIRECTORY/volunteer.csv"
|
|
||||||
cat << 'VOLUNTEER_START' >> $BUILD_OUTPUT_DIR/resume.json
|
|
||||||
"volunteer": [
|
|
||||||
VOLUNTEER_START
|
|
||||||
|
|
||||||
awk -F, 'NR>1 {
|
|
||||||
printf " {\n"
|
|
||||||
printf " \"organization\": \"%s\",\n", $1
|
|
||||||
printf " \"position\": \"%s\",\n", $2
|
|
||||||
printf " \"url\": \"%s\",\n", $3
|
|
||||||
printf " \"startDate\": \"%s\",\n", $3
|
|
||||||
printf " \"endDate\": \"%s\",\n", $3
|
|
||||||
printf " \"summary\": \"%s\"\n", $4
|
|
||||||
printf " \"highlights\": ["
|
|
||||||
printf " " $7
|
|
||||||
printf " ]"
|
|
||||||
printf " }%s\n", (NR==NR?"":",")
|
|
||||||
}' "$input_file"
|
|
||||||
cat << 'VOLUNTEER_END'
|
|
||||||
],
|
|
||||||
VOLUNTEER_END
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
add_awards_section()
|
|
||||||
|
|
||||||
{
|
|
||||||
|
|
||||||
local input_file=$JSON_TEMPLATE_DIRECTORY/awards.csv
|
|
||||||
cat << 'AWARDS_START' >> $BUILD_OUTPUT_DIR/resume.json
|
|
||||||
"awards": [
|
|
||||||
AWARDS_START
|
|
||||||
awk -F, 'NR>1 {
|
|
||||||
printf " {\n"
|
|
||||||
printf " \"title\": \"%s\",\n", $1
|
|
||||||
printf " \"date\": \"%s\",\n", $2
|
|
||||||
printf " \"awarder\": \"%s\",\n", $3
|
|
||||||
printf " \"summary\": \"%s\"\n", $4
|
|
||||||
printf " }%s\n", (NR==NR?"":",")
|
|
||||||
}' "$input_file"
|
|
||||||
cat << 'AWARDS_END'
|
|
||||||
],
|
|
||||||
AWARDS_END
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
add_publications_section()
|
|
||||||
|
|
||||||
{
|
|
||||||
|
|
||||||
local input_file=$JSON_TEMPLATE_DIRECTORY/publications.csv
|
|
||||||
cat << 'PUBLICATIONS_START' >> $BUILD_OUTPUT_DIR/resume.json
|
|
||||||
"publications": [
|
|
||||||
PUBLICATIONS_START
|
|
||||||
awk -F, 'NR>1 {
|
|
||||||
printf " {\n"
|
|
||||||
printf " \"name\": \"%s\",\n", $1
|
|
||||||
printf " \"publisher\": \"%s\",\n", $2
|
|
||||||
printf " \"releaseDate\": \"%s\",\n", $3
|
|
||||||
printf " \"url\": \"%s\",\n", $4
|
|
||||||
printf " \"summary\": \"%s\"\n", $5
|
|
||||||
printf " }%s\n", (NR==NR?"":",")
|
|
||||||
}' "$input_file"
|
|
||||||
cat << 'PUBLICATIONS_END'
|
|
||||||
],
|
|
||||||
PUBLICATIONS_END
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
add_volunteer_section()
|
|
||||||
|
|
||||||
{
|
|
||||||
|
|
||||||
local input_file=$JSON_TEMPLATE_DIRECTORY/volunteer.csv
|
|
||||||
cat << 'VOLUNTEER_START' >> $BUILD_OUTPUT_DIR/resume.json
|
|
||||||
"volunteer": [
|
|
||||||
VOLUNTEER_START
|
|
||||||
awk -F, 'NR>1 {
|
|
||||||
printf " {\n"
|
|
||||||
printf " \"organization\": \"%s\",\n", $1
|
|
||||||
printf " \"position\": \"%s\",\n", $2
|
|
||||||
printf " \"url\": \"%s\",\n", $3
|
|
||||||
printf " \"startDate\": \"%s\",\n", $4
|
|
||||||
printf " \"summary\": \"%s\",\n", $5
|
|
||||||
printf " \"highlights\": [\n \"%s\"\n ]\n", gensub(/\|/, "\",\n \"", "g", $6)
|
|
||||||
printf " }%s\n", (NR==NR?"":",")
|
|
||||||
}' "$input_file"
|
|
||||||
cat << 'VOLUNTEER_END'
|
|
||||||
],
|
|
||||||
VOLUNTEER_END
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
add_skills_section()
|
|
||||||
|
|
||||||
{
|
|
||||||
|
|
||||||
local input_file="$JSON_TEMPLATE_DIRECTORY/skills.csv"
|
|
||||||
cat << 'SKILLS_START' >> $BUILD_OUTPUT_DIR/resume.json
|
|
||||||
"skills": [
|
|
||||||
SKILLS_START
|
|
||||||
awk -F, 'NR>1 {
|
|
||||||
printf " {\n"
|
|
||||||
printf " \"keywords\": [\n \"%s\"\n ],\n", gensub(/\|/, "\",\n \"", "g", $3)
|
|
||||||
printf " \"level\": \"%s\",\n", $2
|
|
||||||
printf " \"name\": \"%s\"\n", $1
|
|
||||||
printf " }%s\n", (NR==NR?"":",")
|
|
||||||
}' "$input_file"
|
|
||||||
cat << 'SKILLS_END'
|
|
||||||
],
|
|
||||||
SKILLS_END
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
add_education_section()
|
|
||||||
|
|
||||||
{
|
|
||||||
|
|
||||||
local input_file="$JSON_TEMPLATE_DIRECTORY/education.csv"
|
|
||||||
cat << 'EDUCATION_START' >> $BUILD_OUTPUT_DIR/resume.json
|
|
||||||
"education": [
|
|
||||||
EDUCATION_START
|
|
||||||
awk -F, 'NR>1 {
|
|
||||||
printf " {\n"
|
|
||||||
printf " \"institution\": \"%s\",\n", $1
|
|
||||||
if ($2 != "") printf " \"url\": \"%s\",\n", $2
|
|
||||||
printf " \"area\": \"%s\",\n", $3
|
|
||||||
printf " \"studyType\": \"%s\",\n", $4
|
|
||||||
printf " \"startDate\": \"%s\",\n", $5
|
|
||||||
printf " \"endDate\": \"%s\"", $6
|
|
||||||
if ($7 != "") printf ",\n \"score\": \"%s\"", $7
|
|
||||||
if ($8 != "") printf ",\n \"courses\": [\n \"%s\"\n ]", gensub(/\|/, "\",\n \"", "g", $8)
|
|
||||||
printf "\n }%s\n", (NR==NR?"":",")
|
|
||||||
}' "$input_file"
|
|
||||||
cat << 'EDUCATION_END'
|
|
||||||
],
|
|
||||||
EDUCATION_END
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
add_languages_section()
|
|
||||||
|
|
||||||
{
|
|
||||||
|
|
||||||
local input_file="$JSON_TEMPLATE_DIRECTORY/languages.csv"
|
|
||||||
cat << 'LANGUAGES_START' >> $BUILD_OUTPUT_DIR/resume.json
|
|
||||||
"languages": [
|
|
||||||
LANGUAGES_START
|
|
||||||
awk -F, 'NR>1 {
|
|
||||||
printf " {\n"
|
|
||||||
printf " \"language\": \"%s\",\n", $1
|
|
||||||
printf " \"fluency\": \"%s\"\n", $2
|
|
||||||
printf " }%s\n", (NR==NR?"":",")
|
|
||||||
}' "$input_file"
|
|
||||||
cat << 'LANGUAGES_END'
|
|
||||||
],
|
|
||||||
LANGUAGES_END
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
add_interests_section()
|
|
||||||
|
|
||||||
{
|
|
||||||
local input_file="$JSON_TEMPLATE_DIRECTORY/interests.csv"
|
|
||||||
cat << 'INTERESTS_START' >> $BUILD_OUTPUT_DIR/resume.json
|
|
||||||
"interests": [
|
|
||||||
INTERESTS_START
|
|
||||||
awk -F, 'NR>1 {
|
|
||||||
printf " {\n"
|
|
||||||
printf " \"name\": \"%s\",\n", $1
|
|
||||||
printf " \"keywords\": [\n \"%s\"\n ]\n", gensub(/\|/, "\",\n \"", "g", $2)
|
|
||||||
printf " }%s\n", (NR==NR?"":",")
|
|
||||||
}' "$input_file"
|
|
||||||
cat << 'INTERESTS_END'
|
|
||||||
],
|
|
||||||
INTERESTS_END
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
add_references_section()
|
|
||||||
|
|
||||||
{
|
|
||||||
|
|
||||||
local input_file="$JSON_TEMPLATE_DIRECTORY/references.csv"
|
|
||||||
cat << 'REFERENCES_START' >> $BUILD_OUTPUT_DIR/resume.json
|
|
||||||
"references": [
|
|
||||||
REFERENCES_START
|
|
||||||
awk -F, 'NR>1 {
|
|
||||||
printf " {\n"
|
|
||||||
printf " \"name\": \"%s\",\n", $1
|
|
||||||
printf " \"reference\": \"%s\"\n", $2
|
|
||||||
printf " }%s\n", (NR==NR?"":",")
|
|
||||||
}' "$input_file"
|
|
||||||
cat << 'REFERENCES_END'
|
|
||||||
]
|
|
||||||
REFERENCES_END
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
add_footer()
|
|
||||||
|
|
||||||
{
|
|
||||||
|
|
||||||
echo "}" >> $BUILD_OUTPUT_DIR/resume.json
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
main()
|
|
||||||
|
|
||||||
{
|
|
||||||
|
|
||||||
add_header
|
|
||||||
add_meta_section $JSON_TEMPLATE_DIRECTORY/meta.csv
|
|
||||||
add_basics_section $JSON_TEMPLATE_DIRECTORY/basics.csv
|
|
||||||
#add_profiles_section $JSON_TEMPLATE_DIRECTORY/profiles.csv
|
|
||||||
#add_work_section $JSON_TEMPLATE_DIRECTORY/work.csv
|
|
||||||
#add_volunteer_section $JSON_TEMPLATE_DIRECTORY/volunteer.csv
|
|
||||||
#add_education-section $JSON_TEMPLATE_DIRECTORY/education.csv
|
|
||||||
#add_awards_section $JSON_TEMPLATE_DIRECTORY/awards.csv
|
|
||||||
#add_certificates_section $JSON_TEMPLATE_DIRECTORY/certificates.csv
|
|
||||||
#add_publications_section $JSON_TEMPLATE_DIRECTORY/publications.csv
|
|
||||||
#add_skills_section $JSON_TEMPLATE_DIRECTORY/skills.csv
|
|
||||||
#add_languages_section $JSON_TEMPLATE_DIRECTORY/languages.csv
|
|
||||||
#add_interests_section $JSON_TEMPLATE_DIRECTORY/interests.csv
|
|
||||||
#add_references_section $JSON_TEMPLATE_DIRECTORY/references.csv
|
|
||||||
#add_projects_section $JSON_TEMPLATE_DIRECTORY/projects.csv
|
|
||||||
add_footer
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
main
|
|
@@ -1,61 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -x
|
|
||||||
|
|
||||||
# This is a demo script for the MarkdownResumePipeline server
|
|
||||||
# This script creates PDF/MSWord output from markdown/csv input
|
|
||||||
|
|
||||||
|
|
||||||
############################################
|
|
||||||
#Edit this file to reflect your information
|
|
||||||
############################################
|
|
||||||
|
|
||||||
source "./CandidateVariables.env"
|
|
||||||
|
|
||||||
####################################################
|
|
||||||
####################################################
|
|
||||||
####################################################
|
|
||||||
#DO NOT CHANGE ANYTHING BELOW THIS LINE
|
|
||||||
####################################################
|
|
||||||
####################################################
|
|
||||||
####################################################
|
|
||||||
|
|
||||||
######################################################################################
|
|
||||||
# Setup key variables that will be used by the build-pipeline-server-markdown.sh script
|
|
||||||
######################################################################################
|
|
||||||
|
|
||||||
readonly MO_PATH="bash ../../vendor/git.knownelement.com/ExternalVendorCode/mo/mo"
|
|
||||||
readonly BUILD_OUTPUT_DIR="../build-output/MarkdownResume"
|
|
||||||
readonly BUILD_TEMP_DIR="../build-temp/MarkdownResume"
|
|
||||||
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..."
|
|
||||||
|
|
||||||
rm $BUILDYAML_CANDIDATEINFOSHEET
|
|
||||||
rm $CandidateInfoSheetMarkdownOutputFile
|
|
||||||
rm $CandidateInfoSheetPDFOutputFIle
|
|
||||||
|
|
||||||
rm $BUILDYAML_JOBBOARD
|
|
||||||
rm $JobBoardMarkdownOutputFile
|
|
||||||
rm $JobBoardPDFOutputFile
|
|
||||||
rm $JobBoardMSWordOutputFile
|
|
||||||
|
|
||||||
rm $BUILDYAML_CLIENTSUBMISSION
|
|
||||||
rm $ClientSubmissionMarkdownOutputFile
|
|
||||||
rm $ClientSubmissionPDFOutputFile
|
|
||||||
rm $ClientSubmissionMSWordOutputFile
|
|
||||||
|
|
||||||
bash ../../vendor/git.knownelement.com/reachableceo/MarkdownResume-Pipeline/build/build-pipeline-server-markdown.sh
|
|
@@ -1,110 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# A client script to setup variables for and execute:
|
|
||||||
#../vendor/git.knownelement.com/reachableceo/MarkdownResume-Pipeline/build/build-pipeline-server.sh
|
|
||||||
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
#SET THIS OR NOTHING WILL WORK
|
|
||||||
export PipelineClientWorkingDir="D:/tsys/@ReachableCEO/MarkdownResume-Pipeline-ClientExample/local"
|
|
||||||
#SET THIS OR NOTHING WILL WORK
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
#If you want a quick demo, you can leave the below values un-changed. Otherwise
|
|
||||||
#modify them to refelect your details/preferences.
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
########################
|
|
||||||
# Contact info
|
|
||||||
########################
|
|
||||||
|
|
||||||
export CandidateName="First Middle Last"
|
|
||||||
export CandidatePhone="1 123 456 7890"
|
|
||||||
export CandidateLocation="Place 1/Place 2"
|
|
||||||
export CandidateEmail="candidate@domain.com"
|
|
||||||
|
|
||||||
########################
|
|
||||||
# Profile information
|
|
||||||
########################
|
|
||||||
|
|
||||||
export CandidateOneLineSummary="Super awesome and stuff."
|
|
||||||
export CandidateLinkedin="https://www.linkedin.com/"
|
|
||||||
export CandidateGithub="https://www.github.com/"
|
|
||||||
export CandidateTagline="Your.Tagline.Here."
|
|
||||||
|
|
||||||
########################
|
|
||||||
# Formatting options
|
|
||||||
########################
|
|
||||||
|
|
||||||
export CandidateLogo=""
|
|
||||||
export SourceCode="https://git.knownelement.com/reachableceo/MarkdownResume-Pipeline"
|
|
||||||
export URLCOLOR="blue"
|
|
||||||
export PAGEBACKGROUND="$PipelineClientWorkingDir/build/background3.pdf"
|
|
||||||
|
|
||||||
##########################
|
|
||||||
# Candidate info sheet
|
|
||||||
##########################
|
|
||||||
|
|
||||||
export CandidatePreferredContactMethod="Email will get the fastest response."
|
|
||||||
export CandidateWorkAuthorization="US Citizen"
|
|
||||||
export CandidateEmploymentStatus="Not currently employed"
|
|
||||||
export CandidateCurrentLocation="City,State,Country etc"
|
|
||||||
export CandidateCurrentTimezone="Timezone"
|
|
||||||
export CandidateWorkableTimezones="Timezones"
|
|
||||||
export CandidateInterviewAvailability="Sometime"
|
|
||||||
export CandidateStartAvailability="Sometime"
|
|
||||||
export CandidateHighestEducation="Some education level"
|
|
||||||
export CandidateGraduationYear="Graduation year"
|
|
||||||
export CandidateSchoolName="School name"
|
|
||||||
export CandidateSchoolLocation="School location"
|
|
||||||
export CandidateLastProject="Last project"
|
|
||||||
export CandidateDOB="MM/DD"
|
|
||||||
export CandidateTotalExperience="epoch"
|
|
||||||
|
|
||||||
|
|
||||||
########################
|
|
||||||
#Compensation targets
|
|
||||||
########################
|
|
||||||
|
|
||||||
export CandidateRelocationNetMinimumAmount="1,987.11"
|
|
||||||
|
|
||||||
export CandidateRateSheetRemoteW2HourlyMinimum="\$12.34"
|
|
||||||
export CandidateRateSheetRemoteW2AnnualMinimum="\$123,456.00"
|
|
||||||
export CandidateRateSheetRemote1099HourlyMinimum="\$56.78"
|
|
||||||
|
|
||||||
export CandidateRateSheetRemoteW2HourlyPrefer="\$34.56"
|
|
||||||
export CandidateRateSheetRemoteW2AnnualPrefer="\$321,987.00"
|
|
||||||
export CandidateRateSheetRemote1099HourlyPrefer="\$78.90"
|
|
||||||
|
|
||||||
|
|
||||||
####################################################
|
|
||||||
#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_OUTPUT_DIR="$PipelineClientWorkingDir/build-output"
|
|
||||||
export BUILD_TEMP_DIR="$PipelineClientWorkingDir/build-temp"
|
|
||||||
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/CandidateInfoSheet.md"
|
|
||||||
export CandidateInfoSheetPDFOutputFIle="$BUILD_OUTPUT_DIR/CandidateInfoSheet.pdf"
|
|
||||||
|
|
||||||
export JobBoardMarkdownOutputFile="$BUILD_OUTPUT_DIR/job-board/Resume.md"
|
|
||||||
export JobBoardPDFOutputFile="$BUILD_OUTPUT_DIR/job-board/Resume.pdf"
|
|
||||||
export JobBoardMSWordOutputFile="$BUILD_OUTPUT_DIR/job-board/Resume.doc"
|
|
||||||
|
|
||||||
export ClientSubmissionMarkdownOutputFile="$BUILD_OUTPUT_DIR/client-submission/Resume.md"
|
|
||||||
export ClientSubmissionPDFOutputFile="$BUILD_OUTPUT_DIR/client-submission/Resume.pdf"
|
|
||||||
export ClientSubmissionMSWordOutputFile="$BUILD_OUTPUT_DIR/client-submission/Resume.doc"
|
|
||||||
|
|
||||||
# Call the build-pipeline-server in the vendored repository to produce output artifacts
|
|
||||||
|
|
||||||
bash ../../vendor/git.knownelement.com/reachableceo/MarkdownResume-Pipeline/build/build-pipeline-server.sh
|
|
339
vendor/git.knownelement.com/reachableceo/MarkdownResume-Pipeline/build/build-pipeline-server-json.sh
generated
vendored
Normal file
339
vendor/git.knownelement.com/reachableceo/MarkdownResume-Pipeline/build/build-pipeline-server-json.sh
generated
vendored
Normal file
@@ -0,0 +1,339 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
#####################################################################################################
|
||||||
|
#JSON Resume
|
||||||
|
#####################################################################################################
|
||||||
|
|
||||||
|
####################################################
|
||||||
|
####################################################
|
||||||
|
####################################################
|
||||||
|
#DO NOT CHANGE ANYTHING BELOW THIS LINE
|
||||||
|
####################################################
|
||||||
|
####################################################
|
||||||
|
####################################################
|
||||||
|
|
||||||
|
add_open_section()
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
echo "{" > $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
add_meta_section()
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
cat << META >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
"meta": {
|
||||||
|
"theme": "$JSONRESUME_THEME"
|
||||||
|
},
|
||||||
|
META
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
add_basics_section()
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
cat << BASICS >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
|
||||||
|
"basics": {
|
||||||
|
"name": "$CandidateName",
|
||||||
|
"phone": "$CandidatePhone",
|
||||||
|
"label": "$CandidateRole",
|
||||||
|
"image": "$CandidateAvatar",
|
||||||
|
"summary": "$CandidateOneLineSummary",
|
||||||
|
"website": "$CandidateWebsite",
|
||||||
|
"url": "https://lordajax.com",
|
||||||
|
"email": "$CandidateEmail",
|
||||||
|
"location": {
|
||||||
|
"city": "$CandidateLocation",
|
||||||
|
"countryCode": "$CandidateCountry"
|
||||||
|
},
|
||||||
|
},
|
||||||
|
BASICS
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# Bash Function to Append JSON
|
||||||
|
add_profiles_section ()
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
echo '{"profiles": [' >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
while IFS=, read -r username url network; do
|
||||||
|
cat <<EOF >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
{
|
||||||
|
"username": "$username",
|
||||||
|
"url": "$url",
|
||||||
|
"network": "$network"
|
||||||
|
},
|
||||||
|
EOF
|
||||||
|
done < $JSON_TEMPLATE_DIRECTORY/profiles.csv
|
||||||
|
# Remove trailing comma and close JSON array
|
||||||
|
sed -i '$ s/},/}/' $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
echo ']}' >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
add_certificates_section()
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
echo '{"certificates": [' >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
while IFS=, read -r name date issuer url; do
|
||||||
|
cat <<EOF >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
{
|
||||||
|
"name": "$name",
|
||||||
|
"date": "$date",
|
||||||
|
"issuer": "$issuer",
|
||||||
|
"url": "$url"
|
||||||
|
},
|
||||||
|
EOF
|
||||||
|
done < $JSON_TEMPLATE_DIRECTORY/certificates.csv
|
||||||
|
|
||||||
|
# Remove trailing comma and close JSON array
|
||||||
|
sed -i '$ s/},/}/' $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
echo ']}' >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
add_education_section()
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
echo '{"education": [' >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
while IFS=, read -r institution url area studyType startDate endDate score courses; do
|
||||||
|
cat <<EOF >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
{
|
||||||
|
"institution": "$institution",
|
||||||
|
"url": "$url",
|
||||||
|
"area": "$area",
|
||||||
|
"studyType": "$studyType",
|
||||||
|
"startDate": "$startDate",
|
||||||
|
"endDate": "$endDate",
|
||||||
|
"score": "$score",
|
||||||
|
"courses": [$(echo "$courses" | sed 's/;/","/g' | sed 's/^/"/;s/$/"/')]
|
||||||
|
},
|
||||||
|
EOF
|
||||||
|
done < $JSON_TEMPLATE_DIRECTORY/education.csv
|
||||||
|
|
||||||
|
# Remove trailing comma and close JSON array
|
||||||
|
sed -i '$ s/},/}/' $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
echo ']}' >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
add_references_section()
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
echo '{"references": [' >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
while IFS=, read -r reference name; do
|
||||||
|
cat <<EOF >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
{
|
||||||
|
"reference": "$reference",
|
||||||
|
"name": "$name"
|
||||||
|
},
|
||||||
|
EOF
|
||||||
|
done < $JSON_TEMPLATE_DIRECTORY/references.csv
|
||||||
|
|
||||||
|
# Remove trailing comma and close JSON array
|
||||||
|
sed -i '$ s/},/}/' $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
echo ']}' >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
add_skills_section()
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
echo '{"skills": [' >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
while IFS=, read -r name level keywords; do
|
||||||
|
cat <<EOF >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
{
|
||||||
|
"name": "$name",
|
||||||
|
"level": "$level",
|
||||||
|
"keywords": [$(echo "$keywords" | sed 's/;/","/g' | sed 's/^/"/;s/$/"/')]
|
||||||
|
},
|
||||||
|
EOF
|
||||||
|
done < $JSON_TEMPLATE_DIRECTORY/skills.csv
|
||||||
|
|
||||||
|
# Remove trailing comma and close JSON array
|
||||||
|
sed -i '$ s/},/}/' $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
echo ']}' >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
add_awards_section()
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
echo '{"awards": [' >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
while IFS=, read -r title awarder date summary; do
|
||||||
|
cat <<EOF >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
{
|
||||||
|
"title": "$title",
|
||||||
|
"awarder": "$awarder",
|
||||||
|
"date": "$date",
|
||||||
|
"summary": "$summary"
|
||||||
|
},
|
||||||
|
EOF
|
||||||
|
done < $JSON_TEMPLATE_DIRECTORY/awards.csv
|
||||||
|
|
||||||
|
# Remove trailing comma and close JSON array
|
||||||
|
sed -i '$ s/},/}/' $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
echo ']}' >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
add_publications_section()
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
echo '{"publications": [' >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
while IFS=, read -r name publisher releaseDate url summary; do
|
||||||
|
cat <<EOF >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
{
|
||||||
|
"name": "$name",
|
||||||
|
"publisher": "$publisher",
|
||||||
|
"releaseDate": "$releaseDate",
|
||||||
|
"url": "$url",
|
||||||
|
"summary": "$summary"
|
||||||
|
},
|
||||||
|
EOF
|
||||||
|
done < $JSON_TEMPLATE_DIRECTORY/publications.csv
|
||||||
|
|
||||||
|
# Remove trailing comma and close JSON array
|
||||||
|
sed -i '$ s/},/}/' $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
echo ']}' >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
add_volunteer_section()
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
echo '{"volunteer": [' >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
while IFS=, read -r organization position url startDate summary highlights; do
|
||||||
|
cat <<EOF >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
{
|
||||||
|
"organization": "$organization",
|
||||||
|
"position": "$position",
|
||||||
|
"url": "$url",
|
||||||
|
"startDate": "$startDate",
|
||||||
|
"summary": "$summary",
|
||||||
|
"highlights": [$(echo "$highlights" | sed 's/;/","/g' | sed 's/^/"/;s/$/"/')]
|
||||||
|
},
|
||||||
|
EOF
|
||||||
|
done < $JSON_TEMPLATE_DIRECTORY/volunteer.csv
|
||||||
|
|
||||||
|
# Remove trailing comma and close JSON array
|
||||||
|
sed -i '$ s/},/}/' $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
echo ']}' >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
add_work_section()
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
echo '{"work": [' >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
while IFS=, read -r name position location website startDate endDate summary highlights; do
|
||||||
|
cat <<EOF >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
{
|
||||||
|
"name": "$name",
|
||||||
|
"position": "$position",
|
||||||
|
"location": "$location",
|
||||||
|
"website": "$website",
|
||||||
|
"startDate": "$startDate",
|
||||||
|
"endDate": "$endDate",
|
||||||
|
"summary": "$summary",
|
||||||
|
"highlights": [$(echo "$highlights" | sed 's/;/","/g' | sed 's/^/"/;s/$/"/')]
|
||||||
|
},
|
||||||
|
EOF
|
||||||
|
done < $JSON_TEMPLATE_DIRECTORY/work.csv
|
||||||
|
|
||||||
|
# Remove trailing comma and close JSON array
|
||||||
|
sed -i '$ s/},/}/' $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
echo ']}' >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
add_languages_section()
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
echo '{"languages": [' >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
while IFS=, read -r language fluency; do
|
||||||
|
cat <<EOF >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
{
|
||||||
|
"language": "$language",
|
||||||
|
"fluency": "$fluency"
|
||||||
|
},
|
||||||
|
EOF
|
||||||
|
done < $JSON_TEMPLATE_DIRECTORY/languages.csv
|
||||||
|
|
||||||
|
# Remove trailing comma and close JSON array
|
||||||
|
sed -i '$ s/},/}/' $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
echo ']}' >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
add_interests_section()
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
echo '{"interests": [' >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
while IFS=, read -r name keywords; do
|
||||||
|
cat <<EOF >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
{
|
||||||
|
"name": "$name",
|
||||||
|
"keywords": [$(echo "$keywords" | sed 's/;/","/g' | sed 's/^/"/;s/$/"/')]
|
||||||
|
},
|
||||||
|
EOF
|
||||||
|
done < $JSON_TEMPLATE_DIRECTORY/interests.csv
|
||||||
|
|
||||||
|
# Remove trailing comma and close JSON array
|
||||||
|
sed -i '$ s/},/}/' $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
echo ']}' >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
add_close_section()
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
echo "}" >> $BUILD_OUTPUT_DIR/resume.json
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
main()
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
add_open_section
|
||||||
|
add_meta_section
|
||||||
|
add_basics_section
|
||||||
|
add_profiles_section
|
||||||
|
add_work_section
|
||||||
|
add_volunteer_section
|
||||||
|
add_education_section
|
||||||
|
add_awards_section
|
||||||
|
add_certificates_section
|
||||||
|
add_publications_section
|
||||||
|
add_skills_section
|
||||||
|
add_languages_section
|
||||||
|
add_interests_section
|
||||||
|
add_references_section
|
||||||
|
add_close_section
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
main
|
@@ -1,32 +1,40 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
#####################################################################################################
|
#####################################################################################################
|
||||||
#Markdown to PDF/MSWord Resumek and candidate info sheet
|
#Markdown to PDF/MSWord Resumek and candidate info sheet
|
||||||
#####################################################################################################
|
#####################################################################################################
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Create the candidate information PDF
|
||||||
|
#############################################
|
||||||
|
|
||||||
# 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" "$PipelineClientWorkingDir/build/BuildTemplate-CandidateInfoSheet.yml" > "$BUILDYAML_CANDIDATEINFOSHEET"
|
$MO_PATH $YamlInputTemplateFileJobBoard > $BUILDYAML_JOBBOARD
|
||||||
"$MO_PATH" "$PipelineClientWorkingDir/build/BuildTemplate-JobBoard.yml >" "$BUILDYAML_JOBBOARD"
|
$MO_PATH $YamlInputTemplateFileClientSubmission > $BUILDYAML_CLIENTSUBMISSION
|
||||||
"$MO_PATH" "$PipelineClientWorkingDir/build/BuildTemplate-ClientSubmission.yml" > "$BUILDYAML_CLIENTSUBMISSION"
|
$MO_PATH $YamlInputTemplateFileClientSubmission > $BUILDYAML_CANDIDATEINFOSHEET
|
||||||
|
|
||||||
echo "Creating candidate info sheet..."
|
echo "Creating candidate info sheet..."
|
||||||
|
|
||||||
"$MO_PATH" "$PipelineClientWorkingDir/Templates/CandidateInfoSheet/CandidateInfoSheet.md" > "$CandidateInfoSheetMarkdownOutputFile"
|
$MO_PATH $PipelineClientWorkingDir/Templates/MarkdownResume/CandidateInfoSheet/CandidateInfoSheet.md > "$CandidateInfoSheetMarkdownOutputFile"
|
||||||
|
|
||||||
pandoc \
|
pandoc \
|
||||||
"$CandidateInfoSheetMarkdownOutputFile" \
|
"$CandidateInfoSheetMarkdownOutputFile" \
|
||||||
--template eisvogel \
|
--template $PANDOC_TEMPLATE \
|
||||||
--metadata-file="$PipelineClientWorkingDir/build-temp/CandidateInfoSheet.yml" \
|
--metadata-file="$BUILDYAML_CANDIDATEINFOSHEET" \
|
||||||
--from markdown \
|
--from markdown \
|
||||||
--to=pdf \
|
--to=pdf \
|
||||||
--output "$CandidateInfoSheetPDFOutputFile"
|
--output $CandidateInfoSheetPDFOutputFile
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
echo "Combining markdown files into single input file for pandoc..."
|
echo "Combining markdown files into single input file for pandoc..."
|
||||||
|
|
||||||
# Create contact info md file
|
# Create contact info md file
|
||||||
$MO_PATH "$PipelineClientWorkingDir/Templates/ContactInfo/ContactInfo-JobBoard.md" > "$BUILD_TEMP_DIR/ContactInfo-JobBoard.md"
|
$MO_PATH "$PipelineClientWorkingDir/Templates/MarkdownResume/ContactInfo/ContactInfo-JobBoard.md" > "$BUILD_TEMP_DIR/ContactInfo-JobBoard.md"
|
||||||
$MO_PATH "$PipelineClientWorkingDir/Templates/ContactInfo/ContactInfo-ClientSubmit.md" > "$BUILD_TEMP_DIR/ContactInfo-ClientSubmit.md"
|
$MO_PATH "$PipelineClientWorkingDir/Templates/MarkdownResume/ContactInfo/ContactInfo-ClientSubmit.md" > "$BUILD_TEMP_DIR/ContactInfo-ClientSubmit.md"
|
||||||
|
|
||||||
#Pull in contact info
|
#Pull in contact info
|
||||||
cat "$BUILD_TEMP_DIR/ContactInfo-JobBoard.md" >> "$JobBoardMarkdownOutputFile"
|
cat "$BUILD_TEMP_DIR/ContactInfo-JobBoard.md" >> "$JobBoardMarkdownOutputFile"
|
||||||
@@ -38,10 +46,10 @@ echo " " >> "$ClientSubmissionMarkdownOutputFile"
|
|||||||
echo "## Career Highlights" >> "$JobBoardMarkdownOutputFile"
|
echo "## Career Highlights" >> "$JobBoardMarkdownOutputFile"
|
||||||
echo "## Career Highlights" >> "$ClientSubmissionMarkdownOutputFile"
|
echo "## Career Highlights" >> "$ClientSubmissionMarkdownOutputFile"
|
||||||
|
|
||||||
cat "$PipelineClientWorkingDir/Templates/SkillsAndProjects/Projects.md" >> "$JobBoardMarkdownOutputFile"
|
cat "$PipelineClientWorkingDir/Templates/MarkdownResume/SkillsAndProjects/Projects.md" >> "$JobBoardMarkdownOutputFile"
|
||||||
echo "\pagebreak" >> "$JobBoardMarkdownOutputFile"
|
echo "\pagebreak" >> "$JobBoardMarkdownOutputFile"
|
||||||
|
|
||||||
cat "$PipelineClientWorkingDir/Templates/SkillsAndProjects/Projects.md" >> "$ClientSubmissionMarkdownOutputFile"
|
cat "$PipelineClientWorkingDir/Templates/MarkdownResume/SkillsAndProjects/Projects.md" >> "$ClientSubmissionMarkdownOutputFile"
|
||||||
echo "\pagebreak" >> "$ClientSubmissionMarkdownOutputFile"
|
echo "\pagebreak" >> "$ClientSubmissionMarkdownOutputFile"
|
||||||
|
|
||||||
echo " " >> "$JobBoardMarkdownOutputFile"
|
echo " " >> "$JobBoardMarkdownOutputFile"
|
||||||
@@ -62,7 +70,7 @@ echo " " >> "$ClientSubmissionMarkdownOutputFile"
|
|||||||
|
|
||||||
IFS=$'\n\t'
|
IFS=$'\n\t'
|
||||||
for position in \
|
for position in \
|
||||||
$(cat "$PipelineClientWorkingDir/Templates/WorkHistory/WorkHistory.csv"); do
|
$(cat "$PipelineClientWorkingDir/Templates/MarkdownResume/WorkHistory/WorkHistory.csv"); do
|
||||||
|
|
||||||
COMPANY="$(echo $position|awk -F ',' '{print $1}')"
|
COMPANY="$(echo $position|awk -F ',' '{print $1}')"
|
||||||
TITLE="$(echo $position|awk -F ',' '{print $2}')"
|
TITLE="$(echo $position|awk -F ',' '{print $2}')"
|
||||||
@@ -76,10 +84,10 @@ echo "**$COMPANY | $TITLE | $DATEOFEMPLOY**" >> "$ClientSubmissionMarkdownOutput
|
|||||||
echo " " >> "$ClientSubmissionMarkdownOutputFile"
|
echo " " >> "$ClientSubmissionMarkdownOutputFile"
|
||||||
|
|
||||||
echo " " >> "$JobBoardMarkdownOutputFile"
|
echo " " >> "$JobBoardMarkdownOutputFile"
|
||||||
cat "$PipelineClientWorkingDir/Templates/JobHistoryDetails/$COMPANY.md" >> "$JobBoardMarkdownOutputFile"
|
cat "$PipelineClientWorkingDir/Templates/MarkdownResume/JobHistoryDetails/$COMPANY.md" >> "$JobBoardMarkdownOutputFile"
|
||||||
echo " " >> "$JobBoardMarkdownOutputFile"
|
echo " " >> "$JobBoardMarkdownOutputFile"
|
||||||
|
|
||||||
cat "$PipelineClientWorkingDir/Templates/JobHistoryDetails/$COMPANY.md" >> "$ClientSubmissionMarkdownOutputFile"
|
cat "$PipelineClientWorkingDir/Templates/MarkdownResume/JobHistoryDetails/$COMPANY.md" >> "$ClientSubmissionMarkdownOutputFile"
|
||||||
echo " " >> "$ClientSubmissionMarkdownOutputFile"
|
echo " " >> "$ClientSubmissionMarkdownOutputFile"
|
||||||
done
|
done
|
||||||
|
|
||||||
@@ -105,7 +113,7 @@ echo "|---|---|---|" >> "$ClientSubmissionMarkdownOutputFile"
|
|||||||
#Table rows
|
#Table rows
|
||||||
IFS=$'\n\t'
|
IFS=$'\n\t'
|
||||||
for skill in \
|
for skill in \
|
||||||
$(cat "$PipelineClientWorkingDir/Templates/SkillsAndProjects/Skills.csv"); do
|
$(cat "$PipelineClientWorkingDir/Templates/MarkdownResume/SkillsAndProjects/Skills.csv"); do
|
||||||
SKILL_NAME="$(echo $skill|awk -F '|' '{print $1}')"
|
SKILL_NAME="$(echo $skill|awk -F '|' '{print $1}')"
|
||||||
SKILL_YEARS="$(echo $skill|awk -F '|' '{print $2}')"
|
SKILL_YEARS="$(echo $skill|awk -F '|' '{print $2}')"
|
||||||
SKILL_DETAIL="$(echo $skill|awk -F '|' '{print $3}')"
|
SKILL_DETAIL="$(echo $skill|awk -F '|' '{print $3}')"
|
||||||
@@ -119,38 +127,38 @@ echo "Generating PDF output for job board version..."
|
|||||||
|
|
||||||
pandoc \
|
pandoc \
|
||||||
"$JobBoardMarkdownOutputFile" \
|
"$JobBoardMarkdownOutputFile" \
|
||||||
--template eisvogel \
|
--template $PANDOC_TEMPLATE \
|
||||||
--metadata-file="$PipelineClientWorkingDir/build-temp/JobBoard.yml" \
|
--metadata-file="$BUILDYAML_JOBBOARD" \
|
||||||
--from markdown \
|
--from markdown \
|
||||||
--to=pdf \
|
--to=pdf \
|
||||||
--output "$JobBoardPDFOutputFile"
|
--output "$JobBoardPDFOutputFile"
|
||||||
|
|
||||||
echo "Generating MSWord output for job board version..."
|
|
||||||
|
|
||||||
pandoc \
|
|
||||||
"$JobBoardMarkdownOutputFile" \
|
|
||||||
--metadata-file="$PipelineClientWorkingDir/build-temp/JobBoard.yml" \
|
|
||||||
--from markdown \
|
|
||||||
--to=docx \
|
|
||||||
--reference-doc="$PipelineClientWorkingDir/build/resume-docx-reference.docx" \
|
|
||||||
--output "$JobBoardMSWordOutputFile"
|
|
||||||
|
|
||||||
echo "Generating PDF output for client submission version..."
|
echo "Generating PDF output for client submission version..."
|
||||||
|
|
||||||
pandoc \
|
pandoc \
|
||||||
"$ClientSubmissionMarkdownOutputFile" \
|
"$ClientSubmissionMarkdownOutputFile" \
|
||||||
--template eisvogel \
|
--template "$PANDOC_TEMPLATE" \
|
||||||
--metadata-file="$PipelineClientWorkingDir/build-temp/ClientSubmission.yml" \
|
--metadata-file="$BUILDYAML_CLIENTSUBMISSION" \
|
||||||
--from markdown \
|
--from markdown \
|
||||||
--to=pdf \
|
--to=pdf \
|
||||||
--output "$ClientSubmissionPDFOutputFile"
|
--output "$ClientSubmissionPDFOutputFile"
|
||||||
|
|
||||||
|
echo "Generating MSWord output for job board version..."
|
||||||
|
|
||||||
|
pandoc \
|
||||||
|
"$JobBoardMarkdownOutputFile" \
|
||||||
|
--metadata-file="$BUILDYAML_JOBBOARD" \
|
||||||
|
--from markdown \
|
||||||
|
--to=docx \
|
||||||
|
--reference-doc="$WordOutputReferenceDoc" \
|
||||||
|
--output "$JobBoardMSWordOutputFile"
|
||||||
|
|
||||||
echo "Generating MSWord output for client submission version..."
|
echo "Generating MSWord output for client submission version..."
|
||||||
|
|
||||||
pandoc \
|
pandoc \
|
||||||
"$ClientSubmissionMarkdownOutputFile" \
|
"$ClientSubmissionMarkdownOutputFile" \
|
||||||
--metadata-file="$PipelineClientWorkingDir/build-temp/ClientSubmission.yml" \
|
--metadata-file="$BUILDYAML_CLIENTSUBMISSION" \
|
||||||
--from markdown \
|
--from markdown \
|
||||||
--to=docx \
|
--to=docx \
|
||||||
--reference-doc="$PipelineClientWorkingDir/build/resume-docx-reference.docx" \
|
--reference-doc="$WordOutputReferenceDoc" \
|
||||||
--output "$ClientSubmissionMSWordOutputFile"
|
--output "$ClientSubmissionMSWordOutputFile"
|
Reference in New Issue
Block a user