.
This commit is contained in:
parent
4fd5750111
commit
d6c98f0c22
@ -3,13 +3,14 @@
|
|||||||
###################################################
|
###################################################
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
#SET THIS NEXT VARIABLE OR NOTHING WILL WORK!!!!
|
#SET THESE VARIABLES OR NOTHING WILL WORK!!!!
|
||||||
|
|
||||||
export PipelineClientWorkingDir="D:/tsys/@ReachableCEO/DSR-Pipeline-ClientExample/local"
|
export PipelineClientWorkingDir="D:/tsys/@ReachableCEO/DSR-Pipeline-ClientExample/local"
|
||||||
|
export StakeholderOutputMarkdownInputFile="$1"
|
||||||
|
|
||||||
#SET THE PREVIOUS VARIABLE OR NOTHING WILL WORK!!!!
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
|
|
||||||
##########################################
|
##########################################
|
||||||
# Layout/title page /formatting options
|
# Layout/title page /formatting options
|
||||||
##########################################
|
##########################################
|
||||||
@ -22,3 +23,23 @@ export URLCOLOR="blue"
|
|||||||
export PAGEBACKGROUND="$PipelineClientWorkingDir/build/background5.pdf"
|
export PAGEBACKGROUND="$PipelineClientWorkingDir/build/background5.pdf"
|
||||||
export PANDOC_TEMPLATE="eisvogel"
|
export PANDOC_TEMPLATE="eisvogel"
|
||||||
export YamlInputTemplateFileStakeholderOutput="$PipelineClientWorkingDir/build/BuildTemplate-StakeholderOutput.yml"
|
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=""
|
||||||
|
export DISCOURSE_API_USERNAME=""
|
||||||
|
export DISCOURSE_CATEGORY_ID=""
|
||||||
|
export DISCOURSE_POST_TITLE=""
|
@ -5,36 +5,18 @@ set -euo pipefail
|
|||||||
# This is a demo script for the DSR-Pipeline-Server
|
# This is a demo script for the DSR-Pipeline-Server
|
||||||
# This script creates PDF output from markdown input
|
# This script creates PDF output from markdown input
|
||||||
|
|
||||||
|
|
||||||
###############@##################################
|
###############@##################################
|
||||||
#Edit the below file to reflect your information
|
#Edit the below file to reflect your information
|
||||||
##################################################
|
##################################################
|
||||||
|
|
||||||
source "../StakeholderOutputVariables.env"
|
source "../StakeholderOutputVariables.env"
|
||||||
|
|
||||||
####################################################
|
|
||||||
####################################################
|
|
||||||
####################################################
|
####################################################
|
||||||
#DO NOT CHANGE ANYTHING BELOW THIS LINE
|
#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 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..."
|
echo "Cleaning up from previous runs..."
|
||||||
|
|
||||||
rm $BUILDYAML_STAKEHOLDER_OUTPUT || true
|
rm $BUILDYAML_STAKEHOLDER_OUTPUT || true
|
||||||
|
Loading…
Reference in New Issue
Block a user