From efa0d228b4345c6c4cd9170cd35a43c43fa7c7dd Mon Sep 17 00:00:00 2001 From: Jeff McCoy Date: Mon, 30 Oct 2023 02:47:24 -0500 Subject: [PATCH] fix: package release workflow --- .github/workflows/build-test.yml | 2 +- .github/workflows/tag-and-release.yml | 4 +++- README.md | 9 ++++++--- release-please-config.json | 2 +- zarf.yaml | 3 ++- 5 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index a6b4aa6..a1bbbd3 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -25,4 +25,4 @@ jobs: run: zarf package create --confirm - name: Deploy the capability - run: zarf package deploy zarf-package-uds-k3d-dev-multi-*.tar.zst --confirm + run: zarf package deploy zarf-package-uds-k3d-multi-*.tar.zst --confirm diff --git a/.github/workflows/tag-and-release.yml b/.github/workflows/tag-and-release.yml index 2303ee2..980302c 100644 --- a/.github/workflows/tag-and-release.yml +++ b/.github/workflows/tag-and-release.yml @@ -30,6 +30,8 @@ jobs: packages: write steps: + - uses: actions/checkout@v4 + - name: Setup Zarf uses: defenseunicorns/setup-zarf@main with: @@ -47,4 +49,4 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Publish the capability - run: zarf package publish zarf-package-*.tar.zst oci://ghcr.io/defenseunicorns/uds-capability + run: zarf package publish zarf-package-*.tar.zst oci://ghcr.io/defenseunicorns diff --git a/README.md b/README.md index 2026efc..1aca260 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # UDS K3d Environment -> [!IMPORTANT] Warning: This package should only be used for development and testing purposes. It is not intended for production use and all data is overwritten when the package is re-deployed. +>[!IMPORTANT] +>This package should only be used for development and testing purposes. It is not intended for production use and all data is overwritten when the package is re-deployed. This zarf package serves as a universal dev (local & remote) and test environment for testing [UDS Core](https://github.com/defenseunicorns/uds-core), invidual UDS Capabilities, and UDS capabilities aggregated via the [UDS CLI](https://github.com/defenseunicorns/uds-cli). @@ -20,8 +21,10 @@ This package is published via CI, but can be created locally with the following ## Deploy -[Steps used to deploy the UDS Capability] +# x-release-please-start-version +`zarf package deploy oci://ghcr.io/defenseunicorns/uds-k3d:0.1.7-multi` +# x-release-please-end ## Remove -You can run `zarf package remove` or `k3d cluster delete uds` (uds is the default cluster name). +`k3d cluster delete uds` (uds is the default cluster name). diff --git a/release-please-config.json b/release-please-config.json index 6237343..675e34c 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -10,7 +10,7 @@ { "type": "chore", "section": "Miscellaneous", "hidden": false } ], "versioning": "always-bump-patch", - "extra-files": ["zarf.yaml"] + "extra-files": ["README.md", "zarf.yaml"] } } } diff --git a/zarf.yaml b/zarf.yaml index 5bb9785..431aab1 100644 --- a/zarf.yaml +++ b/zarf.yaml @@ -2,9 +2,10 @@ kind: ZarfPackageConfig metadata: - name: uds-k3d-dev + name: uds-k3d description: "UDS K3d Cluster Setup. WARNING: This will destroy the cluster if it already exists." architecture: multi + url: https://github.com/defenseunicorns/uds-k3d yolo: true # x-release-please-start-version version: "0.1.7"