Skip to content
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

Add e2e distribution tests #160

Merged
merged 30 commits into from
Dec 20, 2022
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
94b8bd9
assume yes for yum installs
degray Dec 14, 2022
99958de
initial e2e script
degray Dec 14, 2022
6983b67
Initial gh action test
degray Dec 16, 2022
398a5dd
chdir before box update
degray Dec 16, 2022
4dddfa4
test nested virtualization
degray Dec 16, 2022
6d724d9
test cache
degray Dec 16, 2022
ddf7fa3
Test matrix
degray Dec 16, 2022
411747e
Fix matrix test
degray Dec 16, 2022
84cef3f
github action update
degray Dec 16, 2022
d6c1c7a
Test to ensure masking of token with fake token
degray Dec 16, 2022
3b13307
Test masking with fake token
degray Dec 16, 2022
01d8609
Switch role and test masking with fake key
degray Dec 16, 2022
a1c4765
Fix env name and test with fake token
degray Dec 16, 2022
a9ddb2b
Passing test_api_token
degray Dec 16, 2022
112cb5b
First full e2e test with fake token
degray Dec 16, 2022
6149074
sanitize dist and update cache key
degray Dec 16, 2022
112801e
pass dist to vagrant env
degray Dec 16, 2022
70f41c9
change cache key
degray Dec 16, 2022
412072a
Tail logs during 45s wait
degray Dec 16, 2022
f307e74
Trap exits
degray Dec 16, 2022
bf5e9dc
Trap exits
degray Dec 16, 2022
ec346d5
kill journalctl tail
degray Dec 16, 2022
c63d5e5
Remove background journalctl job / restore mem/cpu
degray Dec 16, 2022
b2f352a
sleep required
degray Dec 16, 2022
a9cb3f6
journalctl required only once
degray Dec 16, 2022
4d64470
Add schedule. 5pm UTC every day
degray Dec 16, 2022
19ee622
split steps
degray Dec 16, 2022
72cee71
consistent casing for vars
degray Dec 19, 2022
141a622
Test CI build
Dec 20, 2022
46612b4
Removed on push gh action trigger
Dec 20, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Trap exits
degray committed Dec 16, 2022
commit f307e74574e98cb6d1dfe3da02fe3b3ed30a7d81
2 changes: 1 addition & 1 deletion dist/e2e.sh
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@ EOF
sudo journalctl -f -n 0 -u metrist-orchestrator.service &
tail_pid=$!
sleep 45
kill $tail_pid
trap "kill $tail_pid" INT TERM HUP QUIT EXIT

success_count=$(sudo journalctl --unit metrist-orchestrator --since "1m ago" | grep -c "All steps done, asking monitor to exit")