This repository has been archived by the owner on Sep 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 79
Set up script for Composer and support for getting gcsDagLocation from Composer environment #585
Merged
+224
−30
Merged
Changes from 2 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
ad956cc
Bash script for setting up Composer
b5eafa6
Parameterizing more stuff
0172ad8
Merge branch 'master' into rajivpb-composer-setup
57111a7
Removing commented out commands and adding default values for the par…
ac9104c
Finishing up the Composer setup script and starting the airflow setup…
c422b10
Merge branch 'master' into rajivpb-composer-setup
rajivpb a14ae52
Re-organizing some of the comments
94a3a75
Support for fetching gcs dag location from Composer environment
d5ad2f9
Merge branch 'master' into rajivpb-composer-setup
rajivpb 2a7f891
Add verification of bucket name
4bf2a61
Merge branch 'rajivpb-composer-setup' of github.com:googledatalab/pyd…
3646d44
Minor refactoring, and added comments
959d4d5
Unit-tests for Composer.gcs_dag_location
dc02c7c
Add stop-gap contrib imports to enable e2e
e642b2f
Add comments to release script
a44f131
Remove timeoutMs from call to Composer API; this arg is invalid
9774d10
Fix flake8 errors
bb69916
Correct wrong index for shell script arguments
2934bd5
Refactor all gcs_dag_location checks into the property.
4d6162d
Disallow trailing slash in gcs_dag_location from Composer
009a5e5
Allow trailing slash in gcs dag location
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
|
@@ -20,11 +20,11 @@ exec -l $SHELL | |
PROJECT=${1:-cloud-ml-dev} | ||
EMAIL=${2:[email protected]} | ||
ZONE=${3:-us-central1} | ||
ENVIRONMENT=${3:-datalab-testing-1} | ||
ENVIRONMENT=${4:-datalab-testing-1} | ||
|
||
gcloud config set project $PROJECT | ||
gcloud config set account $EMAIL | ||
gcloud auth login --activate $EMAIL | ||
gcloud auth login $EMAIL | ||
|
||
gcloud components repositories add https://storage.googleapis.com/composer-trusted-tester/components-2.json | ||
gcloud components update -q | ||
|
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if it already ends with a slash?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initially disallowed it via regex, but later decided to be more tolerant. Inserted check now.