Skip to content

Commit 3a99139

Browse files
authored
chore: clean up obsolete code (#1749)
* Deletes unused repo-version/main.go * Deletes Makefile rule that references it * Deletes unused examples in foo-corp-example and only keeps foo-corp
1 parent 29b0d1a commit 3a99139

File tree

101 files changed

+1
-2672
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+1
-2672
lines changed

Makefile.e2e

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,6 @@ KIND_NUM_CLUSTERS ?= 15
2020
E2E_CREATE_CLUSTERS ?= "true"
2121
E2E_DESTROY_CLUSTERS ?= "true"
2222

23-
# Runs nomos vet locally for example repos.
24-
# Requires kubeconfig set up properly with Nomos cluster.
25-
# This is now a duplicate of cli.bats from the e2e tests framework,
26-
# but can run locally without any of the setup.
27-
test-nomos-vet-local: build
28-
@echo "Running test-nomos-vet-local..."
29-
$(NOMOS_LOCAL) --validate vet --path=./examples/acme
30-
$(NOMOS_LOCAL) vet --path=./examples/foo-corp-example/foo-corp
31-
32-
@rm -rf ./.output/tmp/empty
33-
@mkdir ./.output/tmp/empty
34-
@cd ./.output/tmp/empty && git init && git checkout -b main && $(NOMOS_LOCAL) init && $(NOMOS_LOCAL) vet
35-
3623
include Makefile.e2e.ci
3724

3825
__install-nomos-local:

cmd/nomos/vet/vet_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func TestVet_FooCorp(t *testing.T) {
9898

9999
os.Args = []string{
100100
"vet", // this first argument does nothing, but is required to exist.
101-
"--path", examplesDir.Join(cmpath.RelativeSlash("foo-corp-example/foo-corp")).OSPath(),
101+
"--path", examplesDir.Join(cmpath.RelativeSlash("foo-corp")).OSPath(),
102102
}
103103

104104
err := Cmd.Execute()

cmd/repo-version/main.go

Lines changed: 0 additions & 25 deletions
This file was deleted.

examples/foo-corp-example/CODEOWNERS

Lines changed: 0 additions & 4 deletions
This file was deleted.

examples/foo-corp-example/CONTRIBUTING

Lines changed: 0 additions & 23 deletions
This file was deleted.

examples/foo-corp-example/LICENSE

Lines changed: 0 additions & 202 deletions
This file was deleted.

examples/foo-corp-example/README.md

Lines changed: 0 additions & 54 deletions
This file was deleted.

examples/foo-corp-example/ci-app/README.md

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)