UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 423bed9b authored by Danny Gershman's avatar Danny Gershman :lock: Committed by Micah Nagel
Browse files

[zarf-dev.sh] Bump bigbang version, zarf version, and fixing logging levels

parent d2331d14
No related branches found
No related tags found
1 merge request!2663[zarf-dev.sh] Bump bigbang version, zarf version, and fixing logging levels
#!/usr/bin/env bash
ZARF_VERSION=v0.25.1
BIGBANG_VERSION=1.56.0
ZARF_VERSION=v0.25.2
BIGBANG_VERSION=1.57.1
# Choices: warn, info, debug, trace
# Currently set only for zarf package deploy
ZARF_LOG_LEVEL=info
ZARF_LOG_LEVEL=${ZARF_LOG_LEVEL:=info}
# Prerequisites: REGISTRY1_USERNAME and REGISTRY1_PASSWORD must be exported locally.
# Configurable: ZARF_TEST_REPO, ZARF_TEST_REPO_BRANCH, ZARF_TEST_REPO_DIRECTORY all define where to pick up the zarf.yaml file.
......@@ -31,7 +31,7 @@ run "wget -q https://github.com/defenseunicorns/zarf/releases/download/${ZARF_VE
# zarf init, package and deploy
run "set +o history && echo ${REGISTRY1_PASSWORD} | zarf tools registry login registry1.dso.mil --username ${REGISTRY1_USERNAME} --password-stdin || set -o history"
run "zarf init --components=git-server --confirm"
run "git clone --single-branch --branch ${ZARF_TEST_REPO_BRANCH} ${ZARF_TEST_REPO}"
run "zarf init --components=git-server --confirm --log-level=${ZARF_LOG_LEVEL}"
run "git clone --depth 1 --single-branch --branch ${ZARF_TEST_REPO_BRANCH} ${ZARF_TEST_REPO}"
run "cd ${ZARF_TEST_REPO_DIRECTORY} && zarf package create --confirm --max-package-size=0"
run "cd ${ZARF_TEST_REPO_DIRECTORY} && zarf package deploy zarf-package-big-bang-example-amd64-${BIGBANG_VERSION}.tar.zst --confirm --components=gitea-virtual-service --log-level ${ZARF_LOG_LEVEL}"
run "cd ${ZARF_TEST_REPO_DIRECTORY} && zarf package deploy zarf-package-big-bang-example-amd64-${BIGBANG_VERSION}.tar.zst --confirm --components=gitea-virtual-service --log-level=${ZARF_LOG_LEVEL}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment