Skip to content

Commit

Permalink
Update repo to have CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasyu888 committed Sep 23, 2023
1 parent 685a070 commit bbcaecf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bbcaecf

Please sign in to comment.