|
697 | 697 | "output_type": "stream",
|
698 | 698 | "text": [
|
699 | 699 | "WARNING: Provisioning requires these permissions:\n",
|
| 700 | + "-pubsub.subscriptions.create\n", |
| 701 | + "-source.repos.list\n", |
| 702 | + "-resourcemanager.projects.setIamPolicy\n", |
| 703 | + "-cloudfunctions.functions.get\n", |
| 704 | + "-iam.serviceAccounts.list\n", |
700 | 705 | "-cloudbuild.builds.create\n",
|
701 |
| - "-pubsub.topics.list\n", |
702 |
| - "-serviceusage.services.enable\n", |
703 |
| - "-storage.buckets.get\n", |
704 | 706 | "-iam.serviceAccounts.actAs\n",
|
705 |
| - "-cloudscheduler.jobs.create\n", |
706 | 707 | "-pubsub.subscriptions.list\n",
|
707 |
| - "-pubsub.topics.create\n", |
708 |
| - "-cloudfunctions.functions.get\n", |
709 |
| - "-artifactregistry.repositories.create\n", |
| 708 | + "-source.repos.create\n", |
| 709 | + "-cloudscheduler.jobs.create\n", |
710 | 710 | "-cloudscheduler.jobs.list\n",
|
711 |
| - "-pubsub.subscriptions.create\n", |
| 711 | + "-serviceusage.services.enable\n", |
| 712 | + "-cloudbuild.builds.list\n", |
| 713 | + "-storage.buckets.get\n", |
| 714 | + "-artifactregistry.repositories.list\n", |
| 715 | + "-artifactregistry.repositories.create\n", |
| 716 | + "-serviceusage.services.use\n", |
712 | 717 | "-iam.serviceAccounts.create\n",
|
713 |
| - "-resourcemanager.projects.setIamPolicy\n", |
714 |
| - "-iam.serviceAccounts.list\n", |
| 718 | + "-pubsub.topics.create\n", |
715 | 719 | "-cloudfunctions.functions.create\n",
|
716 |
| - "-source.repos.list\n", |
717 |
| - "-source.repos.create\n", |
718 |
| - "-artifactregistry.repositories.list\n", |
| 720 | + "-pubsub.topics.list\n", |
719 | 721 | "-storage.buckets.create\n",
|
720 |
| - "-serviceusage.services.use\n", |
721 |
| - "-cloudbuild.builds.list\n", |
722 | 722 | "\n",
|
723 | 723 | "You are currently using: srastatter@google.com. Please check your account permissions.\n",
|
724 | 724 | "The following are the recommended roles for provisioning:\n",
|
725 |
| - "-roles/cloudbuild.builds.editor\n", |
| 725 | + "-roles/source.admin\n", |
726 | 726 | "-roles/resourcemanager.projectIamAdmin\n",
|
727 | 727 | "-roles/pubsub.editor\n",
|
728 |
| - "-roles/source.admin\n", |
729 |
| - "-roles/iam.serviceAccountUser\n", |
730 | 728 | "-roles/serviceusage.serviceUsageAdmin\n",
|
| 729 | + "-roles/cloudscheduler.admin\n", |
731 | 730 | "-roles/cloudfunctions.admin\n",
|
732 |
| - "-roles/storage.admin\n", |
| 731 | + "-roles/cloudbuild.builds.editor\n", |
| 732 | + "-roles/iam.serviceAccountUser\n", |
733 | 733 | "-roles/artifactregistry.admin\n",
|
734 |
| - "-roles/cloudscheduler.admin\n", |
735 | 734 | "-roles/iam.serviceAccountAdmin\n",
|
| 735 | + "-roles/storage.admin\n", |
736 | 736 | "\n",
|
737 | 737 | "\u001b[0;32m Setting up API services in project automlops-sandbox \u001b[0m\n",
|
738 |
| - "Operation \"operations/acat.p2-45373616427-64a80155-46ca-4ebb-abc4-66904d81e9ea\" finished successfully.\n", |
| 738 | + "Operation \"operations/acat.p2-45373616427-e2d3ac08-b15b-4cac-a8cc-c14b53524c4a\" finished successfully.\n", |
739 | 739 | "\u001b[0;32m Setting up Artifact Registry in project automlops-sandbox \u001b[0m\n",
|
740 | 740 | "Listing items under project automlops-sandbox, location us-central1.\n",
|
741 | 741 | "\n",
|
742 |
| - "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-28T23:31:56 11640.147\n", |
| 742 | + "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-05T10:25:48 2023-10-03T13:57:46 14103.439\n", |
743 | 743 | "Artifact Registry: dry-beans-dt-artifact-registry already exists in project automlops-sandbox\n",
|
744 | 744 | "\u001b[0;32m Setting up Storage Bucket in project automlops-sandbox \u001b[0m\n",
|
745 | 745 | "gs://automlops-sandbox-dry-beans-dt-bucket/\n",
|
|
757 | 757 | "\u001b[0;32m Deploying Cloud Functions: dry-beans-dt-job-submission-svc in project automlops-sandbox \u001b[0m\n",
|
758 | 758 | "Deploying function (may take a while - up to 2 minutes)...\n",
|
759 | 759 | "..\n",
|
760 |
| - "For Cloud Build Logs, visit: https://console.cloud.google.com/cloud-build/builds;region=us-central1/2023b741-7039-4edc-8e70-61da23715920?project=45373616427\n", |
761 |
| - ".............................done.\n", |
| 760 | + "For Cloud Build Logs, visit: https://console.cloud.google.com/cloud-build/builds;region=us-central1/21d26680-f4ca-4982-8ed7-5fa21b1c5d64?project=45373616427\n", |
| 761 | + "........done.\n", |
762 | 762 | "availableMemoryMb: 512\n",
|
763 |
| - "buildId: 2023b741-7039-4edc-8e70-61da23715920\n", |
764 |
| - "buildName: projects/45373616427/locations/us-central1/builds/2023b741-7039-4edc-8e70-61da23715920\n", |
| 763 | + "buildId: 21d26680-f4ca-4982-8ed7-5fa21b1c5d64\n", |
| 764 | + "buildName: projects/45373616427/locations/us-central1/builds/21d26680-f4ca-4982-8ed7-5fa21b1c5d64\n", |
765 | 765 | "dockerRegistry: ARTIFACT_REGISTRY\n",
|
766 | 766 | "dockerRepository: projects/automlops-sandbox/locations/us-central1/repositories/dry-beans-dt-artifact-registry\n",
|
767 | 767 | "entryPoint: process_request\n",
|
|
777 | 777 | "name: projects/automlops-sandbox/locations/us-central1/functions/dry-beans-dt-job-submission-svc\n",
|
778 | 778 | "runtime: python39\n",
|
779 | 779 | "serviceAccountEmail: vertex-pipelines@automlops-sandbox.iam.gserviceaccount.com\n",
|
780 |
| - "sourceUploadUrl: https://storage.googleapis.com/uploads-961973632599.us-central1.cloudfunctions.appspot.com/7e2fe33a-4a5b-4103-8a9c-e81855325ba4.zip\n", |
| 780 | + "sourceUploadUrl: https://storage.googleapis.com/uploads-961973632599.us-central1.cloudfunctions.appspot.com/2c19d400-96a6-44c3-bd8e-aeb2f608ca80.zip\n", |
781 | 781 | "status: ACTIVE\n",
|
782 | 782 | "timeout: 540s\n",
|
783 |
| - "updateTime: '2023-09-29T03:41:11.731Z'\n", |
784 |
| - "versionId: '2'\n", |
| 783 | + "updateTime: '2023-10-03T20:11:45.613Z'\n", |
| 784 | + "versionId: '4'\n", |
785 | 785 | "\u001b[0;32m Setting up Cloud Build Trigger in project automlops-sandbox \u001b[0m\n",
|
786 | 786 | "name: dry-beans-dt-build-trigger\n",
|
787 | 787 | "Cloudbuild Trigger already exists in project automlops-sandbox for repo dry-beans-dt-repository\n",
|
|
816 | 816 | "output_type": "stream",
|
817 | 817 | "text": [
|
818 | 818 | "WARNING: Running precheck for deploying requires these permissions:\n",
|
819 |
| - "-artifactregistry.repositories.get\n", |
820 |
| - "-iam.serviceAccounts.get\n", |
821 |
| - "-source.repos.update\n", |
822 | 819 | "-resourcemanager.projects.getIamPolicy\n",
|
823 |
| - "-serviceusage.services.get\n", |
| 820 | + "-artifactregistry.repositories.get\n", |
824 | 821 | "-pubsub.topics.get\n",
|
825 |
| - "-cloudbuild.builds.get\n", |
826 | 822 | "-cloudfunctions.functions.get\n",
|
827 |
| - "-storage.buckets.update\n", |
| 823 | + "-cloudbuild.builds.get\n", |
828 | 824 | "-pubsub.subscriptions.get\n",
|
| 825 | + "-serviceusage.services.get\n", |
| 826 | + "-storage.buckets.update\n", |
| 827 | + "-iam.serviceAccounts.get\n", |
| 828 | + "-source.repos.update\n", |
829 | 829 | "\n",
|
830 | 830 | "You are currently using: srastatter@google.com. Please check your account permissions.\n",
|
831 | 831 | "The following are the recommended roles for deploying with precheck:\n",
|
| 832 | + "-roles/cloudfunctions.viewer\n", |
| 833 | + "-roles/source.writer\n", |
| 834 | + "-roles/artifactregistry.reader\n", |
| 835 | + "-roles/pubsub.viewer\n", |
832 | 836 | "-roles/serviceusage.serviceUsageViewer\n",
|
| 837 | + "-roles/iam.roleViewer\n", |
833 | 838 | "-roles/cloudbuild.builds.editor\n",
|
834 | 839 | "-roles/iam.serviceAccountUser\n",
|
835 |
| - "-roles/pubsub.viewer\n", |
836 |
| - "-roles/cloudfunctions.viewer\n", |
837 | 840 | "-roles/storage.admin\n",
|
838 |
| - "-roles/artifactregistry.reader\n", |
839 |
| - "-roles/source.writer\n", |
840 |
| - "-roles/iam.roleViewer\n", |
841 | 841 | "\n",
|
842 | 842 | "Checking for required API services in project automlops-sandbox...\n",
|
843 | 843 | "Checking for Artifact Registry in project automlops-sandbox...\n",
|
|
851 | 851 | "Checking for Cloud Build Trigger in project automlops-sandbox...\n",
|
852 | 852 | "Precheck successfully completed, continuing to deployment.\n",
|
853 | 853 | "\n",
|
854 |
| - "[automlops d425a62] Run AutoMLOps\n", |
855 |
| - " 3 files changed, 18 insertions(+), 18 deletions(-)\n", |
856 |
| - "remote: Waiting for private key checker: 3/3 objects left \n", |
| 854 | + "Initialized empty Git repository in /Users/srastatter/Documents/2023/MLOps-graduation/AutoMLOps-github/examples/training/AutoMLOps/.git/\n", |
| 855 | + "Switched to a new branch 'automlops'\n", |
| 856 | + "[automlops (root-commit) f07e5b1] Run AutoMLOps\n", |
| 857 | + " 26 files changed, 1390 insertions(+)\n", |
| 858 | + " create mode 100644 .gitignore\n", |
| 859 | + " create mode 100644 README.md\n", |
| 860 | + " create mode 100644 cloudbuild.yaml\n", |
| 861 | + " create mode 100644 components/component_base/Dockerfile\n", |
| 862 | + " create mode 100644 components/component_base/requirements.txt\n", |
| 863 | + " create mode 100644 components/component_base/src/create_dataset.py\n", |
| 864 | + " create mode 100644 components/component_base/src/deploy_model.py\n", |
| 865 | + " create mode 100644 components/component_base/src/train_model.py\n", |
| 866 | + " create mode 100644 components/create_dataset/component.yaml\n", |
| 867 | + " create mode 100644 components/deploy_model/component.yaml\n", |
| 868 | + " create mode 100644 components/train_model/component.yaml\n", |
| 869 | + " create mode 100644 configs/defaults.yaml\n", |
| 870 | + " create mode 100644 pipelines/pipeline.py\n", |
| 871 | + " create mode 100644 pipelines/pipeline_runner.py\n", |
| 872 | + " create mode 100644 pipelines/requirements.txt\n", |
| 873 | + " create mode 100644 pipelines/runtime_parameters/pipeline_parameter_values.json\n", |
| 874 | + " create mode 100755 provision/provision_resources.sh\n", |
| 875 | + " create mode 100755 scripts/build_components.sh\n", |
| 876 | + " create mode 100755 scripts/build_pipeline_spec.sh\n", |
| 877 | + " create mode 100644 scripts/pipeline_spec/.gitkeep\n", |
| 878 | + " create mode 100755 scripts/publish_to_topic.sh\n", |
| 879 | + " create mode 100755 scripts/run_all.sh\n", |
| 880 | + " create mode 100755 scripts/run_pipeline.sh\n", |
| 881 | + " create mode 100644 services/submission_service/Dockerfile\n", |
| 882 | + " create mode 100644 services/submission_service/main.py\n", |
| 883 | + " create mode 100644 services/submission_service/requirements.txt\n", |
| 884 | + "remote: Waiting for private key checker: 11/26 objects left \n", |
857 | 885 | "To https://source.developers.google.com/p/automlops-sandbox/r/dry-beans-dt-repository\n",
|
858 |
| - " 33e4088..d425a62 automlops -> automlops\n", |
| 886 | + " + 8a844ee...f07e5b1 automlops -> automlops (forced update)\n", |
859 | 887 | "Pushing code to automlops branch, triggering build...\n",
|
860 | 888 | "Cloud Build job running at: https://console.cloud.google.com/cloud-build/builds;region=us-central1\n",
|
861 | 889 | "Please wait for this build job to complete.\n",
|
|
0 commit comments