Subfolders
Build Failed A Ravenous PDF build or deployment failed.
Build Successful The Ravenous rulebook, player handbook, master handbook, and balance reports were built successfully.
Ravenous/ravenous_typst/pipeline/head This commit looks good
Details
Build Failed A Ravenous PDF build or deployment failed.
Build Successful The Ravenous rulebook, player handbook, master handbook, and balance reports were built successfully.
Ravenous/ravenous_typst/pipeline/head This commit looks good
Details
This commit is contained in:
parent
778cf3d4bc
commit
8992a2d5ae
|
|
@ -27,22 +27,22 @@ pipeline {
|
|||
OUTPUT_FILE = "Ravenous_build.pdf"
|
||||
PUBLISHED_FILE = "Ravenous.pdf"
|
||||
BALANCE_SOURCE_FILE = "balance_report.typ"
|
||||
BALANCE_OUTPUT_FILE = "Ravenous_balance_report_build.pdf"
|
||||
BALANCE_OUTPUT_FILE = "Report/Ravenous_balance_report_build.pdf"
|
||||
BALANCE_PUBLISHED_FILE = "Ravenous_balance_report.pdf"
|
||||
MASTER_SOURCE_FILE = "master_handbook.typ"
|
||||
MASTER_PLAINTEXT_FILE = "Ravenous_master_handbook_plaintext.pdf"
|
||||
MASTER_OUTPUT_FILE = "Ravenous_master_handbook_build.pdf"
|
||||
MASTER_PLAINTEXT_FILE = "Master/Ravenous_master_handbook_plaintext.pdf"
|
||||
MASTER_OUTPUT_FILE = "Master/Ravenous_master_handbook_build.pdf"
|
||||
MASTER_PUBLISHED_FILE = "Ravenous_master_handbook.pdf"
|
||||
MASTER_BALANCE_SOURCE_FILE = "balance_report_master.typ"
|
||||
MASTER_BALANCE_PLAINTEXT_FILE = "Ravenous_master_balance_report_plaintext.pdf"
|
||||
MASTER_BALANCE_OUTPUT_FILE = "Ravenous_master_balance_report_build.pdf"
|
||||
MASTER_BALANCE_PLAINTEXT_FILE = "Report/Ravenous_master_balance_report_plaintext.pdf"
|
||||
MASTER_BALANCE_OUTPUT_FILE = "Report/Ravenous_master_balance_report_build.pdf"
|
||||
MASTER_BALANCE_PUBLISHED_FILE = "Ravenous_master_balance_report.pdf"
|
||||
PLAYER_SOURCE_FILE = "player_handbook.typ"
|
||||
PLAYER_OUTPUT_FILE = "Ravenous_player_handbook_build.pdf"
|
||||
PLAYER_OUTPUT_FILE = "Player/Ravenous_player_handbook_build.pdf"
|
||||
PLAYER_PUBLISHED_FILE = "Ravenous_player_handbook.pdf"
|
||||
SCREEN_SOURCE_FILE = "master_screen.typ"
|
||||
SCREEN_PLAINTEXT_FILE = "Ravenous_master_screen_plaintext.pdf"
|
||||
SCREEN_OUTPUT_FILE = "Ravenous_master_screen_build.pdf"
|
||||
SCREEN_PLAINTEXT_FILE = "Master/Ravenous_master_screen_plaintext.pdf"
|
||||
SCREEN_OUTPUT_FILE = "Master/Ravenous_master_screen_build.pdf"
|
||||
SCREEN_PUBLISHED_FILE = "Ravenous_master_screen.pdf"
|
||||
MASTER_PASSWORD = "billy"
|
||||
|
||||
|
|
@ -102,6 +102,8 @@ pipeline {
|
|||
echo "Generating build metadata"
|
||||
./tools/pseudo_toolchain.sh
|
||||
|
||||
mkdir -p Report Player Master
|
||||
|
||||
echo "Building ${SOURCE_FILE} -> ${OUTPUT_FILE}"
|
||||
typst compile "${SOURCE_FILE}" "${OUTPUT_FILE}"
|
||||
|
||||
|
|
@ -263,7 +265,11 @@ def deployTo(String targetDir) {
|
|||
|
||||
echo "Publishing Ravenous, its player and master handbooks, and its balance reports to ${targetDir}"
|
||||
|
||||
mkdir -p "${targetDir}"
|
||||
mkdir -p \
|
||||
"${targetDir}" \
|
||||
"${targetDir}/Report" \
|
||||
"${targetDir}/Player" \
|
||||
"${targetDir}/Master"
|
||||
|
||||
rsync -a \
|
||||
"${env.OUTPUT_FILE}" \
|
||||
|
|
@ -271,31 +277,31 @@ def deployTo(String targetDir) {
|
|||
|
||||
rsync -a \
|
||||
"${env.BALANCE_OUTPUT_FILE}" \
|
||||
"${targetDir}/${env.BALANCE_PUBLISHED_FILE}"
|
||||
"${targetDir}/Report/${env.BALANCE_PUBLISHED_FILE}"
|
||||
|
||||
rsync -a \
|
||||
"${env.PLAYER_OUTPUT_FILE}" \
|
||||
"${targetDir}/${env.PLAYER_PUBLISHED_FILE}"
|
||||
"${targetDir}/Player/${env.PLAYER_PUBLISHED_FILE}"
|
||||
|
||||
rsync -a \
|
||||
"${env.MASTER_OUTPUT_FILE}" \
|
||||
"${targetDir}/${env.MASTER_PUBLISHED_FILE}"
|
||||
"${targetDir}/Master/${env.MASTER_PUBLISHED_FILE}"
|
||||
|
||||
rsync -a \
|
||||
"${env.MASTER_BALANCE_OUTPUT_FILE}" \
|
||||
"${targetDir}/${env.MASTER_BALANCE_PUBLISHED_FILE}"
|
||||
"${targetDir}/Report/${env.MASTER_BALANCE_PUBLISHED_FILE}"
|
||||
|
||||
rsync -a \
|
||||
"${env.SCREEN_OUTPUT_FILE}" \
|
||||
"${targetDir}/${env.SCREEN_PUBLISHED_FILE}"
|
||||
"${targetDir}/Master/${env.SCREEN_PUBLISHED_FILE}"
|
||||
|
||||
echo "Published:"
|
||||
ls -lh \
|
||||
"${targetDir}/${env.PUBLISHED_FILE}" \
|
||||
"${targetDir}/${env.BALANCE_PUBLISHED_FILE}" \
|
||||
"${targetDir}/${env.PLAYER_PUBLISHED_FILE}" \
|
||||
"${targetDir}/${env.MASTER_PUBLISHED_FILE}" \
|
||||
"${targetDir}/${env.MASTER_BALANCE_PUBLISHED_FILE}" \
|
||||
"${targetDir}/${env.SCREEN_PUBLISHED_FILE}"
|
||||
"${targetDir}/Report/${env.BALANCE_PUBLISHED_FILE}" \
|
||||
"${targetDir}/Player/${env.PLAYER_PUBLISHED_FILE}" \
|
||||
"${targetDir}/Master/${env.MASTER_PUBLISHED_FILE}" \
|
||||
"${targetDir}/Report/${env.MASTER_BALANCE_PUBLISHED_FILE}" \
|
||||
"${targetDir}/Master/${env.SCREEN_PUBLISHED_FILE}"
|
||||
"""
|
||||
}
|
||||
|
|
|
|||
|
|
@ -69,8 +69,8 @@ difficulty; later creature-specific analyses can be added independently.
|
|||
In CI, this report is handled like the master handbook: Jenkins compiles a
|
||||
temporary plaintext PDF, protects it with `qpdf` and `MASTER_PASSWORD`, deletes
|
||||
the plaintext intermediate, then archives and publishes only
|
||||
`Ravenous_master_balance_report_build.pdf`. The stable deployed filename is
|
||||
`Ravenous_master_balance_report.pdf`.
|
||||
`Report/Ravenous_master_balance_report_build.pdf`. The stable deployed path is
|
||||
`Report/Ravenous_master_balance_report.pdf`.
|
||||
|
||||
The advanced creature-by-creature section reproduces the combat model from
|
||||
`rust_base/monsters` directly in Typst. Configure it in
|
||||
|
|
|
|||
Loading…
Reference in New Issue