From 27f3c735f3a619886b3205aca762343afdf2eab3 Mon Sep 17 00:00:00 2001 From: Thomas Yu Date: Sat, 23 Sep 2023 16:41:08 -0700 Subject: [PATCH] Rename SQL scripts --- .github/workflows/ci.yaml | 12 ++++++------ admin/{database.sql => databases.sql} | 0 admin/{tableau_oauth.sql => oauth.sql} | 0 admin/{governance.sql => policies.sql} | 0 admin/{role_setup.sql => roles.sql} | 0 admin/{user_setup.sql => users.sql} | 0 admin/{warehouse_setup.sql => warehouses.sql} | 0 7 files changed, 6 insertions(+), 6 deletions(-) rename admin/{database.sql => databases.sql} (100%) rename admin/{tableau_oauth.sql => oauth.sql} (100%) rename admin/{governance.sql => policies.sql} (100%) rename admin/{role_setup.sql => roles.sql} (100%) rename admin/{user_setup.sql => users.sql} (100%) rename admin/{warehouse_setup.sql => warehouses.sql} (100%) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 52ac43dd..d58fbdf4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -42,24 +42,24 @@ jobs: - name: Create warehouses run: | - ~/bin/snowsql -f admin/warehouse_setup.sql + ~/bin/snowsql -f admin/warehouses.sql - name: Create databases run: | - ~/bin/snowsql -f admin/database.sql + ~/bin/snowsql -f admin/databases.sql - name: Create tableau oauth run: | - ~/bin/snowsql -f admin/tableau_oauth.sql + ~/bin/snowsql -f admin/oauth.sql - name: Create users run: | - ~/bin/snowsql -f admin/user_setup.sql --variable saml2_issuer=$saml2_issuer --variable saml2_sso_url=$saml2_sso_url --variable saml2_x509_cert=$saml2_x509_cert + ~/bin/snowsql -f admin/users.sql --variable saml2_issuer=$saml2_issuer --variable saml2_sso_url=$saml2_sso_url --variable saml2_x509_cert=$saml2_x509_cert - name: Roles and granting policies run: | - ~/bin/snowsql -f admin/role_setup.sql + ~/bin/snowsql -f admin/roles.sql - name: Governance run: | - ~/bin/snowsql -f admin/governance.sql + ~/bin/snowsql -f admin/policies.sql diff --git a/admin/database.sql b/admin/databases.sql similarity index 100% rename from admin/database.sql rename to admin/databases.sql diff --git a/admin/tableau_oauth.sql b/admin/oauth.sql similarity index 100% rename from admin/tableau_oauth.sql rename to admin/oauth.sql diff --git a/admin/governance.sql b/admin/policies.sql similarity index 100% rename from admin/governance.sql rename to admin/policies.sql diff --git a/admin/role_setup.sql b/admin/roles.sql similarity index 100% rename from admin/role_setup.sql rename to admin/roles.sql diff --git a/admin/user_setup.sql b/admin/users.sql similarity index 100% rename from admin/user_setup.sql rename to admin/users.sql diff --git a/admin/warehouse_setup.sql b/admin/warehouses.sql similarity index 100% rename from admin/warehouse_setup.sql rename to admin/warehouses.sql