Skip to content

Commit 62768da

Browse files
committed
removed ml.googleapis.com from APIs list
1 parent abcd3dd commit 62768da

17 files changed

+122
-52
lines changed

AutoMLOps_User_Guide.pdf

-270 Bytes
Binary file not shown.

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4+
## [1.2.2] - 2023-09-25
5+
6+
### Added
7+
8+
### Changed
9+
10+
- Commented out change from 1.2.1 to set cloud functions default registry to artifact-registry; there appears to be an auth bug with this setting
11+
- Updated documentation
12+
13+
### Fixed
14+
15+
- Removed legacy ml.googleapis.com API that is deprecated as of 9/25/2023
16+
17+
418
## [1.2.1] - 2023-09-20
519

620
### Added

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ Based on the above user selection, AutoMLOps will enable up to the following API
169169
- [compute.googleapis.com](https://cloud.google.com/compute/docs/reference/rest/v1)
170170
- [iam.googleapis.com](https://cloud.google.com/iam/docs/reference/rest)
171171
- [iamcredentials.googleapis.com](https://cloud.google.com/iam/docs/reference/credentials/rest)
172-
- [ml.googleapis.com](https://cloud.google.com/ai-platform/training/docs/reference/rest)
173172
- [pubsub.googleapis.com](https://cloud.google.com/pubsub/docs/reference/rest)
174173
- [run.googleapis.com](https://cloud.google.com/run/docs/reference/rest)
175174
- [storage.googleapis.com](https://cloud.google.com/storage/docs/apis)

examples/inferencing/00_batch_prediction_example.ipynb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@
104104
"- [compute.googleapis.com](https://cloud.google.com/compute/docs/reference/rest/v1)\n",
105105
"- [iam.googleapis.com](https://cloud.google.com/iam/docs/reference/rest)\n",
106106
"- [iamcredentials.googleapis.com](https://cloud.google.com/iam/docs/reference/credentials/rest)\n",
107-
"- [ml.googleapis.com](https://cloud.google.com/ai-platform/training/docs/reference/rest)\n",
108107
"- [pubsub.googleapis.com](https://cloud.google.com/pubsub/docs/reference/rest)\n",
109108
"- [run.googleapis.com](https://cloud.google.com/run/docs/reference/rest)\n",
110109
"- [storage.googleapis.com](https://cloud.google.com/storage/docs/apis)\n",
@@ -113,7 +112,13 @@
113112
"\n",
114113
"AutoMLOps will create the following service account and update [IAM permissions](https://cloud.google.com/iam/docs/understanding-roles) during the provision step:\n",
115114
"1. Pipeline Runner Service Account (defaults to: vertex-pipelines@PROJECT_ID.iam.gserviceaccount.com). Roles added:\n",
116-
"- roles/aiplatform.serviceAgent\n",
115+
"- roles/aiplatform.user\n",
116+
"- roles/artifactregistry.reader\n",
117+
"- roles/bigquery.user\n",
118+
"- roles/bigquery.dataEditor\n",
119+
"- roles/iam.serviceAccountUser\n",
120+
"- roles/storage.admin\n",
121+
"- roles/cloudfunctions.admin\n",
117122
"\n",
118123
"# User Guide\n",
119124
"\n",

examples/inferencing/01_customer_churn_model_monitoring_example.ipynb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@
134134
"- [compute.googleapis.com](https://cloud.google.com/compute/docs/reference/rest/v1)\n",
135135
"- [iam.googleapis.com](https://cloud.google.com/iam/docs/reference/rest)\n",
136136
"- [iamcredentials.googleapis.com](https://cloud.google.com/iam/docs/reference/credentials/rest)\n",
137-
"- [ml.googleapis.com](https://cloud.google.com/ai-platform/training/docs/reference/rest)\n",
138137
"- [pubsub.googleapis.com](https://cloud.google.com/pubsub/docs/reference/rest)\n",
139138
"- [run.googleapis.com](https://cloud.google.com/run/docs/reference/rest)\n",
140139
"- [storage.googleapis.com](https://cloud.google.com/storage/docs/apis)\n",
@@ -143,7 +142,13 @@
143142
"\n",
144143
"AutoMLOps will create the following service account and update [IAM permissions](https://cloud.google.com/iam/docs/understanding-roles) during the provision step:\n",
145144
"1. Pipeline Runner Service Account (defaults to: vertex-pipelines@PROJECT_ID.iam.gserviceaccount.com). Roles added:\n",
146-
"- roles/aiplatform.serviceAgent\n",
145+
"- roles/aiplatform.user\n",
146+
"- roles/artifactregistry.reader\n",
147+
"- roles/bigquery.user\n",
148+
"- roles/bigquery.dataEditor\n",
149+
"- roles/iam.serviceAccountUser\n",
150+
"- roles/storage.admin\n",
151+
"- roles/cloudfunctions.admin\n",
147152
"\n",
148153
"# User Guide\n",
149154
"\n",

examples/llmops/finetuning-flan-t5/00_llmops_finetuning_flan_t5_example.ipynb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@
106106
"- [compute.googleapis.com](https://cloud.google.com/compute/docs/reference/rest/v1)\n",
107107
"- [iam.googleapis.com](https://cloud.google.com/iam/docs/reference/rest)\n",
108108
"- [iamcredentials.googleapis.com](https://cloud.google.com/iam/docs/reference/credentials/rest)\n",
109-
"- [ml.googleapis.com](https://cloud.google.com/ai-platform/training/docs/reference/rest)\n",
110109
"- [pubsub.googleapis.com](https://cloud.google.com/pubsub/docs/reference/rest)\n",
111110
"- [run.googleapis.com](https://cloud.google.com/run/docs/reference/rest)\n",
112111
"- [storage.googleapis.com](https://cloud.google.com/storage/docs/apis)\n",
@@ -115,7 +114,13 @@
115114
"\n",
116115
"AutoMLOps will create the following service account and update [IAM permissions](https://cloud.google.com/iam/docs/understanding-roles) during the provision step:\n",
117116
"1. Pipeline Runner Service Account (defaults to: vertex-pipelines@PROJECT_ID.iam.gserviceaccount.com). Roles added:\n",
118-
"- roles/aiplatform.serviceAgent\n",
117+
"- roles/aiplatform.user\n",
118+
"- roles/artifactregistry.reader\n",
119+
"- roles/bigquery.user\n",
120+
"- roles/bigquery.dataEditor\n",
121+
"- roles/iam.serviceAccountUser\n",
122+
"- roles/storage.admin\n",
123+
"- roles/cloudfunctions.admin\n",
119124
"\n",
120125
"# User Guide\n",
121126
"\n",

examples/training/.gcloudignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# This file specifies files that are *not* uploaded to Google Cloud
2+
# using gcloud. It follows the same syntax as .gitignore, with the addition of
3+
# "#!include" directives (which insert the entries of the given .gitignore-style
4+
# file at that point).
5+
#
6+
# For more information, run:
7+
# $ gcloud topic gcloudignore
8+
#
9+
.gcloudignore
10+
# If you would like to upload your .git directory, .gitignore file or files
11+
# from your .gitignore file, remove the corresponding line
12+
# below:
13+
.git
14+
.gitignore
15+
16+
node_modules
17+
#!include:.gitignore

examples/training/00_introduction_training_example.ipynb

Lines changed: 39 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@
103103
"- [compute.googleapis.com](https://cloud.google.com/compute/docs/reference/rest/v1)\n",
104104
"- [iam.googleapis.com](https://cloud.google.com/iam/docs/reference/rest)\n",
105105
"- [iamcredentials.googleapis.com](https://cloud.google.com/iam/docs/reference/credentials/rest)\n",
106-
"- [ml.googleapis.com](https://cloud.google.com/ai-platform/training/docs/reference/rest)\n",
107106
"- [pubsub.googleapis.com](https://cloud.google.com/pubsub/docs/reference/rest)\n",
108107
"- [run.googleapis.com](https://cloud.google.com/run/docs/reference/rest)\n",
109108
"- [storage.googleapis.com](https://cloud.google.com/storage/docs/apis)\n",
@@ -112,7 +111,13 @@
112111
"\n",
113112
"AutoMLOps will create the following service account and update [IAM permissions](https://cloud.google.com/iam/docs/understanding-roles) during the provision step:\n",
114113
"1. Pipeline Runner Service Account (defaults to: vertex-pipelines@PROJECT_ID.iam.gserviceaccount.com). Roles added:\n",
115-
"- roles/aiplatform.serviceAgent\n",
114+
"- roles/aiplatform.user\n",
115+
"- roles/artifactregistry.reader\n",
116+
"- roles/bigquery.user\n",
117+
"- roles/bigquery.dataEditor\n",
118+
"- roles/iam.serviceAccountUser\n",
119+
"- roles/storage.admin\n",
120+
"- roles/cloudfunctions.admin\n",
116121
"\n",
117122
"# User Guide\n",
118123
"\n",
@@ -684,56 +689,58 @@
684689
"cell_type": "code",
685690
"execution_count": 13,
686691
"id": "a7e1efd9",
687-
"metadata": {},
692+
"metadata": {
693+
"scrolled": false
694+
},
688695
"outputs": [
689696
{
690697
"name": "stdout",
691698
"output_type": "stream",
692699
"text": [
693700
"WARNING: Provisioning requires these permissions:\n",
701+
"-iam.serviceAccounts.list\n",
702+
"-storage.buckets.create\n",
694703
"-cloudscheduler.jobs.create\n",
695-
"-iam.serviceAccounts.create\n",
696704
"-serviceusage.services.use\n",
697-
"-serviceusage.services.enable\n",
698-
"-artifactregistry.repositories.create\n",
699-
"-source.repos.list\n",
700-
"-artifactregistry.repositories.list\n",
701-
"-cloudbuild.builds.list\n",
702-
"-iam.serviceAccounts.list\n",
703-
"-pubsub.topics.list\n",
705+
"-pubsub.subscriptions.create\n",
704706
"-cloudbuild.builds.create\n",
705-
"-storage.buckets.create\n",
706707
"-pubsub.topics.create\n",
707708
"-cloudfunctions.functions.create\n",
708-
"-cloudfunctions.functions.get\n",
709-
"-pubsub.subscriptions.create\n",
710-
"-iam.serviceAccounts.actAs\n",
711-
"-storage.buckets.get\n",
712709
"-resourcemanager.projects.setIamPolicy\n",
713-
"-cloudscheduler.jobs.list\n",
710+
"-storage.buckets.get\n",
711+
"-iam.serviceAccounts.actAs\n",
712+
"-iam.serviceAccounts.create\n",
714713
"-source.repos.create\n",
715714
"-pubsub.subscriptions.list\n",
715+
"-cloudscheduler.jobs.list\n",
716+
"-artifactregistry.repositories.create\n",
717+
"-serviceusage.services.enable\n",
718+
"-cloudfunctions.functions.get\n",
719+
"-source.repos.list\n",
720+
"-pubsub.topics.list\n",
721+
"-cloudbuild.builds.list\n",
722+
"-artifactregistry.repositories.list\n",
716723
"\n",
717724
"You are currently using: srastatter@google.com. Please check your account permissions.\n",
718725
"The following are the recommended roles for provisioning:\n",
719-
"-roles/artifactregistry.admin\n",
726+
"-roles/iam.serviceAccountUser\n",
720727
"-roles/serviceusage.serviceUsageAdmin\n",
721-
"-roles/cloudbuild.builds.editor\n",
728+
"-roles/cloudfunctions.admin\n",
729+
"-roles/storage.admin\n",
722730
"-roles/source.admin\n",
723-
"-roles/iam.serviceAccountUser\n",
724-
"-roles/cloudscheduler.admin\n",
725731
"-roles/iam.serviceAccountAdmin\n",
726-
"-roles/storage.admin\n",
732+
"-roles/cloudscheduler.admin\n",
733+
"-roles/artifactregistry.admin\n",
727734
"-roles/pubsub.editor\n",
735+
"-roles/cloudbuild.builds.editor\n",
728736
"-roles/resourcemanager.projectIamAdmin\n",
729-
"-roles/cloudfunctions.admin\n",
730737
"\n",
731738
"\u001b[0;32m Setting up API services in project automlops-sandbox \u001b[0m\n",
732-
"Operation \"operations/acat.p2-45373616427-2910359e-ca81-4af7-997d-7452e76b8677\" finished successfully.\n",
739+
"Operation \"operations/acat.p2-45373616427-a14841f0-e60d-4c6c-ace7-073e858c1888\" finished successfully.\n",
733740
"\u001b[0;32m Setting up Artifact Registry in project automlops-sandbox \u001b[0m\n",
734741
"Listing items under project automlops-sandbox, location us-central1.\n",
735742
"\n",
736-
"dry-beans-dt-artifact-registry DOCKER STANDARD_REPOSITORY Artifact Registry dry-beans-dt-artifact-registry in us-central1. us-central1 Google-managed key 2023-09-05T11:25:48 2023-09-20T13:10:52 9080.502\n",
743+
"dry-beans-dt-artifact-registry DOCKER STANDARD_REPOSITORY Artifact Registry dry-beans-dt-artifact-registry in us-central1. us-central1 Google-managed key 2023-09-05T11:25:48 2023-09-20T14:07:57 9794.524\n",
737744
"Artifact Registry: dry-beans-dt-artifact-registry already exists in project automlops-sandbox\n",
738745
"\u001b[0;32m Setting up Storage Bucket in project automlops-sandbox \u001b[0m\n",
739746
"gs://automlops-sandbox-dry-beans-dt-bucket/\n",
@@ -751,11 +758,11 @@
751758
"\u001b[0;32m Deploying Cloud Functions: dry-beans-dt-job-submission-svc in project automlops-sandbox \u001b[0m\n",
752759
"Deploying function (may take a while - up to 2 minutes)...\n",
753760
"..\n",
754-
"For Cloud Build Logs, visit: https://console.cloud.google.com/cloud-build/builds;region=us-central1/02d7faae-e8b0-409b-84e2-cb2ad5c86164?project=45373616427\n",
755-
"...........................................................done.\n",
761+
"For Cloud Build Logs, visit: https://console.cloud.google.com/cloud-build/builds;region=us-central1/71111d1b-0448-4f22-862b-d040e37cedf2?project=45373616427\n",
762+
"................................................................done.\n",
756763
"availableMemoryMb: 512\n",
757-
"buildId: 02d7faae-e8b0-409b-84e2-cb2ad5c86164\n",
758-
"buildName: projects/45373616427/locations/us-central1/builds/02d7faae-e8b0-409b-84e2-cb2ad5c86164\n",
764+
"buildId: 71111d1b-0448-4f22-862b-d040e37cedf2\n",
765+
"buildName: projects/45373616427/locations/us-central1/builds/71111d1b-0448-4f22-862b-d040e37cedf2\n",
759766
"dockerRegistry: ARTIFACT_REGISTRY\n",
760767
"entryPoint: process_request\n",
761768
"eventTrigger:\n",
@@ -770,11 +777,11 @@
770777
"name: projects/automlops-sandbox/locations/us-central1/functions/dry-beans-dt-job-submission-svc\n",
771778
"runtime: python39\n",
772779
"serviceAccountEmail: vertex-pipelines@automlops-sandbox.iam.gserviceaccount.com\n",
773-
"sourceUploadUrl: https://storage.googleapis.com/uploads-961973632599.us-central1.cloudfunctions.appspot.com/fce36a97-cf63-49c5-94ab-144dcf125cdd.zip\n",
780+
"sourceUploadUrl: https://storage.googleapis.com/uploads-961973632599.us-central1.cloudfunctions.appspot.com/de8b497b-dff0-4ba2-b88c-d9b59f868941.zip\n",
774781
"status: ACTIVE\n",
775782
"timeout: 540s\n",
776-
"updateTime: '2023-09-20T18:01:23.259Z'\n",
777-
"versionId: '3'\n",
783+
"updateTime: '2023-09-25T16:24:11.187Z'\n",
784+
"versionId: '5'\n",
778785
"\u001b[0;32m Setting up Cloud Build Trigger in project automlops-sandbox \u001b[0m\n",
779786
"name: dry-beans-dt-build-trigger\n",
780787
"Cloudbuild Trigger already exists in project automlops-sandbox for repo dry-beans-dt-repository\n",

examples/training/01_clustering_example.ipynb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@
102102
"- [compute.googleapis.com](https://cloud.google.com/compute/docs/reference/rest/v1)\n",
103103
"- [iam.googleapis.com](https://cloud.google.com/iam/docs/reference/rest)\n",
104104
"- [iamcredentials.googleapis.com](https://cloud.google.com/iam/docs/reference/credentials/rest)\n",
105-
"- [ml.googleapis.com](https://cloud.google.com/ai-platform/training/docs/reference/rest)\n",
106105
"- [pubsub.googleapis.com](https://cloud.google.com/pubsub/docs/reference/rest)\n",
107106
"- [run.googleapis.com](https://cloud.google.com/run/docs/reference/rest)\n",
108107
"- [storage.googleapis.com](https://cloud.google.com/storage/docs/apis)\n",
@@ -111,7 +110,13 @@
111110
"\n",
112111
"AutoMLOps will create the following service account and update [IAM permissions](https://cloud.google.com/iam/docs/understanding-roles) during the provision step:\n",
113112
"1. Pipeline Runner Service Account (defaults to: vertex-pipelines@PROJECT_ID.iam.gserviceaccount.com). Roles added:\n",
114-
"- roles/aiplatform.serviceAgent\n",
113+
"- roles/aiplatform.user\n",
114+
"- roles/artifactregistry.reader\n",
115+
"- roles/bigquery.user\n",
116+
"- roles/bigquery.dataEditor\n",
117+
"- roles/iam.serviceAccountUser\n",
118+
"- roles/storage.admin\n",
119+
"- roles/cloudfunctions.admin\n",
115120
"\n",
116121
"# User Guide\n",
117122
"\n",

examples/training/02_tensorflow_transfer_learning_gpu_example.ipynb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@
103103
"- [compute.googleapis.com](https://cloud.google.com/compute/docs/reference/rest/v1)\n",
104104
"- [iam.googleapis.com](https://cloud.google.com/iam/docs/reference/rest)\n",
105105
"- [iamcredentials.googleapis.com](https://cloud.google.com/iam/docs/reference/credentials/rest)\n",
106-
"- [ml.googleapis.com](https://cloud.google.com/ai-platform/training/docs/reference/rest)\n",
107106
"- [pubsub.googleapis.com](https://cloud.google.com/pubsub/docs/reference/rest)\n",
108107
"- [run.googleapis.com](https://cloud.google.com/run/docs/reference/rest)\n",
109108
"- [storage.googleapis.com](https://cloud.google.com/storage/docs/apis)\n",
@@ -112,7 +111,13 @@
112111
"\n",
113112
"AutoMLOps will create the following service account and update [IAM permissions](https://cloud.google.com/iam/docs/understanding-roles) during the provision step:\n",
114113
"1. Pipeline Runner Service Account (defaults to: vertex-pipelines@PROJECT_ID.iam.gserviceaccount.com). Roles added:\n",
115-
"- roles/aiplatform.serviceAgent\n",
114+
"- roles/aiplatform.user\n",
115+
"- roles/artifactregistry.reader\n",
116+
"- roles/bigquery.user\n",
117+
"- roles/bigquery.dataEditor\n",
118+
"- roles/iam.serviceAccountUser\n",
119+
"- roles/storage.admin\n",
120+
"- roles/cloudfunctions.admin\n",
116121
"\n",
117122
"# User Guide\n",
118123
"\n",

examples/training/03_bqml_introduction_training_example.ipynb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@
104104
"- [compute.googleapis.com](https://cloud.google.com/compute/docs/reference/rest/v1)\n",
105105
"- [iam.googleapis.com](https://cloud.google.com/iam/docs/reference/rest)\n",
106106
"- [iamcredentials.googleapis.com](https://cloud.google.com/iam/docs/reference/credentials/rest)\n",
107-
"- [ml.googleapis.com](https://cloud.google.com/ai-platform/training/docs/reference/rest)\n",
108107
"- [pubsub.googleapis.com](https://cloud.google.com/pubsub/docs/reference/rest)\n",
109108
"- [run.googleapis.com](https://cloud.google.com/run/docs/reference/rest)\n",
110109
"- [storage.googleapis.com](https://cloud.google.com/storage/docs/apis)\n",
@@ -113,7 +112,13 @@
113112
"\n",
114113
"AutoMLOps will create the following service account and update [IAM permissions](https://cloud.google.com/iam/docs/understanding-roles) during the provision step:\n",
115114
"1. Pipeline Runner Service Account (defaults to: vertex-pipelines@PROJECT_ID.iam.gserviceaccount.com). Roles added:\n",
116-
"- roles/aiplatform.serviceAgent\n",
115+
"- roles/aiplatform.user\n",
116+
"- roles/artifactregistry.reader\n",
117+
"- roles/bigquery.user\n",
118+
"- roles/bigquery.dataEditor\n",
119+
"- roles/iam.serviceAccountUser\n",
120+
"- roles/storage.admin\n",
121+
"- roles/cloudfunctions.admin\n",
117122
"\n",
118123
"# User Guide\n",
119124
"\n",

examples/training/04_bqml_forecasting-retail-demand.ipynb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@
123123
"- [compute.googleapis.com](https://cloud.google.com/compute/docs/reference/rest/v1)\n",
124124
"- [iam.googleapis.com](https://cloud.google.com/iam/docs/reference/rest)\n",
125125
"- [iamcredentials.googleapis.com](https://cloud.google.com/iam/docs/reference/credentials/rest)\n",
126-
"- [ml.googleapis.com](https://cloud.google.com/ai-platform/training/docs/reference/rest)\n",
127126
"- [pubsub.googleapis.com](https://cloud.google.com/pubsub/docs/reference/rest)\n",
128127
"- [run.googleapis.com](https://cloud.google.com/run/docs/reference/rest)\n",
129128
"- [storage.googleapis.com](https://cloud.google.com/storage/docs/apis)\n",
@@ -132,7 +131,13 @@
132131
"\n",
133132
"AutoMLOps will create the following service account and update [IAM permissions](https://cloud.google.com/iam/docs/understanding-roles) during the provision step:\n",
134133
"1. Pipeline Runner Service Account (defaults to: vertex-pipelines@PROJECT_ID.iam.gserviceaccount.com). Roles added:\n",
135-
"- roles/aiplatform.serviceAgent\n",
134+
"- roles/aiplatform.user\n",
135+
"- roles/artifactregistry.reader\n",
136+
"- roles/bigquery.user\n",
137+
"- roles/bigquery.dataEditor\n",
138+
"- roles/iam.serviceAccountUser\n",
139+
"- roles/storage.admin\n",
140+
"- roles/cloudfunctions.admin\n",
136141
"\n",
137142
"# User Guide\n",
138143
"\n",

google_cloud_automlops/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
series of directories to support the creation of Vertex Pipelines.
2424
"""
2525
# pylint: disable=invalid-name
26-
__version__ = '1.2.1'
26+
__version__ = '1.2.2'
2727
__author__ = 'Sean Rastatter'
2828
__credits__ = 'Google'

google_cloud_automlops/provisioning/gcloud/templates/provision_resources.sh.j2

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ fi
143143
echo -e "$GREEN Deploying Cloud Functions: ${PIPELINE_JOB_SUBMISSION_SERVICE_NAME} in project $PROJECT_ID $NC"
144144
gcloud functions deploy $PIPELINE_JOB_SUBMISSION_SERVICE_NAME \
145145
--no-allow-unauthenticated \
146-
--docker-registry="artifact-registry" \
147146
--trigger-topic=$PUBSUB_TOPIC_NAME \
148147
--entry-point=process_request \
149148
--runtime=python39 \

google_cloud_automlops/provisioning/terraform/templates/environment/main.tf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ resource "google_storage_bucket_object" "archive_submission_service_code" {
110110
resource "google_cloudfunctions_function" "pipeline_job_submission_service" {
111111
name = var.pipeline_job_submission_service_name
112112
region = var.pipeline_job_submission_service_location
113-
docker_registry = "ARTIFACT_REGISTRY"
113+
# docker_registry = "ARTIFACT_REGISTRY"
114114
service_account_email = google_service_account.pipeline_job_runner_service_account.email
115115
runtime = "python39"
116116
entry_point = "process_request"

google_cloud_automlops/utils/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,6 @@ def get_required_apis(defaults: dict) -> Set:
466466
'compute.googleapis.com',
467467
'iamcredentials.googleapis.com',
468468
'iam.googleapis.com',
469-
'ml.googleapis.com',
470469
'pubsub.googleapis.com',
471470
'storage.googleapis.com'])
472471
if defaults['tooling']['orchestration_framework'] == Orchestrator.KFP.value:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
setup(
2222
name='google-cloud-automlops',
23-
version='1.2.1',
23+
version='1.2.2',
2424
description='Build MLOps Pipelines in Minutes.',
2525
long_description=readme_contents,
2626
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)