.
This commit is contained in:
parent
ba06737c26
commit
8ef71b6e10
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
dsr-build-temp/
|
||||||
|
dsr-build-output/
|
@ -1,12 +0,0 @@
|
|||||||
title: ReachableCEO 2025 Plan
|
|
||||||
titlepage: true
|
|
||||||
toc: true
|
|
||||||
toc-own-page: true
|
|
||||||
header-left: "\\hspace{1cm}"
|
|
||||||
header-center: "\\leftmark"
|
|
||||||
header-right: "Page \\thepage"
|
|
||||||
footer-left: "Charles N Wyble"
|
|
||||||
footer-center: "Tenacity. Velocity. Focus."
|
|
||||||
page-background: "./background5.pdf"
|
|
||||||
titlepage-logo: "D:/tsys/@ReachableCEO/ReachableCEO.png"
|
|
||||||
urlcolor: blue
|
|
@ -1,14 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
INPUT_FILE="../dsr-build-temp/@DailyStakeholderReports/StrategicPlans/2025-ReachableCEO-Plan.md"
|
|
||||||
OUTPUT_FILE="../dsr-build-output/ReachableCEO2025Plan.pdf"
|
|
||||||
METADATA_FILE="2025Plan.yml"
|
|
||||||
TEMPLATE="eisvogel"
|
|
||||||
|
|
||||||
pandoc \
|
|
||||||
$INPUT_FILE \
|
|
||||||
--template $TEMPLATE \
|
|
||||||
--metadata-file=$METADATA_FILE \
|
|
||||||
--from markdown \
|
|
||||||
--to=pdf \
|
|
||||||
--output $OUTPUT_FILE
|
|
@ -1,17 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
TODAY_DATE=$(date +%m-%d-%Y)
|
|
||||||
INPUT_FILE="DSR-$TODAY_DATE.md"
|
|
||||||
OUTPUT_FILE="/d/tsys/@ReachableCEO/DailyStakeholderReport-Pipeline/dsr-build-output/DSR-$TODAY_DATE.pdf"
|
|
||||||
METADATA_FILE="/d/tsys/@ReachableCEO/DailyStakeholderReport-Pipeline/dsr-publish/daily-stakeholder-report.yml"
|
|
||||||
TEMPLATE="eisvogel"
|
|
||||||
|
|
||||||
cd /d/tsys/@ReachableCEO/DailyStakeholderReport-Pipeline/dsr-build-temp/@DailyStakeholderReports/Today || exit
|
|
||||||
|
|
||||||
pandoc \
|
|
||||||
$INPUT_FILE \
|
|
||||||
--template $TEMPLATE \
|
|
||||||
--metadata-file=$METADATA_FILE \
|
|
||||||
--from markdown \
|
|
||||||
--to=pdf \
|
|
||||||
--output $OUTPUT_FILE
|
|
@ -1,11 +0,0 @@
|
|||||||
title: Daily Stakeholder Report - \today
|
|
||||||
urlcolor: blue
|
|
||||||
titlepage: true
|
|
||||||
header-left: "\\hspace{1cm}"
|
|
||||||
header-center: "\\leftmark"
|
|
||||||
header-right: "Page \\thepage"
|
|
||||||
footer-left: "Charles N Wyble"
|
|
||||||
footer-center: "Tenacity. Velocity. Focus."
|
|
||||||
footer-right: "[Source code](https://git.knownelement.com/reachableceo/DailyStakeholderReport-Pipeline/src/branch/main/dsr-publish/create-dsr-pdf.sh)"
|
|
||||||
page-background: "D:/tsys/@ReachableCEO/DailyStakeholderReport-Pipeline/dsr-publish/background5.pdf"
|
|
||||||
titlepage-logo: "D:/tsys/@ReachableCEO/ReachableCEO.png"
|
|
12
local/build/StakeholderProduct.yml
Normal file
12
local/build/StakeholderProduct.yml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
title: "{{ReportAuthor}} Daily Stakeholder Report - \today"
|
||||||
|
titlepage: true
|
||||||
|
titlepage-logo: "{{CandidateLogo}}"
|
||||||
|
date: \today
|
||||||
|
header-left: "\\hspace{1cm}"
|
||||||
|
header-center: "\\leftmark"
|
||||||
|
header-right: "Page \\thepage"
|
||||||
|
footer-left: "{{ReportAuthor}}"
|
||||||
|
footer-center: "{{AuthorTagline}}"
|
||||||
|
footer-right: "[Pipeline Source code]({{SourceCode}})"
|
||||||
|
urlcolor: {{URLCOLOR}}
|
||||||
|
page-background: "{{PAGEBACKGROUND}}"
|
22
local/build/StakeholderProductVariables.env
Normal file
22
local/build/StakeholderProductVariables.env
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
###################################################
|
||||||
|
# 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!!!!
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
##########################################
|
||||||
|
# Layout/title page /formatting options
|
||||||
|
##########################################
|
||||||
|
|
||||||
|
export ReportAuthor="First Middle Last"
|
||||||
|
export AuthorTagline="Your.Tagline.Here."
|
||||||
|
export AuthorLogo=""
|
||||||
|
export SourceCode="https://git.knownelement.com/reachableceo/MarkdownResume-Pipeline"
|
||||||
|
export URLCOLOR="blue"
|
||||||
|
export PAGEBACKGROUND="./background3.pdf"
|
41
local/build/create-stakeholder-output-client.sh
Normal file
41
local/build/create-stakeholder-output-client.sh
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# This is a demo script for the DSR-Pipeline-Server
|
||||||
|
# This script creates PDF output from markdown input
|
||||||
|
|
||||||
|
|
||||||
|
############################################
|
||||||
|
#Edit this file to reflect your information
|
||||||
|
############################################
|
||||||
|
|
||||||
|
source "./StakeholderProductVariables.env"
|
||||||
|
|
||||||
|
####################################################
|
||||||
|
####################################################
|
||||||
|
####################################################
|
||||||
|
#DO NOT CHANGE ANYTHING BELOW THIS LINE
|
||||||
|
####################################################
|
||||||
|
####################################################
|
||||||
|
####################################################
|
||||||
|
|
||||||
|
######################################################################################
|
||||||
|
# Setup key variables that will be used by the build-pipeline-server-markdown.sh script
|
||||||
|
######################################################################################
|
||||||
|
|
||||||
|
export MO_PATH="bash ../../vendor/git.knownelement.com/ExternalVendorCode/mo/mo"
|
||||||
|
|
||||||
|
export BUILD_TEMP_DIR="$PipelineClientWorkingDir/build-temp"
|
||||||
|
export BUILD_OUTPUT_DIR="$PipelineClientWorkingDir/build-output"
|
||||||
|
|
||||||
|
export BUILDYAML_STAKEHOLDER_OUTPUT="$BUILD_TEMP_DIR/StakeholderOutput.yml"
|
||||||
|
export StakeholderOutputMarkdownOutputFile="$BUILD_OUTPUT_DIR/StakeholderOutput.md"
|
||||||
|
export StakeholderOutputPDFOutputFile="$BUILD_OUTPUT_DIR/StakeholderOutput.pdf"
|
||||||
|
|
||||||
|
|
||||||
|
echo "Cleaning up from previous runs..."
|
||||||
|
|
||||||
|
rm $BUILDYAML_STAKEHOLDER_OUTPUT
|
||||||
|
rm $StakeholderOutputMarkdownOutputFile
|
||||||
|
rm $StakeholderOutputPDFOutputFile
|
||||||
|
|
||||||
|
bash ../../vendor/git.knownelement.com/reachableceo/DSR-Pipeline-Server/build/build-stakeholder-output-server.sh
|
Loading…
x
Reference in New Issue
Block a user