File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 2222 mkdir ${CLIENT_LOG_DIR_PATH_DOCKER}
2323fi
2424
25- # replace test password with a more complex one, and generate known ssm file
26- python3.11 -m pip install -U snowflake-connector-python --only-binary=cffi >& /dev/null
27- python3.11 ${THIS_DIR} /change_snowflake_test_pwd.py
28- mv ${CONNECTOR_DIR} /test/parameters_jenkins.py ${CONNECTOR_DIR} /test/parameters.py
25+ # Replace test password with a more complex one, and generate known ssm file
26+ # This is only needed for Jenkins, not GitHub Actions
27+ if [[ " $GITHUB_ACTIONS " != " true" ]]; then
28+ python3.11 -m pip install -U snowflake-connector-python --only-binary=cffi >& /dev/null
29+ python3.11 ${THIS_DIR} /change_snowflake_test_pwd.py
30+ mv ${CONNECTOR_DIR} /test/parameters_jenkins.py ${CONNECTOR_DIR} /test/parameters.py
31+ else
32+ echo " [Info] Running in GitHub Actions, skipping password change step"
33+ fi
2934
3035# Fetch wiremock
3136curl https://repo1.maven.org/maven2/org/wiremock/wiremock-standalone/3.11.0/wiremock-standalone-3.11.0.jar --output ${CONNECTOR_DIR} /.wiremock/wiremock-standalone.jar
You can’t perform that action at this time.
0 commit comments