Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeffhollan/snowpark-cicd-pipeline
https://github.com/jeffhollan/snowpark-cicd-pipeline
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jeffhollan/snowpark-cicd-pipeline
- Owner: jeffhollan
- Created: 2022-08-20T07:26:17.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-03T03:32:16.000Z (over 2 years ago)
- Last Synced: 2025-01-23T00:45:10.887Z (4 days ago)
- Language: Python
- Size: 40 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Snowpark CI/CD Template
This repo is a sample project for a stored procedure (that created / depends on a user defined function) which is configured for CI/CD via pytest and GitHub Actions.
## Prerequisites
* Snowflake account
* Python 3.8
* Git## Setup
After creating a copy of the template in your own repo, clone to your local machine and run the following commands:
```bash
git clone
```Then you need to rename the `config.py.sample` file to `config.py` and update the values to match your environment.
You will also want to update the settings for your repo and add the following GitHub Actions Secrets:
| Name | Description |
| --- | --- |
| SNOWFLAKE_ACCOUNT | Snowflake account name |
| SNOWFLAKE_USERNAME | Snowflake user name |
| SNOWFLAKE_PASSWORD | Snowflake password |
| SNOWFLAKE_ROLE | Snowflake role to execute the GitHub actions |
| SNOWFLAKE_WAREHOUSE | Snowflake warehouse to execute the GitHub actions |
| SNOWFLAKE_DATABASE | Snowflake database to execute the GitHub actions |