Skip to content

Commit

Permalink
Deploying to gh-pages from @ ba90e9d 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
mrebiai committed Jan 24, 2025
1 parent d239dea commit 5bc5faa
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
22 changes: 17 additions & 5 deletions index-bdxtestingcommunity.html
Original file line number Diff line number Diff line change
Expand Up @@ -506,15 +506,27 @@
"projectName": "mySuperProject",
"myFunction": mySuperFunction
};
}</code></pre></div></div></div></section><section id="_snowflake_extension_config"><h2><code>snowflake</code> extension config</h2><div class="slide-content"><div class="listingblock fragment"><div class="title"><code>cli-config</code></div><div class="content"><pre class="highlightjs highlight"><code class="language-bash hljs" data-noescape="true" data-lang="bash">SNOWFLAKE_ACCOUNT=xxx.west-europe.azure
}</code></pre></div></div>
<div class="paragraph"><p>See <a href="https://karatelabs.github.io/karate/#environment-specific-config" target="_blank">karate documentation</a> for file location</p></div></div></section><section id="_snowflake_extension_config" class="columns"><h2><code>snowflake</code> extension config</h2><div class="slide-content"><div class="openblock column fragment"><div class="content"><div class="listingblock"><div class="title"><code>cli-config</code></div><div class="content"><pre class="highlightjs highlight"><code class="language-bash hljs" data-noescape="true" data-lang="bash">SNOWFLAKE_ACCOUNT=xxx.west-europe.azure
SNOWFLAKE_USER=MY_USER
SNOWFLAKE_PRIVATE_KEY_PATH=/my-path/private-key.pem
PRIVATE_KEY_PASSPHRASE=my-passphrase</code></pre></div></div>
<div class="listingblock fragment"><div class="title"><code>snowflake-config</code></div><div class="content"><pre class="highlightjs highlight"><code class="language-bash hljs" data-noescape="true" data-lang="bash">SNOWFLAKE_DATABASE=DEV_KARATE_DATA_DB
SNOWFLAKE_SCHEMA=BURGER_OUTPUT
SNOWFLAKE_SCHEMA_SOURCE=BURGER_INPUT
<div class="listingblock"><div class="content"><pre class="highlightjs highlight"><code class="language-javascript hljs" data-noescape="true" data-lang="javascript">{
"account": "xxx.west-europe.azure",
"user": "MY_USER",
"privateKeyPath": "/my-path/private-key.pem",
"privateKeyPassphrase": "my-passphrase"
}</code></pre></div></div></div></div>
<div class="openblock column fragment"><div class="content"><div class="listingblock"><div class="title"><code>snowflake-config</code></div><div class="content"><pre class="highlightjs highlight"><code class="language-bash hljs" data-noescape="true" data-lang="bash">SNOWFLAKE_DATABASE=MY_DB
SNOWFLAKE_SCHEMA=MY_SCHEMA
SNOWFLAKE_ROLE=MY_ROLE
SNOWFLAKE_WAREHOUSE=MY_WH</code></pre></div></div></div></section><section id="_snowflake_extension"><h2><code>snowflake</code> extension</h2><div class="slide-content"><div class="ulist"><ul><li><p>Config with env vars, JS files&#8230;&#8203;</p></li><li><p>JWT generation</p></li><li><p>SQL execution (with retry, timeout&#8230;&#8203;)</p></li><li><p>Upload CSV/JSON into Table</p></li><li><p>Clone / Drop schema</p></li><li><p>And more&#8230;&#8203;😃</p></li></ul></div></div></section><section id="_karatesnowflake_example_2"><h2>Karate/Snowflake - Example</h2><div class="slide-content"><div class="listingblock"><div class="content"><pre class="highlightjs highlight"><code class="language-gherkin hljs" data-noescape="true" data-lang="gherkin">Feature: SELECT V2
SNOWFLAKE_WAREHOUSE=MY_WH</code></pre></div></div>
<div class="listingblock"><div class="content"><pre class="highlightjs highlight"><code class="language-javascript hljs" data-noescape="true" data-lang="javascript">{
"database": "MY_DB",
"schema": "MY_SCHEMA"
"role": "MY_ROLE",
"warehouse": "MY_WH"
}</code></pre></div></div></div></div></div></section><section id="_snowflake_extension"><h2><code>snowflake</code> extension</h2><div class="slide-content"><div class="ulist"><ul><li><p>Config with env vars, JS files&#8230;&#8203;</p></li><li><p>JWT generation</p></li><li><p>SQL execution (with retry, timeout&#8230;&#8203;)</p></li><li><p>Upload CSV/JSON into Table</p></li><li><p>Clone / Drop schema</p></li><li><p>And more&#8230;&#8203;😃</p></li></ul></div></div></section><section id="_karatesnowflake_example_2"><h2>Karate/Snowflake - Example</h2><div class="slide-content"><div class="listingblock"><div class="content"><pre class="highlightjs highlight"><code class="language-gherkin hljs" data-noescape="true" data-lang="gherkin">Feature: SELECT V2
Background:
* json cliConfig = read('classpath:cli-config.json')
* json snowflakeConfig = read('classpath:snowflake-config.json')
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ <h2 id="_slides">Slides</h2>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2025-01-24 12:45:18 UTC
Last updated 2025-01-24 13:12:33 UTC
</div>
</div>
</body>
Expand Down

0 comments on commit 5bc5faa

Please sign in to comment.