-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
60d8976
commit 6afac5d
Showing
6 changed files
with
136 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#!/usr/bin/env bats | ||
# | ||
# Workflows using different types of install source. | ||
# | ||
|
||
# shellcheck disable=SC2030,SC2031,SC2129 | ||
|
||
load _helper.bash | ||
load _helper.workflow.bash | ||
|
||
@test "Workflow: DB-driven, custom webroot" { | ||
prepare_sut "Starting DB-driven WORKFLOW with custom webroot tests in build directory ${BUILD_DIR}" "rootdoc" | ||
|
||
assert_ahoy_download_db | ||
|
||
assert_ahoy_build "rootdoc" | ||
assert_gitignore "" "rootdoc" | ||
|
||
assert_ahoy_cli | ||
|
||
assert_env_changes | ||
|
||
assert_ahoy_drush | ||
|
||
assert_ahoy_info "rootdoc" | ||
|
||
assert_ahoy_export_db | ||
|
||
assert_ahoy_lint "rootdoc" | ||
|
||
assert_ahoy_test "rootdoc" "1" | ||
|
||
assert_ahoy_fei "rootdoc" | ||
|
||
assert_ahoy_fe "rootdoc" | ||
|
||
assert_ahoy_reset "rootdoc" | ||
|
||
assert_ahoy_reset_hard "rootdoc" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
#!/usr/bin/env bats | ||
# | ||
# Workflows using different types of install source. | ||
# | ||
|
||
# shellcheck disable=SC2030,SC2031,SC2129 | ||
|
||
load _helper.bash | ||
load _helper.workflow.bash | ||
|
||
@test "Workflow: DB-driven" { | ||
prepare_sut "Starting DB-driven WORKFLOW tests in build directory ${BUILD_DIR}" | ||
|
||
assert_ahoy_download_db | ||
|
||
assert_ahoy_build | ||
assert_gitignore | ||
|
||
assert_solr | ||
|
||
assert_ahoy_cli | ||
|
||
assert_env_changes | ||
|
||
assert_timezone | ||
|
||
assert_ahoy_composer | ||
|
||
assert_ahoy_drush | ||
|
||
assert_ahoy_info | ||
|
||
assert_ahoy_container_logs | ||
|
||
assert_ahoy_login | ||
|
||
assert_ahoy_export_db | ||
|
||
assert_ahoy_lint | ||
|
||
assert_ahoy_test | ||
|
||
assert_ahoy_fei | ||
|
||
assert_ahoy_fe | ||
|
||
assert_ahoy_debug | ||
|
||
# Run this test as a last one to make sure that there is no concurrency issues | ||
# with enabled Redis. | ||
assert_redis | ||
|
||
assert_ahoy_reset | ||
|
||
assert_ahoy_reset_hard | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/usr/bin/env bats | ||
# | ||
# Workflows using different types of install source. | ||
# | ||
|
||
# shellcheck disable=SC2030,SC2031,SC2129 | ||
|
||
load _helper.bash | ||
load _helper.workflow.bash | ||
|
||
@test "Workflow: profile-driven" { | ||
rm -f .data/db.sql | ||
export VORTEX_INSTALL_DEMO_SKIP=1 | ||
assert_file_not_exists .data/db.sql | ||
|
||
prepare_sut "Starting fresh install WORKFLOW tests in build directory ${BUILD_DIR}" | ||
# Assert that the database was not downloaded because VORTEX_INSTALL_DEMO_SKIP was set. | ||
assert_file_not_exists .data/db.sql | ||
|
||
echo "VORTEX_PROVISION_USE_PROFILE=1" >>.env | ||
|
||
assert_ahoy_build | ||
assert_gitignore | ||
|
||
assert_ahoy_lint | ||
|
||
assert_ahoy_test "web" "1" | ||
|
||
assert_ahoy_fe | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6afac5d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 Deployed on https://675a12fe259cd9349124570c--vortex-docs.netlify.app