mirror of
https://github.com/outbackdingo/matchbox.git
synced 2026-01-27 18:19:36 +00:00
The docs suggest it is (https://matchbox.psdn.io/deployment/#kubernetes) but they aren't there. They're only in the git checkout. Which is fine, but for consistency.
44 lines
787 B
Bash
Executable File
44 lines
787 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# USAGE: ./release-files DEST
|
|
set -e
|
|
|
|
DEST=$1
|
|
|
|
if [ -z "${DEST}" ]; then
|
|
echo "Usage: ${0} DEST"
|
|
exit 255
|
|
fi
|
|
|
|
SCRIPTS=$DEST/scripts
|
|
CONTRIB=$DEST/contrib
|
|
|
|
cp CHANGES.md $DEST
|
|
cp LICENSE $DEST
|
|
cp README.md $DEST
|
|
|
|
# scripts
|
|
mkdir -p $SCRIPTS/tls
|
|
cp scripts/get-coreos $SCRIPTS
|
|
cp scripts/get-coreos $SCRIPTS
|
|
cp scripts/get-coreos $SCRIPTS
|
|
cp scripts/tls/README.md $SCRIPTS/tls
|
|
cp scripts/tls/cert-gen $SCRIPTS/tls
|
|
cp scripts/tls/openssl.conf $SCRIPTS/tls
|
|
|
|
# systemd
|
|
mkdir -p $CONTRIB/systemd
|
|
cp -r contrib/systemd/* $CONTRIB/systemd
|
|
|
|
# k8s manifests
|
|
mkdir -p $CONTRIB/k8s
|
|
cp -r contrib/k8s/* $CONTRIB/k8s
|
|
|
|
# examples
|
|
mkdir -p $DEST/examples
|
|
cp -r examples/{cloud,groups,ignition,profiles,README.md} $DEST/examples
|
|
|
|
# docs
|
|
mkdir -p $DEST/docs
|
|
cp -r docs $DEST/docs
|
|
|