-
Notifications
You must be signed in to change notification settings - Fork 23
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
CI: replace test execution handler with conditional #504
CI: replace test execution handler with conditional #504
Conversation
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.
This solution looks much nicer in CI, great work!
- name: Update packages | ||
run: sudo apt-get update -y |
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.
- name: Update packages | |
run: sudo apt-get update -y |
I think we won't need apt update
because we already removed theapt install
command and we won't use apt
anywhere else in this workflow?
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.
And others looks great! Nice job!
📝 Description
Substitute hacky solution of executing integration tests and uploading test data with a more efficient solution using a conditional statement. This enhancement enables us to directly view test output within its associated step :)
Also for ansible, I separated the uploading logic to a different job for clarity. The uploading/processing logic is a bit more complex and different compare to other repos which involves steps to merge all the xmls into one before uploading to the storage
✔️ How to Test
Verified the workflow on forked - https://github.com/ykim-1/ansible_linode/actions/runs/8977320792
TOD link (test instance) - http://198.19.5.79:7272/builds/663972f94f454e00016b8db8?team=DX&buildName=ansible%200.25.7&bld_id=663972f94f454e00016b8db8
📷 Preview
If applicable, include a screenshot or code snippet of this change. Otherwise, please remove this section.