-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to latest project shell libs so we are working with the latest. skip_ticket_id_check <!-- ps-id: 1b7abec8-8efd-4ae0-acc5-e687399c9def -->
- Loading branch information
1 parent
900eaa9
commit b8a49d4
Showing
4 changed files
with
50 additions
and
12 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
21 changes: 21 additions & 0 deletions
21
.git-ps/vendor/libs/hooks/sample_ts_library_integrate_post_push
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,21 @@ | ||
#!/usr/bin/env zsh | ||
|
||
|
||
hooks_path=${0:a:h} | ||
dot_git_ps_path=$(dirname $hooks_path) | ||
|
||
source "$dot_git_ps_path/vendor/libs/messaging.zsh" | ||
source "$dot_git_ps_path/vendor/libs/general.zsh" | ||
source "$dot_git_ps_path/vendor/libs/lcov_test_coverage.zsh" | ||
source "$dot_git_ps_path/vendor/libs/git_backed_test_coverage.zsh" | ||
|
||
integrated_commit_sha=$1 | ||
|
||
current_test_coverage=$(get_current_lcov_test_coverage) | ||
exit_nonzero $? "Failed to get current test coverage: ${current_test_coverage}" 20 | ||
|
||
echo "Storing & pushing ${current_test_coverage} as the test coverage for ${integrated_commit_sha}" | ||
store_output=$(store_and_push_test_coverage $current_test_coverage $integrated_commit_sha "origin") | ||
exit_nonzero $? "Failed to store and push test coverage: ${store_output}" 30 | ||
|
||
exit 0 |
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
17 changes: 17 additions & 0 deletions
17
.git-ps/vendor/libs/hooks/sample_ts_library_isolate_post_cleanup
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,17 @@ | ||
#!/usr/bin/env zsh | ||
|
||
hooks_path=${0:a:h} | ||
dot_git_ps_path=$(dirname $hooks_path) | ||
|
||
source "$dot_git_ps_path/vendor/libs/messaging.zsh" | ||
source "$dot_git_ps_path/vendor/libs/general.zsh" | ||
source "$dot_git_ps_path/vendor/libs/ticket_id_verification.zsh" | ||
source "$dot_git_ps_path/vendor/libs/git.zsh" | ||
source "$dot_git_ps_path/vendor/libs/lcov_test_coverage.zsh" | ||
source "$dot_git_ps_path/vendor/libs/git_backed_test_coverage.zsh" | ||
|
||
echo "\n\nInstalling NPM Dependencies Back To Normal..." | ||
time npm install | ||
exit_nonzero $? "npm install failed" 10 | ||
|
||
exit 0 |