tree: e649be84c14fcd3794fa93039b5b46f63547e208 [path history] [tgz]
  1. boilerplate.go.txt
  2. build_image.sh
  3. README.md
  4. run_frontend_e2e.sh
  5. server-rapid-builder.sh
  6. tools.go
  7. update-codegen.sh
  8. verify-codegen.sh
submarine-cloud-v2/hack/README.md

update-codegen.sh

This script will use the generators in k8s.io/code-generator to generate a typed client, informers, listers, and deep-copy functions.

The codes will be generated at github.com/apache/submarine/submarine-cloud-v2/pkg/client/.

# You should be under the folder `submarine-cloud-v2`
./hack/update-codegen.sh

verify-codegen.sh

This script will verify whether your codes are outdated. If your codes are outdated, please regenerate using update-codegen.sh.

# You should be under the folder `submarine-cloud-v2`
./hack/verify-codegen.sh

build-image.sh

This script is to make developing with submarine-operator more convenient. It will rebuild the image and recreate the deployment, and one can see the result of changes.

# You should be under the folder `submarine-cloud-v2`
./hack/build_image.sh <image>

image:
    all             build all images
    server          build submarine server
    database        build submarine database
    jupyter         build submarine jupyter-notebook
    jupyter-gpu     build submarine jupyter-notebook-gpu
    mlflow          build submarine mlflow

server-rapid-builder.sh

This script is to make the building process of submarine-server faster.

# You should be under the folder `submarine-cloud-v2/hack`
./server-rapid-builder.sh [namespace]

run_frontend_e2e.sh

This script is to run frontend end-to-end test.

# The workbench should run on port 8080
kubectl port-forward --address 0.0.0.0 -n submarine-user-test service/traefik 8080:80

./hack/run_frontend_e2e.sh