Expose the Notarius configuration profile in the Narratio role
This commit is contained in:
@@ -70,6 +70,7 @@ chmod 0755 "$custom_go_binary"
|
||||
sudo rm -f -- /usr/local/bin/narratio
|
||||
recovery_log="$test_tmp/recovery.log"
|
||||
run_converge "$recovery_log" "${baseline_args[@]}" \
|
||||
-e 'narratio_version=v2.1.0' \
|
||||
-e '{"narratio_manage_build_dependencies": false}' \
|
||||
-e "narratio_go_binary=$custom_go_binary"
|
||||
grep -q . "$custom_go_invocations"
|
||||
@@ -77,6 +78,7 @@ grep -q . "$custom_go_invocations"
|
||||
"$ansible_playbook" -i "$inventory" "$verify_baseline"
|
||||
recovery_repeat_log="$test_tmp/recovery-repeat.log"
|
||||
run_converge "$recovery_repeat_log" "${baseline_args[@]}" \
|
||||
-e 'narratio_version=v2.1.0' \
|
||||
-e '{"narratio_manage_build_dependencies": false}' \
|
||||
-e "narratio_go_binary=$custom_go_binary"
|
||||
require_clean_recap "$recovery_repeat_log"
|
||||
@@ -91,3 +93,12 @@ NARRATIO_TEST_NOTARIUS_API_KEY="$synthetic_notarius_api_key" \
|
||||
representative_repeat_log="$test_tmp/representative-repeat.log"
|
||||
"$ansible_playbook" -i "$inventory" "$representative" | tee "$representative_repeat_log"
|
||||
require_clean_recap "$representative_repeat_log"
|
||||
|
||||
empty_profile_log="$test_tmp/empty-profile.log"
|
||||
"$ansible_playbook" -i "$inventory" \
|
||||
-e '{"narratio_notarius_config_profile": ""}' \
|
||||
"$representative" | tee "$empty_profile_log"
|
||||
NARRATIO_TEST_NOTARIUS_API_KEY="$synthetic_notarius_api_key" \
|
||||
"$ansible_playbook" -i "$inventory" \
|
||||
-e '{"narratio_test_notarius_config_profile": ""}' \
|
||||
"$verify_config"
|
||||
|
||||
Reference in New Issue
Block a user