-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(examples): Vertex Machine Learning Pipeline (#66)
* refacto ml-vertexpipeline * fix empty spaces * fix conflict * fix lint * Add aditional instructions before run Notebooks * Add aditional instructions before run Notebooks * change data to use variable as input * add new variables values for data filters * fixes for envs and iam roles * add missing variables * README update * update with tests * update tests * kfp==2.7.0 * add vertex_model_sa as prod_sa * updating PR * add vpc-sc rules * update * update readme * update vpc-sc rules * small fixes for lint and documentation * update README * update README * Update README for Github App ID and more details about Develop, Non-Production and Production environments * Add missing logging project at vpc-sc directional rule * Set github_app_installation_id and github_remote_uri value as empty * fix github_app_installation_id format * fix for_each for artifact_registry_iam_member * fix lint * add terraform init for 1-org * fix for_each for google_storage_bucket_iam_member * Fixes for machine-learning-pipeline/README.md * fix for Github_app_id * READMEs update * Update README * add changes * bump project-factory version * add note about bash terminal * bump project-factory version * Note about inconsistent final plan * fix project-factory bump version * remove hardcode data * Fix and improvements for Machine Learning Example * Automated replacement of placeholders * add discalimers * rewriting * rewrite * Path fix * Update for deploy with terraform local and cloudbuild sections * Fix indentation. * update steps to add SA in the service perimeter * perma-diff in provider causes Cloud Functions in 1-org to always fail * fix command path * Revert "fix command path" This reverts commit ea02006. * add step to unset billing/quota_project * fix path for BQ commands * fix placeholders for census_pipeline.ipynb * fix path for terraform local deploy * update notebook dependencies * update placeholders * fix typo * fix placeholders for compile_pipeline * add detail about https in the clone repo step for Vertex * update docker image * update juniper notebooks * fix conflict * Update steps from machine-learning-pipeline example * add README * update README for machine learning example --------- Co-authored-by: caetano-colin <[email protected]>
- Loading branch information
1 parent
aea1dd9
commit ba52535
Showing
74 changed files
with
3,419 additions
and
1,212 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
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
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 |
---|---|---|
|
@@ -171,7 +171,7 @@ Run `terraform output cloudbuild_project_id` in the `0-bootstrap` folder to get | |
git push origin production | ||
``` | ||
|
||
### Read this before continuing further | ||
### `N.B.` Read this before continuing further | ||
|
||
A logging project will be created in every environment (`development`, `non-production`, `production`) when running this code. This project contains a storage bucket for the purposes of project logging within its respective environment. This requires the `[email protected]` group permissions for the storage bucket. Since foundations has more restricted security measures, a domain restriction constraint is enforced. This restraint will prevent the google cloud-storage-analytics group to be added to any permissions. In order for this terraform code to execute without error, manual intervention must be made to ensure everything applies without issue. | ||
|
||
|
@@ -196,7 +196,7 @@ You will be doing this procedure for each environment (`development`, `non-produ | |
Make sure your git is checked out to the development branch by running `git checkout development` on `GCP_ENVIRONMENTS_PATH`. | ||
|
||
```bash | ||
(cd $GCP_ENVIRONMENTS_PATH && git checkout development) | ||
(cd $GCP_ENVIRONMENTS_PATH && git checkout development && ./tf-wrapper.sh init development) | ||
``` | ||
|
||
2. Retrieve the bucket name and project id from terraform outputs. | ||
|
@@ -244,7 +244,7 @@ You will be doing this procedure for each environment (`development`, `non-produ | |
Make sure your git is checked out to the `non-production` branch by running `git checkout non-production` on `GCP_ENVIRONMENTS_PATH`. | ||
|
||
```bash | ||
(cd $GCP_ENVIRONMENTS_PATH && git checkout non-production) | ||
(cd $GCP_ENVIRONMENTS_PATH && git checkout non-production && ./tf-wrapper.sh init non-production) | ||
``` | ||
|
||
2. Retrieve the bucket name and project id from terraform outputs. | ||
|
@@ -292,7 +292,7 @@ You will be doing this procedure for each environment (`development`, `non-produ | |
Make sure your git is checked out to the `production` branch by running `git checkout production` on `GCP_ENVIRONMENTS_PATH`. | ||
|
||
```bash | ||
(cd $GCP_ENVIRONMENTS_PATH && git checkout production) | ||
(cd $GCP_ENVIRONMENTS_PATH && git checkout production && ./tf-wrapper.sh init production) | ||
``` | ||
|
||
2. Retrieve the bucket name and project id from terraform outputs. | ||
|
@@ -405,7 +405,6 @@ To use the `validate` option of the `tf-wrapper.sh` script, please follow the [i | |
export GOOGLE_IMPERSONATE_SERVICE_ACCOUNT=$(terraform -chdir="../0-bootstrap/" output -raw environment_step_terraform_service_account_email) | ||
echo ${GOOGLE_IMPERSONATE_SERVICE_ACCOUNT} | ||
``` | ||
1. Ensure you [disable The Organization Policy](#read-this-before-continuing-further) on the `development` folder before continuing further. | ||
1. Run `init` and `plan` and review output for environment development. | ||
|
@@ -447,7 +446,6 @@ To use the `validate` option of the `tf-wrapper.sh` script, please follow the [i | |
```bash | ||
./tf-wrapper.sh apply non-production | ||
``` | ||
1. Ensure you [disable The Organization Policy](#read-this-before-continuing-further) on the `non-production` folder before continuing further. | ||
1. Run `init` and `plan` and review output for environment production. | ||
|
@@ -477,6 +475,6 @@ Before executing the next stages, unset the `GOOGLE_IMPERSONATE_SERVICE_ACCOUNT` | |
unset GOOGLE_IMPERSONATE_SERVICE_ACCOUNT | ||
cd ../.. | ||
``` | ||
``` | ||
1. You can now move to the instructions in the network step. To use the [Dual Shared VPC](https://cloud.google.com/architecture/security-foundations/networking#vpcsharedvpc-id7-1-shared-vpc-) network mode go to [3-networks-dual-svpc](../3-networks-dual-svpc/README.md). |
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
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
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
Oops, something went wrong.