Skip to content

Commit

Permalink
feat(snowflake-odbc): Support v3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmechlark committed May 8, 2024
1 parent 3db6c0d commit b682dc0
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/snowflake-odbc/devcontainer-feature.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"version": {
"type": "string",
"proposals": [
"3.2.0",
"3.1.0",
"3.0.2",
"3.0.1"
Expand Down
9 changes: 9 additions & 0 deletions test/snowflake-odbc/scenarios.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
{
"version_3_2_0": {
"image": "mcr.microsoft.com/devcontainers/base:jammy",
"user": "vscode",
"features": {
"snowflake-odbc": {
"version": "3.2.0"
}
}
},
"version_3_1_0": {
"image": "mcr.microsoft.com/devcontainers/base:jammy",
"user": "vscode",
Expand Down
14 changes: 14 additions & 0 deletions test/snowflake-odbc/version_3_2_0.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 b682dc0

Please sign in to comment.