Closed manojkva closed 3 years ago
Gate jobs using this script appear to be passing, can you elaborate as to when you are experiencing this. And the steps to reproduce this.
The gate is passing for airshipctl, but is failing for treasuremap. Ruslan A worked on these scripts recently and if he could take a look at it he might spot the issue quickly (I can't find Ruslan's github ID)
@raliev12 any chance you can take a look? Thanks!
Validation scripts were configured properly for airshipctl repository, however there is need to adjust some of variables to run validation against treasuremap sites. It was already done here, but now there is an issue with secret generation, which is not related to validation script itself.
Please assign this to me.
@matthew-fuller all yours, just lmk what t-shirt you want to add once you've had a chance to assess. Thanks!
It looks like most of the issues related to this change have already been solved. I just made a small change to modify the default value for MANIFEST_ROOT
to dirname ${PWD}
so the script can be run locally from the treasuremap directory without needing to explicitly set the root first. That was really the only issue I ran into when trying to run the script locally.
https://review.opendev.org/c/airship/treasuremap/+/780064
On running tools/document/validate_site_docs.sh, airshipctl adds an additional “airshipctl” parameter which is leading to “no such file” error.
During call to any of the airshipctl command, it looks like "airshipctl" is appended in between as show in the below file location. This leads to no file error.
Log of validate_site_docs.sh