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 8b70867 commit 9c7e395
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/check_rollback_7.1.30_script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@ jobs:
- name: Check if get_original_script_languages_parameters.sql works
run: |
$RESULT=`exaplus -c localhost:8888 -u sys -p exasol -f ./get_original_script_languages_parameter.sql`
echo test
echo $RESULT
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`
Expand All @@ -44,21 +47,25 @@ jobs:
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"
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
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 @@ -69,4 +76,5 @@ jobs:
echo $RESULT | grep "ALTER SYSTEM SET SCRIPT_LANGUAGES='JAVA=builtin_java PYTHON3=builtin_python3 R=localzmq+protobuf:///bfsdefault/default//standard-EXASOL-7.1.0_release.tar.gz/?lang=r#/buckets/bfsdefault/default//standard-EXASOL-7.1.0_release.tar.gz/exaudf/exaudfclient_py3';"
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
working-directory: doc/user_guide/resources
shell: bash

0 comments on commit 9c7e395

Please sign in to comment.