Skip to content

Commit

Permalink
Fixed check_rollback_7.1.30_script.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tomuben committed Oct 30, 2024
1 parent b72dc57 commit 4162d6d
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/check_rollback_7.1.30_script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,36 +34,31 @@ jobs:
RESULT=`exaplus -c localhost:8888 -u sys -p exasol -f ./get_original_script_languages_parameter.sql`
echo "$RESULT" | grep "ALTER SYSTEM SET SCRIPT_LANGUAGES='R=builtin_r JAVA=builtin_java PYTHON3=builtin_python3'" || (echo SCRIPT_LANGUAGES parameter not as expected && exit 1)
working-directory: doc/user_guide/resources
shell: bash
- name: Check if get_original_script_languages_parameters.sql works
run: |
RESULT=`exaplus -q -c localhost:8888 -u sys -p exasol -f ./get_original_script_languages_parameter.sql`
echo $RESULT | grep "ALTER SYSTEM SET SCRIPT_LANGUAGES='R=builtin_r JAVA=builtin_java PYTHON3=builtin_python3'" || (echo SCRIPT_LANGUAGES parameter not as expected && exit 1)
echo "$RESULT" | grep "ALTER SYSTEM SET SCRIPT_LANGUAGES='R=builtin_r JAVA=builtin_java PYTHON3=builtin_python3'" || (echo SCRIPT_LANGUAGES parameter not as expected && exit 1)
working-directory: doc/user_guide/resources
- name: Install a simple R UDF
run: |
exaplus -q -c localhost:8888 -u sys -p exasol -f install_r_udf.sql
exaplus -q -c localhost:8888 -u sys -p exasol -sql "SELECT TEST.R_DEMO();"
working-directory: .github/workflows/scripts
shell: bash
- name: Check if pre_update_check.sql works
run: |
RESULT=`exaplus -q -c localhost:8888 -u sys -p exasol -f ./pre_update_check.sql`
echo $RESULT | grep "You have 1 UDFs using the pre-shipped R"
echo "$RESULT" | grep "You have 1 UDFs using the pre-shipped R"
working-directory: doc/user_guide/resources
shell: bash
- name: Check if construct_alter_system_command_before_update.sql works
run: |
RESULT=`exaplus -q -c localhost:8888 -u sys -p exasol -f ./construct_alter_system_command_before_update.sql`
echo $RESULT | grep "ALTER SYSTEM SET SCRIPT_LANGUAGES='JAVA=builtin_java PYTHON3=builtin_python3 R=localzmq+protobuf:///bfsdefault/default/EXAClusterOS/ScriptLanguages-standard-EXASOL-7.1.0-slc-v6.0.0-VYP23K36/?lang=r#/buckets/bfsdefault/default/EXAClusterOS/ScriptLanguages-standard-EXASOL-7.1.0-slc-v6.0.0-VYP23K36/exaudf/exaudfclient_py3';"
exaplus exaplus -q -c localhost:8888 -u sys -p exasol -sql $RESULT
echo "$RESULT" | grep "ALTER SYSTEM SET SCRIPT_LANGUAGES='JAVA=builtin_java PYTHON3=builtin_python3 R=localzmq+protobuf:///bfsdefault/default/EXAClusterOS/ScriptLanguages-standard-EXASOL-7.1.0-slc-v6.0.0-VYP23K36/?lang=r#/buckets/bfsdefault/default/EXAClusterOS/ScriptLanguages-standard-EXASOL-7.1.0-slc-v6.0.0-VYP23K36/exaudf/exaudfclient_py3';"
exaplus -q -c localhost:8888 -u sys -p exasol -sql "$RESULT"
exaplus -q -c localhost:8888 -u sys -p exasol -sql "SELECT TEST.R_DEMO();"
working-directory: doc/user_guide/resources
shell: bash
- name: Run Skript
run: bash install_slc_v6.0.0_on_db.sh localhost 6583 write default HTTP
working-directory: doc/user_guide/resources
shell: bash
- name: Check if construct_alter_system_command_from_downloaded.sql works
run: |
sed -i 's/<bucketfs_name>/bfsdefault/g' construct_alter_system_command_from_downloaded_container.sql
Expand All @@ -75,4 +70,3 @@ jobs:
exaplus exaplus -q -c localhost:8888 -u sys -p exasol -sql $RESULT
exaplus -q -c localhost:8888 -u sys -p exasol -sql "SELECT TEST.R_DEMO();"
working-directory: doc/user_guide/resources
shell: bash

0 comments on commit 4162d6d

Please sign in to comment.