Skip to content

Commit

Permalink
more removals
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Coulon <[email protected]>
  • Loading branch information
xcoulon committed Aug 1, 2024
1 parent e99f22c commit 8b01c82
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 8,345 deletions.
8 changes: 0 additions & 8 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@ Requires Go version 1.20.x (1.20.11 or higher) - download for your development e

This repository uses https://github.com/golang/go/wiki/Modules[Go modules].

== Building the Web Console Plugin source

The web console plugin serves up some static Javascript files which have been compiled from NodeJS/React source contained in the /webconsole_source directory.

The `make generate-webconsole-scripts` make target will recompile this source by starting up a container with Podman with the necessary tooling, then compile these source files, after which it will overwrite the content in /pkg/consoleplugin/contentserver/static with the newly compiled code.

After executing this target the updated files should be committed to the repo.

== Development

The dev.mk targets in the toolchain-e2e repository can be used to build and deploy the host and member operators for development, or follow the guide - https://github.com/codeready-toolchain/toolchain-e2e/blob/master/dev_install.adoc
Expand Down
21 changes: 0 additions & 21 deletions build/Dockerfile.consoleplugin

This file was deleted.

2 changes: 0 additions & 2 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ spec:
value: "member-operator"
- name: MEMBER_OPERATOR_WEBHOOK_IMAGE
value: REPLACE_MEMBER_OPERATOR_WEBHOOK_IMAGE
- name: MEMBER_OPERATOR_WEBCONSOLEPLUGIN_IMAGE
value: REPLACE_MEMBER_OPERATOR_WEBCONSOLEPLUGIN_IMAGE
resources:
requests:
cpu: 500m
Expand Down
146 changes: 0 additions & 146 deletions deploy/consoleplugin/member-operator-console-plugin.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions make/docker.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ IMAGE_PLATFORM ?= linux/amd64
docker-image: build
$(Q)docker build --platform ${IMAGE_PLATFORM} -f build/Dockerfile -t ${IMAGE} .
$(Q)docker build --platform ${IMAGE_PLATFORM} -f build/Dockerfile.webhook -t ${WEBHOOK_IMAGE} .
$(Q)docker build --platform ${IMAGE_PLATFORM} -f build/Dockerfile.consoleplugin -t ${CONSOLE_PLUGIN_IMAGE} .

.PHONY: docker-push
## Push the binary image to quay.io registry
Expand All @@ -26,7 +25,6 @@ docker-push: check-namespace docker-image
podman-image: build
$(Q)podman build --platform ${IMAGE_PLATFORM} -f build/Dockerfile -t ${IMAGE} .
$(Q)podman build --platform ${IMAGE_PLATFORM} -f build/Dockerfile.webhook -t ${WEBHOOK_IMAGE} .
$(Q)podman build --platform ${IMAGE_PLATFORM} -f build/Dockerfile.consoleplugin -t ${CONSOLE_PLUGIN_IMAGE} .

.PHONY: podman-push
## Push the binary image to quay.io registry
Expand Down
8 changes: 0 additions & 8 deletions make/go.mk
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ $(OUT_DIR)/operator:
-ldflags "-X ${GO_PACKAGE_PATH}/version.Commit=${GIT_COMMIT_ID} -X ${GO_PACKAGE_PATH}/version.BuildTime=${BUILD_TIME}" \
-o $(OUT_DIR)/bin/member-operator-webhook \
cmd/webhook/main.go
$(Q)CGO_ENABLED=0 GOARCH=${goarch} GOOS=linux \
go build ${V_FLAG} \
-ldflags "-X ${GO_PACKAGE_PATH}/version.Commit=${GIT_COMMIT_ID} -X ${GO_PACKAGE_PATH}/version.BuildTime=${BUILD_TIME}" \
-o $(OUT_DIR)/bin/member-operator-console-plugin \
cmd/consoleplugin/main.go

.PHONY: vendor
vendor:
Expand All @@ -40,9 +35,6 @@ generate-assets: go-bindata
@echo "generating autoscaler buffer template data..."
@rm ./pkg/autoscaler/template_assets.go 2>/dev/null || true
@$(GO_BINDATA) -pkg autoscaler -o ./pkg/autoscaler/template_assets.go -nocompress -prefix deploy/autoscaler deploy/autoscaler
@echo "generating console plugin template data..."
@rm ./pkg/consoleplugin/deploy/template_assets.go 2>/dev/null || true
@$(GO_BINDATA) -pkg deploy -o ./pkg/consoleplugin/deploy/template_assets.go -nocompress -prefix deploy/consoleplugin deploy/consoleplugin

.PHONY: verify-dependencies
## Runs commands to verify after the updated dependecies of toolchain-common/API(go mod replace), if the repo needs any changes to be made
Expand Down
14 changes: 0 additions & 14 deletions make/webconsole.mk

This file was deleted.

32 changes: 0 additions & 32 deletions webconsole_source/Containerfile

This file was deleted.

10 changes: 0 additions & 10 deletions webconsole_source/console-extensions.json

This file was deleted.

71 changes: 0 additions & 71 deletions webconsole_source/package.json

This file was deleted.

Loading

0 comments on commit 8b01c82

Please sign in to comment.