From 67ba17c9a099d394fa176b4b9a5bf4136c4117d3 Mon Sep 17 00:00:00 2001 From: Charles N Wyble Date: Sun, 15 Dec 2024 17:01:14 -0600 Subject: [PATCH] . --- local/StakeholderOutputVariables.env | 44 ----------------- .../build/BuildTemplate-StakeholderOutput.yml | 12 ----- .../build/build-stakeholder-output-client.sh | 49 ------------------- 3 files changed, 105 deletions(-) delete mode 100644 local/StakeholderOutputVariables.env delete mode 100644 local/build/BuildTemplate-StakeholderOutput.yml delete mode 100644 local/build/build-stakeholder-output-client.sh diff --git a/local/StakeholderOutputVariables.env b/local/StakeholderOutputVariables.env deleted file mode 100644 index 7d54bad..0000000 --- a/local/StakeholderOutputVariables.env +++ /dev/null @@ -1,44 +0,0 @@ -################################################### -# Modify these values to suit -################################################### - -############################################################################# -#SET THIS NEXT VARIABLE OR NOTHING WILL WORK!!!! - -export PipelineClientWorkingDir="D:/tsys/@ReachableCEO/DSR-Pipeline-ReachableCEO/local" - -#SET THE PREVIOUS VARIABLE OR NOTHING WILL WORK!!!! -############################################################################# - -########################################## -# Layout/title page /formatting options -########################################## - -export ReportAuthor="Charles N Wyble" -export AuthorTagline="Tenaciy. Velocity. Focus." -export AuthorLogo="D:/tsys/@ReachableCEO/ReachableCEO.png" -export SourceCode="https://git.knownelement.com/reachableceo/DSR_Pipeline-ReachableCEO" -export URLCOLOR="blue" -export PAGEBACKGROUND="$PipelineClientWorkingDir/build/background5.pdf" -export PANDOC_TEMPLATE="eisvogel" -export YamlInputTemplateFileStakeholderOutput="$PipelineClientWorkingDir/build/BuildTemplate-StakeholderOutput.yml" - -################################################################### -# Output Artifact variables -################################################################### - -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" - -################################################################### -# Publish variables -################################################################### - -export DISCOURSE_URL="https://community.turnsys.com" -export DISCOURSE_API_USERNAME="reachableceo" -export DISCOURSE_CATEGORY_ID="61" -export DISCOURSE_POST_TITLE="Daily Stakeholder Report" \ No newline at end of file diff --git a/local/build/BuildTemplate-StakeholderOutput.yml b/local/build/BuildTemplate-StakeholderOutput.yml deleted file mode 100644 index 4dc3a2c..0000000 --- a/local/build/BuildTemplate-StakeholderOutput.yml +++ /dev/null @@ -1,12 +0,0 @@ -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/build-stakeholder-output-client.sh b/local/build/build-stakeholder-output-client.sh deleted file mode 100644 index 2cdb338..0000000 --- a/local/build/build-stakeholder-output-client.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/bash - -set -euo pipefail - -# This is a demo script for the DSR-Pipeline-Server -# This script creates PDF output from markdown input - - -###############@################################## -#Edit the below file to reflect your information -################################################## - -source "../StakeholderOutputVariables.env" - -#################################################### -#################################################### -#################################################### -#DO NOT CHANGE ANYTHING BELOW THIS LINE -#################################################### -#################################################### -#################################################### - -############################################################################################ -# Setup key variables that will be used by the create-stakeholder-output-server.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" - -export StakeholderOutputMarkdownInputFile="$1" - -echo "Cleaning up from previous runs..." - -rm $BUILDYAML_STAKEHOLDER_OUTPUT || true -rm $StakeholderOutputMarkdownOutputFile || true -rm $StakeholderOutputPDFOutputFile || true - -echo "Combining markdown files into single input file for pandoc..." -cat $StakeholderOutputMarkdownInputFile > $StakeholderOutputMarkdownOutputFile - -#Call the build stakeholder output microservice -echo "Calling the build stakeholder output microservice..." -bash ../../vendor/git.knownelement.com/reachableceo/DSR-Pipeline-Server/build/build-stakeholder-output-server.sh \ No newline at end of file