Skip to content

Commit ae9956c

Browse files
authored
chore(components/google-cloud): Post release v0.1.4 clean up (kubeflow#6275)
* google-cloud-pipeline-components-0.1.4 * update release docs * Update version for custom_job docker * fixing module path * temporary fixed for 0.1.4 released module * add init for remote dir * post release clean up * point custom job to latest * revert docker tag version
1 parent 0ac67d0 commit ae9956c

File tree

9 files changed

+44
-9
lines changed

9 files changed

+44
-9
lines changed

.readthedocs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ sphinx:
55
python:
66
version: 3.7
77
install:
8-
- requirements: sdk/python/requirements.txt
8+
- requirements: sdk/python/requirements.txt

components/google-cloud/RELEASE.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1-
# Current Version 0.1.4.dev (Still in Development)
1+
# Current Version 0.1.5.dev (Still in Development)
22

33
* Add notes for next release here.
44

5+
# Release 0.1.4
6+
7+
* Experimental component for tfp_anomaly_detection.
8+
* Experimental module for Custom Job Wrapper.
9+
* Fix to include YAML files in PyPI package.
10+
* Restructure the google_cloud_pipeline_components.
11+
512
# Release 0.1.3
613

714
* Use correct dataset type when passing dataset to CustomTraining.

components/google-cloud/google_cloud_pipeline_components/aiplatform/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ def component_yaml_generator(**kwargs):
584584
command=[
585585
'python3',
586586
'-m',
587-
'google_cloud_pipeline_components.aiplatform.remote_runner',
587+
'google_cloud_pipeline_components.remote.aiplatform.remote_runner',
588588
'--cls_name',
589589
cls_name,
590590
'--method_name',

components/google-cloud/google_cloud_pipeline_components/experimental/custom_job/custom_job.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from kfp.components import structures
2525

2626
_DEFAULT_CUSTOM_JOB_MACHINE_TYPE = 'n1-standard-4'
27-
_DEFAULT_CUSTOM_JOB_CONTAINER_IMAGE = 'gcr.io/managed-pipeline-test/gcp-launcher:v7'
27+
_DEFAULT_CUSTOM_JOB_CONTAINER_IMAGE = 'gcr.io/managed-pipeline-test/gcp-launcher:latest'
2828

2929

3030
def run_as_vertex_ai_custom_job(

components/google-cloud/google_cloud_pipeline_components/experimental/remote/gcp_launcher/Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM python:3.7-slim
15+
FROM gcr.io/google-appengine/python:latest
1616

17-
RUN pip install -U google-cloud-aiplatform
18-
RUN pip install -U google-cloud-storage
17+
RUN pip3 install -U google-cloud-aiplatform
18+
RUN pip3 install -U google-cloud-storage
1919

2020
RUN pip3 install "git+https://github.com/kubeflow/pipelines.git#egg=google-cloud-pipeline-components&subdirectory=components/google-cloud"
2121

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Copyright 2021 The Kubeflow Authors. All Rights Reserved.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
"""Google Cloud Pipeline Components root."""

components/google-cloud/google_cloud_pipeline_components/remote/aiplatform/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ RUN pip3 install --upgrade pip
2222

2323
RUN pip3 install "git+https://github.com/kubeflow/pipelines.git#egg=google-cloud-pipeline-components&subdirectory=components/google-cloud"
2424

25-
ENTRYPOINT ["python3","-m","google_cloud_pipeline_components.aiplatform.remote_runner"]
25+
ENTRYPOINT ["python3","-m","google_cloud_pipeline_components.remote.aiplatform.remote_runner"]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Copyright 2021 The Kubeflow Authors. All Rights Reserved.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
"""Google Cloud Pipeline Components root."""

components/google-cloud/google_cloud_pipeline_components/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# limitations under the License.
1414
"""Contains the version string of Google Cloud Pipeline Components."""
1515

16-
__version__ = "0.1.4.dev"
16+
__version__ = "0.1.5.dev"

0 commit comments

Comments
 (0)