CI: fix build logs uploading and drop now unused sg flag
Created by: jhchabran
The build logs were never uploaded since we did some changes on the bare metal agents. This was caused by the if
branch going for compiling sg
itself, which did not include the part that was fetching the tokens.
As we now have go
on the bare metal agents themselves, we can compile sg
and simply drop that workaround :)
As @mrnugget fixed the issue with the max opened files, I tested without the flag as well and it works as expected without the special flag to avoid that case on the bare metal agents.
Also, there is definitely some cleaning to do on the infrastructure side, on the image building side, some commands are doing literally nothing and went unnoticed.