mirror of
https://github.com/holos-run/holos.git
synced 2026-03-20 01:04:59 +00:00
PROBLEM: The "Kustomize" tutorial has hardcoded code blocks and hasn't been updated to use the automated testscript workflow. SOLUTION: Create a test for the Kustomize tutorial. Create a testscript for the Kustomize test. Update the Kustomize MDX file to load in data from the testscript directory. OUTCOME: The code content in the Kustomize tutorial now comes directly from the testscript workflow.
5 lines
106 B
Bash
Executable File
5 lines
106 B
Bash
Executable File
#! /bin/bash
|
|
set -euo pipefail
|
|
[[ -s "$1" ]] && [[ -z "${HOLOS_UPDATE_SCRIPTS:-}" ]] && exit 0
|
|
cat > "$1"
|