diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 01ddf24e..ef6dc192 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -35,6 +35,6 @@ jobs: run: | curl -O https://sfc-repo.snowflakecomputing.com/snowsql/bootstrap/1.2/linux_x86_64/snowsql-1.2.9-linux_x86_64.bash SNOWSQL_DEST=~/bin SNOWSQL_LOGIN_SHELL=~/.profile bash snowsql-1.2.9-linux_x86_64.bash - - name: Create or update Stored Procedure + - name: Create warehouses run: | ~/bin/snowsql -f admin/warehouse_setup.sql diff --git a/README.md b/README.md index 07fd2fae..e60c143d 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,14 @@ If there is a query you expect to run frequently, lets contribute it to the anal ## Administration -For snowflake administrators, please make sure you read this carefully: https://docs.snowflake.com/en/user-guide/security-access-control-overview. +For snowflake administrators, please make sure you read this carefully: https://docs.snowflake.com/en/user-guide/security-access-control-overview. All admin specific activities will be done in the [admin](admin) folder. Admin activities include: + +* Database creation +* Governance policies for schemas +* Role creation and granting of policies +* Oauth creation +* User creation +* Warehouse creation ### User/Role Management Users and roles are to be created by the `USERADMIN`, and the code is contained in [here](admin/user_setup.sql). To add a user, simple add their Sage Bionetworks email, the setup for google saml is included in the SQL command.