Skip to content

Commit

Permalink
feat(snowflake-odbc): Support v3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmechlark committed May 8, 2024
1 parent b682dc0 commit c306573
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 5 deletions.
6 changes: 4 additions & 2 deletions src/snowflake-odbc/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
{
"name": "Snowflake ODBC",
"id": "snowflake-odbc",
"version": "1.1.0",
"version": "1.2.0",
"description": "Snowflake provides a driver for connecting to Snowflake using ODBC-based client applications.",
"documentationURL": "https://github.com/itsmechlark/features/tree/main/src/snowflake-odbc",
"options": {
"version": {
"type": "string",
"proposals": [
"3.3.1",
"3.3.0",
"3.2.0",
"3.1.0",
"3.0.2",
"3.0.1"
],
"default": "3.1.0",
"default": "3.3.1",
"description": "Select or enter Snowflake ODBC version"
}
},
Expand Down
15 changes: 12 additions & 3 deletions test/snowflake-odbc/scenarios.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{
"version_3_2_0": {
"version_3_3": {
"image": "mcr.microsoft.com/devcontainers/base:jammy",
"user": "vscode",
"features": {
"snowflake-odbc": {
"version": "3.3.1"
}
}
},
"version_3_2": {
"image": "mcr.microsoft.com/devcontainers/base:jammy",
"user": "vscode",
"features": {
Expand All @@ -8,7 +17,7 @@
}
}
},
"version_3_1_0": {
"version_3_1": {
"image": "mcr.microsoft.com/devcontainers/base:jammy",
"user": "vscode",
"features": {
Expand All @@ -17,7 +26,7 @@
}
}
},
"version_3_0_1": {
"version_3_0": {
"image": "mcr.microsoft.com/devcontainers/base:jammy",
"user": "vscode",
"features": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 14 additions & 0 deletions test/snowflake-odbc/version_3_3.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

set -e

# Optional: Import test library
source dev-container-features-test-lib

# Feature specific tests
check "policies-exists" sudo cat /etc/debsig/policies/630D9F3CAB551AF3 | grep Snowflake
check "snowflake-ini-exists" bash -c "ls /usr/lib/snowflake/odbc/lib/simba.snowflake.ini"
check "odbcinst-ini-exists" sudo cat /etc/odbcinst.ini | grep Snowflake

# Report result
reportResults

0 comments on commit c306573

Please sign in to comment.