Skip to content

Commit

Permalink
fix: package release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-mccoy committed Oct 30, 2023
1 parent 056d5f2 commit efa0d22
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 3 additions & 1 deletion .github/workflows/tag-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
packages: write

steps:
- uses: actions/checkout@v4

- name: Setup Zarf
uses: defenseunicorns/setup-zarf@main
with:
Expand All @@ -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
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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).

Expand All @@ -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).
2 changes: 1 addition & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{ "type": "chore", "section": "Miscellaneous", "hidden": false }
],
"versioning": "always-bump-patch",
"extra-files": ["zarf.yaml"]
"extra-files": ["README.md", "zarf.yaml"]
}
}
}
3 changes: 2 additions & 1 deletion zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit efa0d22

Please sign in to comment.