-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support GCS #3905
Support GCS #3905
Conversation
Co-authored-by: Ashwin Ramaswami <[email protected]>
This reverts commit eeaccd7.
|
||
def upgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.alter_column('bundle_store', 'storage_type', type_=sa.String(255), existing_type=sa.Enum("disk", "azure_blob"), nullable=True) |
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.
This is a one-time change. Realized that it's difficult to modify enums so I changed the columns to just be Text types instead, so we don't need migrations for future expansions of supporting new storage types.
@percyliang FYI this PR is about the unit of work required to support a new storage type that Apache Beam supports. Relatively straightforward and minimal -- a similar PR could add support for S3. |
First, make sure the `CODALAB_GOOGLE_APPLICATION_CREDENTIALS` env var is set on the server that runs the REST server. It should be set to a path to a credentials JSON file. | ||
|
||
``` | ||
export CODALAB_GOOGLE_APPLICATION_CREDENTIALS=/path/to/credentials.json |
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.
@teetone Flagging this for you -- you'll need to set up this environment variable when setting up GCP on codalab.stanford.edu.
Fixes #3904. Depends on #3828 to be merged first.