Skip to content

Commit

Permalink
chore(backend): Remove old controller code and prep for v2 upstream m…
Browse files Browse the repository at this point in the history
…erge (#1424)

* remove old controller code and prep for v2 upstream merge

* update licenses
  • Loading branch information
Tomcli authored Dec 4, 2023
1 parent 6f0dabd commit d8ae28a
Show file tree
Hide file tree
Showing 104 changed files with 594 additions and 7,734 deletions.
41 changes: 0 additions & 41 deletions backend/Dockerfile.tekton-exithandler.controller

This file was deleted.

41 changes: 0 additions & 41 deletions backend/Dockerfile.tekton-exithandler.webhook

This file was deleted.

41 changes: 0 additions & 41 deletions backend/Dockerfile.tekton-kfptask.controller

This file was deleted.

41 changes: 0 additions & 41 deletions backend/Dockerfile.tekton-kfptask.webhook

This file was deleted.

44 changes: 0 additions & 44 deletions backend/Dockerfile.tektondriver

This file was deleted.

30 changes: 1 addition & 29 deletions backend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ CSV_PATH=backend/third_party_licenses
# Whenever build command for any of the binaries change, we should update them both here and in backend/Dockerfiles.

.PHONY: all
all: license_apiserver license_persistence_agent license_cache_server license_swf license_viewer tekton_licenses license_driver license_launcher

.PHONY: tekton_licenses
tekton_licenses: license_tekton_driver license_tekton_ehc license_tekton_ehw license_tekton_ktc license_tekton_ktw
all: license_apiserver license_persistence_agent license_cache_server license_swf license_viewer license_driver license_launcher

.PHONY: clean
clean:
Expand All @@ -24,16 +21,6 @@ $(BUILD)/swf:
GO111MODULE=on go build -o $(BUILD)/swf github.com/kubeflow/pipelines/backend/src/crd/controller/scheduledworkflow
$(BUILD)/viewer:
GO111MODULE=on go build -o $(BUILD)/viewer github.com/kubeflow/pipelines/backend/src/crd/controller/viewer
$(BUILD)/license_tekton_driver:
GO111MODULE=on go build -o $(BUILD)/license_tekton_driver github.com/kubeflow/pipelines/backend/src/v2/cmd/controller
$(BUILD)/license_tekton_ehc:
GO111MODULE=on go build -o $(BUILD)/license_tekton_ehc github.com/kubeflow/pipelines/backend/src/v2/cmd/tekton-exithandler/controller
$(BUILD)/license_tekton_ehw:
GO111MODULE=on go build -o $(BUILD)/license_tekton_ehw github.com/kubeflow/pipelines/backend/src/v2/cmd/tekton-exithandler/webhook
$(BUILD)/license_tekton_ktc:
GO111MODULE=on go build -o $(BUILD)/license_tekton_ktc github.com/kubeflow/pipelines/backend/src/v2/cmd/tekton-kfptask/controller
$(BUILD)/license_tekton_ktw:
GO111MODULE=on go build -o $(BUILD)/license_tekton_ktw github.com/kubeflow/pipelines/backend/src/v2/cmd/tekton-kfptask/webhook
$(BUILD)/driver:
GO111MODULE=on go build -o $(BUILD)/driver github.com/kubeflow/pipelines/backend/src/v2/cmd/driver
$(BUILD)/launcher:
Expand All @@ -56,21 +43,6 @@ license_swf: $(BUILD)/swf
.PHONY: license_viewer
license_viewer: $(BUILD)/viewer
cd $(MOD_ROOT) && go-licenses csv ./backend/src/crd/controller/viewer > $(CSV_PATH)/viewer.csv
.PHONY: license_tekton_driver
license_tekton_driver: $(BUILD)/license_tekton_driver
cd $(MOD_ROOT) && go-licenses csv ./backend/src/v2/cmd/controller > $(CSV_PATH)/tekton-driver.csv
.PHONY: license_tekton_ehc
license_tekton_ehc: $(BUILD)/license_tekton_ehc
cd $(MOD_ROOT) && go-licenses csv ./backend/src/v2/cmd/tekton-exithandler/controller > $(CSV_PATH)/tekton-exithandler-controller.csv
.PHONY: license_tekton_ehw
license_tekton_ehw: $(BUILD)/license_tekton_ehw
cd $(MOD_ROOT) && go-licenses csv ./backend/src/v2/cmd/tekton-exithandler/webhook > $(CSV_PATH)/tekton-exithandler-webhook.csv
.PHONY: license_tekton_ktc
license_tekton_ktc: $(BUILD)/license_tekton_ktc
cd $(MOD_ROOT) && go-licenses csv ./backend/src/v2/cmd/tekton-kfptask/controller > $(CSV_PATH)/tekton-kfptask-controller.csv
.PHONY: license_tekton_ktw
license_tekton_ktw: $(BUILD)/license_tekton_ktw
cd $(MOD_ROOT) && go-licenses csv ./backend/src/v2/cmd/tekton-kfptask/webhook > $(CSV_PATH)/tekton-kfptask-webhook.csv
.PHONY: license_driver
license_driver: $(BUILD)/driver
cd $(MOD_ROOT) && go-licenses csv ./backend/src/v2/cmd/driver > $(CSV_PATH)/driver.csv
Expand Down
26 changes: 0 additions & 26 deletions backend/src/v2/cmd/controller/main.go

This file was deleted.

45 changes: 0 additions & 45 deletions backend/src/v2/cmd/tekton-exithandler/controller/main.go

This file was deleted.

Loading

0 comments on commit d8ae28a

Please sign in to comment.