.
This commit is contained in:
parent
19260c7e5a
commit
c0dffd42fb
7
.gitignore
vendored
Normal file
7
.gitignore
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
local/build-temp/*.md
|
||||||
|
local/build-temp/*.yml
|
||||||
|
|
||||||
|
local/build-output/*.md
|
||||||
|
local/build-output/*.pdf
|
||||||
|
|
||||||
|
StakeholderJoplin/*
|
24
local/StakeholderOutputVariables.env
Normal file
24
local/StakeholderOutputVariables.env
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
###################################################
|
||||||
|
# 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"
|
12
local/build/BuildTemplate-StakeholderOutput.yml
Normal file
12
local/build/BuildTemplate-StakeholderOutput.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}}"
|
70
local/build/background5.pdf
Normal file
70
local/build/background5.pdf
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
%PDF-1.5
|
||||||
|
%µí®û
|
||||||
|
3 0 obj
|
||||||
|
<< /Length 4 0 R
|
||||||
|
/Filter /FlateDecode
|
||||||
|
>>
|
||||||
|
stream
|
||||||
|
xœmŽ;Â@Dû=…/€±½þí18 „ûKì‚¢D
|
||||||
|
ráÑÈóƯÂ0f™á|%˜ß… •1ÓÁš¡DÀég,7˜
|
||||||
|
!‹iÂjÒ”»P µ/c<>h¶px‚r‰<C382>ˆá±1Wã^Ž™Q’d£%qó!º‘9ZD›j¿¥
UÅѪíÙûËAµp<C2B5>ñr$Õ&]x_ìƒÊ‘ȽŸI±WÿÃ?f¦r)Ì6EU
|
||||||
|
endstream
|
||||||
|
endobj
|
||||||
|
4 0 obj
|
||||||
|
168
|
||||||
|
endobj
|
||||||
|
2 0 obj
|
||||||
|
<<
|
||||||
|
/ExtGState <<
|
||||||
|
/a0 << /CA 1 /ca 1 >>
|
||||||
|
>>
|
||||||
|
>>
|
||||||
|
endobj
|
||||||
|
5 0 obj
|
||||||
|
<< /Type /Page
|
||||||
|
/Parent 1 0 R
|
||||||
|
/MediaBox [ 0 0 595.275574 841.889771 ]
|
||||||
|
/Contents 3 0 R
|
||||||
|
/Group <<
|
||||||
|
/Type /Group
|
||||||
|
/S /Transparency
|
||||||
|
/I true
|
||||||
|
/CS /DeviceRGB
|
||||||
|
>>
|
||||||
|
/Resources 2 0 R
|
||||||
|
>>
|
||||||
|
endobj
|
||||||
|
1 0 obj
|
||||||
|
<< /Type /Pages
|
||||||
|
/Kids [ 5 0 R ]
|
||||||
|
/Count 1
|
||||||
|
>>
|
||||||
|
endobj
|
||||||
|
6 0 obj
|
||||||
|
<< /Creator (cairo 1.14.8 (http://cairographics.org))
|
||||||
|
/Producer (cairo 1.14.8 (http://cairographics.org))
|
||||||
|
>>
|
||||||
|
endobj
|
||||||
|
7 0 obj
|
||||||
|
<< /Type /Catalog
|
||||||
|
/Pages 1 0 R
|
||||||
|
>>
|
||||||
|
endobj
|
||||||
|
xref
|
||||||
|
0 8
|
||||||
|
0000000000 65535 f
|
||||||
|
0000000582 00000 n
|
||||||
|
0000000282 00000 n
|
||||||
|
0000000015 00000 n
|
||||||
|
0000000260 00000 n
|
||||||
|
0000000354 00000 n
|
||||||
|
0000000647 00000 n
|
||||||
|
0000000774 00000 n
|
||||||
|
trailer
|
||||||
|
<< /Size 8
|
||||||
|
/Root 7 0 R
|
||||||
|
/Info 6 0 R
|
||||||
|
>>
|
||||||
|
startxref
|
||||||
|
826
|
||||||
|
%%EOF
|
49
local/build/build-stakeholder-output-client.sh
Normal file
49
local/build/build-stakeholder-output-client.sh
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
#!/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
|
Loading…
Reference in New Issue
Block a user