compile.sh is already using -DENABLE_PROFILE_GUIDED_OPTIMIZATION=ON , which performs PGO during the router's build. If PGO fails, the container image jobs will fail.
I am not sure why we need a separate PGO job, but in the interest of full disclosure, I was the one that added the separate PGO job and I am not sure what I was thinking.
compile.sh is already using -DENABLE_PROFILE_GUIDED_OPTIMIZATION=ON , which performs PGO during the router's build. If PGO fails, the container image jobs will fail.
I am not sure why we need a separate PGO job, but in the interest of full disclosure, I was the one that added the separate PGO job and I am not sure what I was thinking.