๐๐ ๐๐ฎ๐๐ฒ-๐ฆ๐ฒ๐ป๐๐ถ๐๐ถ๐๐ฒ ๐ ๐ฎ๐๐๐ฒ๐ฟ๐! ๐ง

Recently, we faced an issue in our devops pipeline. The pipeline was designed to variabilize the Helm chart path based on the artifact location.
While the artifacts were successfully downloaded into the agent, we kept hitting the error: โ๐๐ฉ๐ข๐ณ๐ต ๐ง๐ช๐ญ๐ฆ ๐ฏ๐ฐ๐ต ๐ง๐ฐ๐ถ๐ฏ๐ฅ ๐ช๐ฏ ๐ต๐ฉ๐ฆ ๐ด๐ฑ๐ฆ๐ค๐ช๐ง๐ช๐ฆ๐ฅ ๐ฑ๐ข๐ต๐ฉ.โ ๐ค
๐๐ฒ๐ฟ๐ฒโ๐ ๐๐ต๐ฒ ๐๐๐ถ๐๐:
The pipeline worked flawlessly on a Windows agent.But it failed every time on an Ubuntu agent ๐ง.
My Linux knowledge saved the day! ๐ก In Linux, ๐ณ๐ถ๐น๐ฒ ๐ฝ๐ฎ๐๐ต๐ ๐ฎ๐ฟ๐ฒ ๐ฐ๐ฎ๐๐ฒ-๐๐ฒ๐ป๐๐ถ๐๐ถ๐๐ฒ, unlike Windows.
We had a variable in yaml file like this:
chartPath: ./charts/WebGenServiceApp
But the actual published folder was named like ./๐ฐ๐ต๐ฎ๐ฟ๐๐/WebgenServiceApp. That one uppercase letter(G) caused the failure!
๐๐ถ๐ : Correcting the case in the variable value resolved the issue. โ
๐๐ฒ๐ ๐ง๐ฎ๐ธ๐ฒ๐ฎ๐๐ฎ๐: When deploying on Linux-based agents, always validate your file paths and variable values for case sensitivity.
๐ ๐๐บ๐ฎ๐น๐น ๐๐๐ฝ๐ผ ๐ฐ๐ฎ๐ป ๐น๐ฒ๐ฎ๐ฑ ๐๐ผ ๐ฏ๐ถ๐ด ๐ต๐ฒ๐ฎ๐ฑ๐ฎ๐ฐ๐ต๐ฒ๐! ๐ ๏ธ
#DevOps #Linux #CICD #CaseSensitivity #TechTips #PipelineDebugging #WindowsVsLinux
Subscribe to my newsletter
Read articles from Sheik Mohamed Syed Ali directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
