File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash -e
22#
3- # Test Snowflake Connector
4- # Note this is the script that test_docker .sh runs inside of the docker container
3+ # Test Snowflake Connector (FIPS)
4+ # Note this is the script that test_fips_docker .sh runs inside of the docker container
55#
6+
7+ # Export USE_PASSWORD only on Jenkins (not on GitHub Actions)
8+ # Jenkins FIPS tests run against mocked Snowflake with password auth
9+ # GitHub Actions FIPS tests run against real Snowflake with key-pair auth
10+ if [[ " ${JENKINS_HOME} " != " false" && -n " ${JENKINS_HOME} " ]]; then
11+ export USE_PASSWORD=true
12+ echo " [Info] Jenkins detected: Using password authentication for FIPS tests"
13+ else
14+ echo " [Info] GitHub Actions detected: Using key-pair authentication for FIPS tests"
15+ fi
16+
617THIS_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
718# shellcheck disable=SC1090
819CONNECTOR_DIR=" $( dirname " ${THIS_DIR} " ) "
You can’t perform that action at this time.
0 commit comments