diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bd9cfe8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +dsr-build-temp/ +dsr-build-output/ \ No newline at end of file diff --git a/dsr-publish/2025Plan.yml b/dsr-publish/2025Plan.yml deleted file mode 100644 index 13cd678..0000000 --- a/dsr-publish/2025Plan.yml +++ /dev/null @@ -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 diff --git a/dsr-publish/create-2025Plan.sh b/dsr-publish/create-2025Plan.sh deleted file mode 100644 index ed6d1b4..0000000 --- a/dsr-publish/create-2025Plan.sh +++ /dev/null @@ -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 diff --git a/dsr-publish/create-dsr-pdf.sh b/dsr-publish/create-dsr-pdf.sh deleted file mode 100644 index fbddd5f..0000000 --- a/dsr-publish/create-dsr-pdf.sh +++ /dev/null @@ -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 diff --git a/dsr-publish/daily-stakeholder-report.yml b/dsr-publish/daily-stakeholder-report.yml deleted file mode 100644 index 1d8971a..0000000 --- a/dsr-publish/daily-stakeholder-report.yml +++ /dev/null @@ -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" diff --git a/dsr-publish/publish-dsr.sh b/local/build/PublishStakeholderReport.sh similarity index 100% rename from dsr-publish/publish-dsr.sh rename to local/build/PublishStakeholderReport.sh diff --git a/local/build/StakeholderProduct.yml b/local/build/StakeholderProduct.yml new file mode 100644 index 0000000..2c29ea4 --- /dev/null +++ b/local/build/StakeholderProduct.yml @@ -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}}" \ No newline at end of file diff --git a/local/build/StakeholderProductVariables.env b/local/build/StakeholderProductVariables.env new file mode 100644 index 0000000..1dc3bf9 --- /dev/null +++ b/local/build/StakeholderProductVariables.env @@ -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" \ No newline at end of file diff --git a/dsr-publish/background5.pdf b/local/build/background5.pdf similarity index 100% rename from dsr-publish/background5.pdf rename to local/build/background5.pdf diff --git a/local/build/create-stakeholder-output-client.sh b/local/build/create-stakeholder-output-client.sh new file mode 100644 index 0000000..67086e6 --- /dev/null +++ b/local/build/create-stakeholder-output-client.sh @@ -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 diff --git a/dsr-input/README.md b/local/dsr-input/README.md similarity index 100% rename from dsr-input/README.md rename to local/dsr-input/README.md diff --git a/dsr-input/dsr-gather-gitea.sh b/local/dsr-input/dsr-gather-gitea.sh similarity index 100% rename from dsr-input/dsr-gather-gitea.sh rename to local/dsr-input/dsr-gather-gitea.sh diff --git a/dsr-input/export-joplin-md.sh b/local/dsr-input/export-joplin-md.sh similarity index 100% rename from dsr-input/export-joplin-md.sh rename to local/dsr-input/export-joplin-md.sh diff --git a/dsr-joplin-create/dsr-new.sh b/local/dsr-joplin-create/dsr-new.sh similarity index 100% rename from dsr-joplin-create/dsr-new.sh rename to local/dsr-joplin-create/dsr-new.sh diff --git a/dsr-joplin-create/dsr-populate-objectives.sh b/local/dsr-joplin-create/dsr-populate-objectives.sh similarity index 100% rename from dsr-joplin-create/dsr-populate-objectives.sh rename to local/dsr-joplin-create/dsr-populate-objectives.sh diff --git a/endstops/end-day.sh b/local/endstops/end-day.sh similarity index 100% rename from endstops/end-day.sh rename to local/endstops/end-day.sh diff --git a/endstops/start-day.sh b/local/endstops/start-day.sh similarity index 100% rename from endstops/start-day.sh rename to local/endstops/start-day.sh