-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* KFP 1.7.0-rc.4 Rebase * Resolve API and Backend conflicts * Apply 1.7.0 changes since rc.4 * Revert unwanted SDK changes * Revert unwanted samples changes * Revert unwanted components changes * Fix 1.7.0 backend conflicts * Revert unwanted SDK changes (2) * Fix SDK bugs in backend/Dockerfile * Fix frontend conflicts
- Loading branch information
1 parent
17ddeca
commit 0708a56
Showing
1,024 changed files
with
228,467 additions
and
71,070 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
.git | ||
bower_components | ||
dist | ||
node_modules | ||
**/node_modules | ||
backend/build | ||
v2/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Configuration for https://github.com/zeke/semantic-pull-requests | ||
# | ||
# Kubeflow Pipelines PR title convention is documented in | ||
# https://github.com/kubeflow/pipelines/blob/master/CONTRIBUTING.md#pull-request-title-convention | ||
|
||
# Always validate the PR title, and ignore the commits. | ||
titleOnly: true | ||
|
||
# TODO: define a list of valid scopes. | ||
# scopes: | ||
# - scope1 | ||
# - scope2 | ||
# ... | ||
|
||
# By default types specified in commitizen/conventional-commit-types is used. | ||
# See: https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json | ||
types: | ||
- feat | ||
- fix | ||
- docs | ||
- style | ||
- refactor | ||
- perf | ||
- test | ||
- build | ||
- chore | ||
- revert |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,3 +104,6 @@ docs/_build | |
|
||
# python sdk package | ||
*.tar.gz | ||
|
||
# Copy from kubeflow/frontend | ||
coverage/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Dependencies need to download via Makefile. | ||
v2alpha1/google |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,84 @@ | ||
PROTO_PATH=/usr/local/include/ | ||
# Copyright 2021 The Kubeflow Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
gen_proto: v2alpha1/pipeline_spec.proto | ||
cd v2alpha1 && protoc -I=$(PROTO_PATH) -I=. \ | ||
--go_out=go \ | ||
# Contact one of Bobgy, capri-xiyue or zijianjoy if this remote image needs an update. | ||
PREBUILT_REMOTE_IMAGE=gcr.io/ml-pipeline-test/api-generator:latest | ||
|
||
.PHONY: all | ||
all: golang python | ||
|
||
.PHONY: clean | ||
clean: clean-go clean-python | ||
|
||
# Generate proto packages using a pre-built api-generator image. | ||
.PHONY: golang | ||
golang: v2alpha1/*.proto | ||
docker run --interactive --rm \ | ||
--user $$(id -u):$$(id -g) \ | ||
--mount type=bind,source="$$(pwd)/..",target=/go/src/github.com/kubeflow/pipelines \ | ||
$(PREBUILT_REMOTE_IMAGE) \ | ||
sh -c 'cd /go/src/github.com/kubeflow/pipelines/api && make generate' | ||
|
||
# Delete all generated proto go packages. | ||
.PHONY: clean-go | ||
clean-go: | ||
rm -rf v2alpha1/go | ||
rm -f v2alpha1/google/rpc/status.proto | ||
|
||
# Generate Python package. | ||
.PHONY: python | ||
python: v2alpha1/pipeline_spec.proto v2alpha1/google/rpc/status.proto | ||
cd v2alpha1/python && python3 setup.py bdist_wheel | ||
|
||
# Delete all generated Python packages | ||
.PHONY: clean-python | ||
clean-python: | ||
rm -rf v2alpha1/python/build | ||
rm -rf v2alpha1/python/dist | ||
rm -f v2alpha1/python/kfp/pipeline_spec/pipeline_spec_pb2.py | ||
rm -f v2alpha1/google/rpc/status.proto | ||
|
||
########################## | ||
# The following are IMPLEMENTATION DETAILS. | ||
########################## | ||
|
||
# Generates proto packages locally, this should only be called: | ||
# * during development | ||
# * inside the prebuilt docker container | ||
.PHONY: generate | ||
generate: go_pipelinespec go_cachekey | ||
|
||
go_pipelinespec: v2alpha1/pipeline_spec.proto v2alpha1/google/rpc/status.proto | ||
mkdir -p v2alpha1/go/pipelinespec | ||
cd v2alpha1 && protoc -I=. \ | ||
--go_out=go/pipelinespec \ | ||
--go_opt=paths=source_relative \ | ||
pipeline_spec.proto | ||
|
||
go_cachekey: v2alpha1/pipeline_spec.proto v2alpha1/cache_key.proto | ||
mkdir -p v2alpha1/go/cachekey | ||
cd v2alpha1 && protoc -I=. \ | ||
--go_out=go/cachekey \ | ||
--go_opt=paths=source_relative \ | ||
cache_key.proto | ||
|
||
# Fetch dependency proto | ||
v2alpha1/google/rpc/status.proto: | ||
mkdir -p v2alpha1/google/rpc | ||
wget -O v2alpha1/google/rpc/status.proto https://raw.githubusercontent.com/googleapis/googleapis/047d3a8ac7f75383855df0166144f891d7af08d9/google/rpc/status.proto | ||
|
||
# protoc-gen-go is already installed in api-generator image | ||
.PHONY: protoc-gen-go | ||
protoc-gen-go: | ||
go install google.golang.org/protobuf/cmd/protoc-gen-go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module github.com/kubeflow/pipelines/api | ||
|
||
go 1.16 | ||
|
||
require google.golang.org/protobuf v1.27.1 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// Copyright 2021 The Kubeflow Authors | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
syntax = "proto3"; | ||
|
||
option go_package = "github.com/kubeflow/pipelines/api/v2alpha1/go/cachekey"; | ||
package ml_pipelines; | ||
|
||
import "google/protobuf/any.proto"; | ||
import "pipeline_spec.proto"; | ||
|
||
message CacheKey { | ||
map<string, ArtifactNameList> inputArtifactNames = 1; | ||
map<string, Value> inputParameters = 2; | ||
map<string, RuntimeArtifact> outputArtifactsSpec = 3; | ||
map<string, string> outputParametersSpec=4; | ||
ContainerSpec containerSpec=5; | ||
} | ||
|
||
message ContainerSpec { | ||
string image = 1; | ||
repeated string cmdArgs = 2; | ||
} | ||
|
||
message ArtifactNameList { | ||
repeated string artifactNames = 1; | ||
} |
Oops, something went wrong.