UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 6c23479b authored by Micah Nagel's avatar Micah Nagel :moneybag:
Browse files

Merge branch 'airgap-zarf-bb-updates' into 'master'

Zarf Airgap Updates to 0.25.1 and BB 1.56.0

See merge request !2656
parents 32155709 b92a5e1b
No related branches found
No related tags found
1 merge request!2656Zarf Airgap Updates to 0.25.1 and BB 1.56.0
#!/usr/bin/env bash
ZARF_VERSION=v0.25.0
ZARF_VERSION=v0.25.1
BIGBANG_VERSION=1.56.0
# Choices: warn, info, debug, trace
# Currently set only for zarf package deploy
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.
# Example with configuration: KeyName=<KeyName> PublicIP=<Ip> ZARF_TEST_REPO=https://repo1.dso.mil/some-repo.git ZARF_TEST_REPO_BRANCH=development docs/assets/scripts/airgap-zarf/zarf-dev.sh
ZARF_TEST_REPO=${ZARF_TEST_REPO:=https://github.com/defenseunicorns/zarf}
ZARF_TEST_REPO_BRANCH=${ZARF_TEST_REPO_BRANCH:=main}
ZARF_TEST_REPO_BRANCH=${ZARF_TEST_REPO_BRANCH:=ZARF_VERSION}
ZARF_TEST_REPO_DIRECTORY=${ZARF_TEST_REPO_DIRECTORY:=zarf/examples/big-bang}
function run() {
......@@ -29,4 +34,4 @@ run "set +o history && echo ${REGISTRY1_PASSWORD} | zarf tools registry login re
run "zarf init --components=git-server --confirm"
run "git clone --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-1.54.0.tar.zst --confirm --components=gitea-virtual-service"
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}"
......@@ -2,7 +2,7 @@
> ⚠️ This is a work in-progress.
> ⚠️ These instructions work specifically with Big Bang version 1.54.0. Other versions are not yet supported.
### Requires Big Bang 1.54.0 and greater.
This section is currently purely devoted to building and testing packages on a development cluster. The result could be a set of archives that can be used for moving across an airgap. Essentially this automates a few of the steps indicated in this [documentation](https://github.com/defenseunicorns/zarf/blob/main/docs/13-walkthroughs/5-big-bang.md).
......
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