-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/validateVariables
- Loading branch information
Showing
22 changed files
with
19,351 additions
and
40 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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 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 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 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 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 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,14 @@ | ||
#!/bin/bash | ||
PARENT_SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/$(basename "${BASH_SOURCE[0]}")" && SCRIPT_FOLDER=$(dirname "${PARENT_SCRIPT_PATH}") | ||
echo "SCRIPT_FOLDER is $SCRIPT_FOLDER" && cd "${SCRIPT_FOLDER}" && cd .. && export IONIC_PATH="$PWD" && echo "IONIC_PATH is $IONIC_PATH" | ||
# shellcheck source=./log_start.sh | ||
source "$IONIC_PATH"/scripts/log_start.sh "${BASH_SOURCE[0]}" | ||
npm run cy:run | ||
if [[ ! -f success-file ]] ; then | ||
echo 'success-file is not there, aborting.' | ||
exit 1 | ||
else | ||
echo "success-file exists so running ghostinspector tests..." | ||
fi | ||
# shellcheck source=./log_end.sh | ||
source "$IONIC_PATH"/scripts/log_end.sh |
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,9 @@ | ||
#!/bin/bash | ||
PARENT_SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/$(basename "${BASH_SOURCE[0]}")" && SCRIPT_FOLDER=$(dirname "${PARENT_SCRIPT_PATH}") | ||
echo "SCRIPT_FOLDER is $SCRIPT_FOLDER" && cd "${SCRIPT_FOLDER}" && cd .. && export IONIC_PATH="$PWD" && echo "IONIC_PATH is $IONIC_PATH" | ||
# shellcheck source=./log_start.sh | ||
source "$IONIC_PATH"/scripts/log_start.sh "${BASH_SOURCE[0]}" | ||
set -xe | ||
npm run test:ghostinspector | ||
# shellcheck source=./log_end.sh | ||
source "$IONIC_PATH"/scripts/log_end.sh |
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,11 @@ | ||
#!/bin/bash | ||
PARENT_SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/$(basename "${BASH_SOURCE[0]}")" && SCRIPT_FOLDER=$(dirname "${PARENT_SCRIPT_PATH}") | ||
echo "SCRIPT_FOLDER is $SCRIPT_FOLDER" && cd "${SCRIPT_FOLDER}" && cd .. && export IONIC_PATH="$PWD" && echo "IONIC_PATH is $IONIC_PATH" | ||
# shellcheck source=./log_start.sh | ||
source "$IONIC_PATH"/scripts/log_start.sh "${BASH_SOURCE[0]}" | ||
set -xe | ||
# shellcheck source=./no-root.sh | ||
source "$SCRIPT_FOLDER"/no-root.sh | ||
git push [email protected]:medimodo.git HEAD:master -f; | ||
# shellcheck source=./log_end.sh | ||
source "$IONIC_PATH"/scripts/log_end.sh |
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 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 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 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 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,11 @@ | ||
#!/bin/bash | ||
set +x | ||
LOGGER_SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/$(basename "${BASH_SOURCE[0]}")" && SCRIPTS_FOLDER=$(dirname "${LOGGER_SCRIPT_PATH}") | ||
cd "${SCRIPTS_FOLDER}" || exit 1 | ||
cd .. | ||
export REPO_BASE_WITH_SLASH="$PWD/" | ||
PARENT_SCRIPT_PATH=$1 | ||
REPLACEMENT="" | ||
CALLER_SCRIPT_WITHOUT_REPO="${PARENT_SCRIPT_PATH/$REPO_BASE_WITH_SLASH/$REPLACEMENT}" | ||
echo "=====================================" | ||
echo "DONE WITH $CALLER_SCRIPT_WITHOUT_REPO" |
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,11 @@ | ||
#!/bin/bash | ||
set +x | ||
LOGGER_SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/$(basename "${BASH_SOURCE[0]}")" && SCRIPTS_FOLDER=$(dirname "${LOGGER_SCRIPT_PATH}") | ||
cd "${SCRIPTS_FOLDER}" || exit 1 | ||
cd .. | ||
PARENT_SCRIPT_PATH=$1 | ||
export REPO_BASE_WITH_SLASH="$PWD/" | ||
REPLACEMENT="" | ||
CALLER_SCRIPT_WITHOUT_REPO="${PARENT_SCRIPT_PATH/$REPO_BASE_WITH_SLASH/$REPLACEMENT}" | ||
echo "STARTING $CALLER_SCRIPT_WITHOUT_REPO" | ||
echo "=====================================" |
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,10 @@ | ||
#!/bin/bash | ||
PARENT_SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/$(basename "${BASH_SOURCE[0]}")" && SCRIPT_FOLDER=$(dirname "${PARENT_SCRIPT_PATH}") | ||
echo "SCRIPT_FOLDER is $SCRIPT_FOLDER" && cd "${SCRIPT_FOLDER}" && cd .. && export IONIC_PATH="$PWD" && echo "IONIC_PATH is $IONIC_PATH" | ||
# shellcheck source=./log_start.sh | ||
source "$IONIC_PATH"/scripts/log_start.sh "${BASH_SOURCE[0]}" | ||
set -xe | ||
npm run types | ||
npm run test:mocha | ||
# shellcheck source=./log_end.sh | ||
source "$IONIC_PATH"/scripts/log_end.sh |
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 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 |
---|---|---|
@@ -1,22 +1,23 @@ | ||
#!/bin/bash | ||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/$(basename "${BASH_SOURCE[0]}")" && SCRIPT_FOLDER=`dirname ${SCRIPT_PATH}` | ||
#! /bin/bash | ||
PARENT_SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/$(basename "${BASH_SOURCE[0]}")" && SCRIPT_FOLDER=$(dirname "${PARENT_SCRIPT_PATH}") | ||
echo "SCRIPT_FOLDER is $SCRIPT_FOLDER" && cd "${SCRIPT_FOLDER}" && cd .. && export IONIC_PATH="$PWD" && echo "IONIC_PATH is $IONIC_PATH" | ||
# shellcheck source=./log_start.sh | ||
source "$IONIC_PATH"/scripts/log_start.sh "${BASH_SOURCE[0]}" | ||
set -xe | ||
sudo bash "${SCRIPT_FOLDER}"/output_commit_message_and_env.sh | ||
# shellcheck source=./no-root.sh | ||
source "$SCRIPT_FOLDER"/no-root.sh | ||
|
||
set -e | ||
npm run types | ||
npm run test:mocha | ||
# shellcheck source=./mocha.sh | ||
source "$SCRIPT_FOLDER"/mocha.sh | ||
if [[ ${GIT_BRANCH} = "origin/develop" ]]; then bash "${SCRIPT_FOLDER}"/commit-build.sh && exit 0; fi | ||
if [[ ${GIT_BRANCH} != *"feature"* && ${GIT_BRANCH} != *"renovate"* ]]; then exit 0; fi | ||
git push [email protected]:medimodo.git HEAD:master -f; | ||
# shellcheck source=./heroku.sh | ||
source "${SCRIPT_FOLDER}"/heroku.sh | ||
# shellcheck source=./cypress_install.sh | ||
source "${SCRIPT_FOLDER}"/cypress_install.sh | ||
npm run cy:run | ||
if [[ ! -f success-file ]] ; then | ||
echo 'success-file is not there, aborting.' | ||
exit 1 | ||
else | ||
echo "success-file exists so running ghostinspector tests..." | ||
fi | ||
npm run test:ghostinspector | ||
# shellcheck source=./cypress_run.sh | ||
source "${SCRIPT_FOLDER}"/cypress_run.sh | ||
# shellcheck source=./ghost-inspector.sh | ||
source "${SCRIPT_FOLDER}"/ghost-inspector.sh | ||
# shellcheck source=./log_end.sh | ||
source "$IONIC_PATH"/scripts/log_end.sh |
Oops, something went wrong.