che-plugin-broker
10K+
Downloads tar.gz archive and:
Downloads .theia archive and:
port<port>THEIA_PLUGIN_REMOTE_ENDPOINT_<plugin_publisher_and_name from package.json> and value
ws://port<port>:<port>THEIA_PLUGIN_ENDPOINT_PORT and value portCleanups content of /plugins/ folder. Should be started before other brokers not to remove files they are adding to plugins folder.
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-w -s' -a -installsuffix cgo ./...
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-w -s' -a -installsuffix cgo -o che-plugin-broker brokers/che-plugin-broker/main.go
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-w -s' -a -installsuffix cgo -o theia-plugin-broker brokers/theia-plugin-broker/main.go
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-w -s' -a -installsuffix cgo -o init-plugin-broker brokers/init/main.go
go test -v -race ./...
golangci-lint run -v
docker build -f Dockerfile.CI .
Dependencies in the project are managed by Go Dep. After you added a dependency you need to run the following command to download dependencies to vendor repo and lock file and then commit changes:
dep ensure
dep ensure doesn't automatically change Gopkg.toml which contains dependencies constrants.
So, when a dependency is introduced or changed it should be reflected in Gopkg.toml.
docker build -t eclipse/che-plugin-broker:latest -f Dockerfile.cpb .
docker build -t eclipse/theia-plugin-broker:latest -f Dockerfile.tpb .
docker build -t eclipse/init-plugin-broker:latest -f Dockerfile.ipb .
Content type
Image
Digest
Size
5.2 MB
Last updated
over 7 years ago
docker pull eclipse/che-plugin-broker:d6130ddPulls:
160
Jun 29 to Jul 5