pipelines/backend
Yuan (Bob) Gong a6ab4e4411
chore(swf): fix recurring run + v2 compatible (#6297)
2021-08-11 03:22:25 -07:00
..
api chore(release): bumped version to 1.7.0-rc.3 2021-08-06 07:13:16 +00:00
metadata_writer fix(tfx): fix missing mlmd data when sdk label is overridden. Fixes #5303 (#6035) 2021-07-13 22:24:58 -07:00
src chore(swf): fix recurring run + v2 compatible (#6297) 2021-08-11 03:22:25 -07:00
test feat(backend): upgrade argo go module to V3. Part of #5718 (#5792) 2021-06-08 05:04:45 -07:00
third_party_licenses feat: upgrade to argo v3.1.5-patch (#6228) 2021-08-04 06:55:41 -07:00
Dockerfile chore: update Dockerfile for SDK 1.7.0 (#6262) 2021-08-06 18:13:27 -07:00
Dockerfile.cacheserver chore: check and comply with go mod licenses when building images. Fixes #4715 (#5908) 2021-06-25 05:48:53 -07:00
Dockerfile.persistenceagent chore: check and comply with go mod licenses when building images. Fixes #4715 (#5908) 2021-06-25 05:48:53 -07:00
Dockerfile.scheduledworkflow chore: check and comply with go mod licenses when building images. Fixes #4715 (#5908) 2021-06-25 05:48:53 -07:00
Dockerfile.viewercontroller chore: check and comply with go mod licenses when building images. Fixes #4715 (#5908) 2021-06-25 05:48:53 -07:00
Dockerfile.visualization chore(visualization): Revert to tensorflow image because tfx image is too big. Fix #6053 (#6061) 2021-07-15 20:16:38 -07:00
Makefile fix(frontend): TFX artifact visualization update. Fix tensorflow/tfx#3933 (#5999) 2021-07-13 12:47:58 -07:00
OWNERS chore: add capri-xiyue to backend OWNERS (#5874) 2021-06-20 21:10:16 -07:00
README.md chore: check and comply with go mod licenses when building images. Fixes #4715 (#5908) 2021-06-25 05:48:53 -07:00
requirements.in fix: upgrade tfx samples & deps to 0.27.0. Part of #5137 (#5176) 2021-02-24 20:09:15 +08:00
requirements.txt fix: upgrade tfx samples & deps to 0.27.0. Part of #5137 (#5176) 2021-02-24 20:09:15 +08:00
update_requirements.sh fix(frontend): TFX artifact visualization update. Fix tensorflow/tfx#3933 (#5999) 2021-07-13 12:47:58 -07:00

README.md

This directory contains code for the components that comprise the Kubeflow Pipelines backend.

Building & Testing

To run all unittests for backend:

go test -v -cover ./backend/...

The API server itself can be built using:

go build -o /tmp/apiserver backend/src/apiserver/*.go

Building APIServer image locally

The API server image can be built from the root folder of the repo using:

export API_SERVER_IMAGE=api_server
docker build -f backend/Dockerfile . --tag $API_SERVER_IMAGE

Deploy APIServer with the image you own build

Run

kubectl edit deployment.v1.apps/ml-pipeline -n kubeflow

You'll see the field reference the api server docker image. Change it to point to your own build, after saving and closing the file, apiserver will restart with your change.

Building client library and swagger files

After making changes to proto files, the Go client libraries, Python client libraries and swagger files need to be regenerated and checked-in. Refer to backend/api for details.

Updating licenses info

  1. Install go-licenses tool from https://github.com/Bobgy/go-licenses/releases, and refer to its documentation for how to use it.

  2. Run the tool to update all licenses:

    make all
    

Visualization Server Instructions

Updating python dependencies

pip-tools is used to manage python dependencies. To update dependencies, edit requirements.in and run ./update_requirements.sh <requirements.in >requirements.txt to update and pin the transitive dependencies.