summaryrefslogtreecommitdiff
path: root/du/start.fish
diff options
context:
space:
mode:
authorBrad Clawsie <brad@b7j0c.org>2026-07-29 08:25:49 -0500
committerBrad Clawsie <brad@b7j0c.org>2026-07-29 08:25:49 -0500
commitaf714f383afb800375c49ff72fa68ecbb63965c7 (patch)
treeef16ff4e8dc9164726571d1493c720a7f7061f6e /du/start.fish
parent8cc6f4d83893cfd7346b0da61c2cd05c71f94908 (diff)
du
Diffstat (limited to 'du/start.fish')
-rw-r--r--du/start.fish47
1 files changed, 47 insertions, 0 deletions
diff --git a/du/start.fish b/du/start.fish
new file mode 100644
index 0000000..865cb6e
--- /dev/null
+++ b/du/start.fish
@@ -0,0 +1,47 @@
+#!/usr/bin/env fish
+
+echo "START";
+date;
+date > /tmp/finished.txt;
+
+mkdir -p /home/brad/local/uds;
+cd /home/brad/local/uds;
+rm -f *;
+
+echo "GET UDS";
+wget https://github.com/defenseunicorns/uds-cli/releases/download/v0.34.3/uds-cli_v0.34.3_Linux_amd64;
+chmod a+rx ./uds-cli_v0.34.3_Linux_amd64;
+cd /home/brad/local/bin;
+rm -f uds;
+ln -s ../uds/uds-cli_v0.34.3_Linux_amd64 uds;
+
+echo "BUILD UDS-CLI";
+date;
+cd /home/brad/repos/defenseunicorns/uds-cli;
+git fetch origin;
+git checkout -b main --track origin/main;
+uds run build-cli-linux-amd;
+mv build/uds /home/brad/local/uds/uds-cli-main;
+date;
+
+echo "BUILD UDS-CORE"
+cd /home/brad/repos/defenseunicorns/uds-core;
+git fetch origin;
+git checkout -b main --track origin/main;
+echo "CREATE STANDARD PACKAGE";
+uds run create-standard-package;
+date;
+echo "CREATE BUNDLE";
+TMPDIR=~/tmp UDS_TMP_DIR=~/tmp uds run -f tasks/create.yaml k3d-standard-bundle
+date;
+echo "DEPLOY BUNDLE";
+TMPDIR=~/tmp UDS_TMP_DIR=~/tmp uds run -f tasks/deploy.yaml k3d-standard-bundle
+date;
+echo "VALIDATE PACKAGES";
+TMPDIR=~/tmp UDS_TMP_DIR=~/tmp uds run -f tasks/test.yaml validate-packages
+date;
+
+echo "DONE";
+date;
+date >> /tmp/finished.txt;
+