Skip to content

Commit

Permalink
chore: remove uds-runtime (ui) (#1010)
Browse files Browse the repository at this point in the history
Signed-off-by: catsby <clint@defenseunicorns.com>
  • Loading branch information
catsby authored Nov 7, 2024
1 parent b7e853d commit 506b239
Show file tree
Hide file tree
Showing 19 changed files with 2 additions and 443 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ jobs:
owner: defenseunicorns
repositories: homebrew-tap

- name: Download Runtime assets for embedding
run: ./hack/download-uds-runtime-assets.sh

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
with:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/test-schema-and-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ jobs:
- name: Install UDS CLI
uses: ./.github/actions/install-uds-cli

- name: Pull UDS Runtime Assets
run: ./hack/download-uds-runtime-assets.sh

- name: Test schemas
run: uds run schema:test

Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/test-unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ jobs:
- name: Install UDS CLI
uses: ./.github/actions/install-uds-cli

- name: Pull UDS Runtime Assets
run: ./hack/download-uds-runtime-assets.sh

- name: Run unit tests
run: uds run test:unit

Expand Down
2 changes: 0 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ We strive to test all changes made to UDS CLI. If you're adding a new feature or
#### Unit Tests
Unit tests reside alongside the source code in a `*_test.go` file. These tests should be used to test individual functions or methods in isolation. Unit tests should be fast and focused on a single piece of functionality.

In order to run the unit tests in `src/cmd`, you must ensure that you have pulled the UDS Runtime binary into the `src/cmd/bin` dir. This can be done by running the `./hack/update-uds-runtime-binaries.sh` script or by running the build task for your os/architectecture (eg. `uds run build-cli-mac-apple`).

#### E2E Tests
E2E tests reside in the `src/test/e2e` directory. They use bundles located in the `src/test/e2e/bundles` which contain Zarf packages from the `src/test/e2e/packages` directory. Feel free to add new bundles and packages where appropriate. It's encouraged to write comments/metadata in any new bundles or packages to explain what they are testing.

Expand Down
136 changes: 0 additions & 136 deletions design-docs/0001-bundle-state.md

This file was deleted.

29 changes: 0 additions & 29 deletions design-docs/0002-uds-ui.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/reference/CLI/commands/uds.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,5 @@ uds COMMAND [flags]
* [uds pull](/reference/cli/commands/uds_pull/) - Pull a bundle from a remote registry and save to the local file system
* [uds remove](/reference/cli/commands/uds_remove/) - Remove a bundle that has been deployed already
* [uds run](/reference/cli/commands/uds_run/) - Run a task using maru-runner
* [uds ui](/reference/cli/commands/uds_ui/) - [beta] Launch UDS Runtime and view UI
* [uds version](/reference/cli/commands/uds_version/) - Shows the version of the running UDS-CLI binary

40 changes: 0 additions & 40 deletions docs/reference/CLI/commands/uds_ui.md

This file was deleted.

6 changes: 0 additions & 6 deletions docs/reference/CLI/quickstart-and-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -497,9 +497,3 @@ uds scan --org <organization> --package-name <package-name> --tag <tag> [options
```sh
uds scan -o defenseunicorns -n packages/uds/gitlab-runner -g 16.10.0-uds.0-upstream -u docker-username -p docker-password -f gitlab-runner.csv
```

## UDS Runtime

The `uds ui` command launches UDS Runtime, which provides a web-based user interface to view what is running in your K8s cluster. More information regarding UDS Runtime can be found [here](https://github.com/defenseunicorns/uds-runtime).

To exit UDS Runtime, press `Ctrl+C`.
7 changes: 0 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ require (
github.com/defenseunicorns/pkg/exec v0.0.1
github.com/defenseunicorns/pkg/helpers/v2 v2.0.1
github.com/defenseunicorns/pkg/oci v1.0.2
github.com/defenseunicorns/uds-runtime v0.8.0
github.com/defenseunicorns/uds-security-hub v0.0.7
github.com/fsnotify/fsnotify v1.8.0
github.com/goccy/go-yaml v1.13.6
Expand Down Expand Up @@ -70,7 +69,6 @@ require (
github.com/BurntSushi/toml v1.4.0 // indirect
github.com/CycloneDX/cyclonedx-go v0.9.1 // indirect
github.com/DataDog/zstd v1.5.5 // indirect
github.com/KyleBanks/depth v1.2.1 // indirect
github.com/MakeNowJust/heredoc v1.0.0 // indirect
github.com/Masterminds/goutils v1.1.1 // indirect
github.com/Masterminds/semver v1.5.0 // indirect
Expand Down Expand Up @@ -233,7 +231,6 @@ require (
github.com/glebarez/go-sqlite v1.21.2 // indirect
github.com/glebarez/sqlite v1.11.0 // indirect
github.com/go-chi/chi v4.1.2+incompatible // indirect
github.com/go-chi/chi/v5 v5.1.0 // indirect
github.com/go-errors/errors v1.4.2 // indirect
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
github.com/go-git/go-billy/v5 v5.5.0 // indirect
Expand Down Expand Up @@ -451,9 +448,6 @@ require (
github.com/spiffe/go-spiffe/v2 v2.3.0 // indirect
github.com/stretchr/objx v0.5.2 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
github.com/swaggo/files/v2 v2.0.1 // indirect
github.com/swaggo/http-swagger/v2 v2.0.2 // indirect
github.com/swaggo/swag v1.16.4 // indirect
github.com/sylabs/sif/v2 v2.17.1 // indirect
github.com/sylabs/squashfs v1.0.0 // indirect
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
Expand Down Expand Up @@ -507,7 +501,6 @@ require (
golang.org/x/term v0.25.0 // indirect
golang.org/x/text v0.19.0 // indirect
golang.org/x/time v0.6.0 // indirect
golang.org/x/tools v0.26.0 // indirect
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
google.golang.org/api v0.196.0 // indirect
google.golang.org/genproto v0.0.0-20240903143218-8af14fe29dc1 // indirect
Expand Down
Loading

0 comments on commit 506b239

Please sign in to comment.