-
Notifications
You must be signed in to change notification settings - Fork 100
Add install/uninstall integration test #147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
ef3438a
Add install test to CI
Dean-Coakley ff71fab
Fix apk package build
Dean-Coakley 7c5f102
Merge branch 'main' into run-install-test
Dean-Coakley c44503c
Remove install stage from release workflow
Dean-Coakley bc75a8a
Set pkg path in CI
Dean-Coakley fba8e9c
Remove makefile vars. Var substitution
Dean-Coakley b7bae1e
Use env vars for agent pkg
Dean-Coakley ad5c140
Remove shell cmd
Dean-Coakley 92c6fb8
Use regex instead
Dean-Coakley 8242951
Fix var substitution
Dean-Coakley 36da699
Use GitHub Actions exports
Dean-Coakley 7174c26
Debug
Dean-Coakley 396f848
Lint api integration test
Dean-Coakley 113e6ee
Convert install/uninstall to integration test
Dean-Coakley afb44d0
Merge branch 'main' into run-install-test
Dean-Coakley 4da18c0
Add base image override
Dean-Coakley 2b0949a
Make deps
Dean-Coakley 5686b7e
Remove trailing entrypoint script. Fix yum install cmd
Dean-Coakley 6f34be4
Revert erroneous removal of benchmark test
Dean-Coakley bb3607a
Remove hardcode of file extension
Dean-Coakley 9ee9279
Remove global var
Dean-Coakley 23993e6
Use multi-stage builds
Dean-Coakley b32d9a2
Wait for agent container to be ready. Lint
Dean-Coakley 8d76357
Move to log WaitStrategy
Dean-Coakley e0c4f2d
Fix http WaitStrategy with binding port
Dean-Coakley e326b27
Only bind containerPort. Remove hostPort bind
Dean-Coakley 72fe67c
Remove trailing dockerfile. Update lint CI workflow OS
Dean-Coakley dbf8610
Lint Makefile. Simplify integration-test Dockerfile
Dean-Coakley 3e89b35
PR feedback
Dean-Coakley File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 @@ | ||
| #!/bin/bash | ||
|
|
||
| set -e | ||
| set -x | ||
| set -euxo pipefail | ||
|
|
||
| handle_term() | ||
| { | ||
| echo "received TERM signal" | ||
| echo "stopping nginx ..." | ||
| kill -TERM "${nginx_pid}" 2>/dev/null | ||
| } | ||
|
|
||
| trap 'handle_term' TERM | ||
|
|
||
| # Launch nginx | ||
| echo "starting nginx ..." | ||
| /usr/sbin/nginx -g "daemon off;" & | ||
|
|
||
| nginx_pid=$! | ||
|
|
||
| wait_term() | ||
| { | ||
| trap - TERM | ||
| kill -QUIT "${nginx_pid}" 2>/dev/null | ||
| echo "waiting for nginx to stop..." | ||
| wait ${nginx_pid} | ||
| } | ||
|
|
||
| wait_term |
This file contains hidden or 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.