WEEK 7: Leveling Up! Creating Automation scripts
Hey there, fellow interns! Week seven was all about diving deep into the world of automation, and let me tell you, it was nothing short of exhilarating!
So, picture this: every day, our awesome embedded test engineers are knee-deep in commands like "git checkout" to work their magic on different Radio Units (RUs). But with Ericsson being the giant it is, navigating through all those branch names on a web interface was becoming a bit of a hassle.
Enter yours truly! My mission? To automate this whole process and make life easier for my colleagues. And boy, did I rise to the challenge!
Using my trusty Python skills, I whipped up a script that could fetch all the necessary data from the webpage with just a few clicks. Thanks to the magic of the "requests" and "re" libraries, I was able to filter out all the unnecessary HTML mumbo-jumbo and get straight to the good stuff.
But wait, it gets even better! With the help of the "os" and "subprocess" libraries, I made sure that once the script had all the info it needed, it could navigate through the Linux server environment like a pro, executing those git commands with ease.
And the best part? For our engineers, using the script is as easy as pie. They just input the radio name and product number they're working with, and voila! The script does all the heavy lifting, navigating to the right folder and executing those git commands like a champ.
Talk about streamlining the workflow for enhanced efficiency and productivity! Week seven may have come and gone, but the excitement of seeing our automation script in action is something I'll never forget. Bring on week eight – I'm ready for whatever challenge comes my way!
Comments
Post a Comment