In order to build the images for AWS cloud provider the next changes was prepared.
Description
The jenkins agent scripts was updated to be configurable with hops - when CONFIG_URL is found in the config options - the script starts to look at it for the future config data. In case it will find the new CONFIG_URL there it replaces the previous one and so on...
The disks now could be formatted on VM itself (lin/win) - if it founds the raw disk formatall script formats it as default filesystem. Probably it's better than using fish-formatter, but less controllable. Need to check in the future on the ways of passing the params to the formatter script.
JENKINS_AGENT_WORKSPACE now is an optional param for the agent - by default it will use the home directory of the user as a workdir.
Fixed the issue with insecure download of jenkins agent on the win platform - now it restores the security policy of certificate validation if JENKINS_HTTPS_INSECURE option is not set.
Added a way to specify auth creds for the download role - now we can use auth while downloading artifacts to local machine, the docs are set in README.md
Related Issue
fixes: #3
Motivation and Context
New AWS cloud provider.
How Has This Been Tested?
Manually
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
In order to build the images for AWS cloud provider the next changes was prepared.
Description
Related Issue
fixes: #3
Motivation and Context
New AWS cloud provider.
How Has This Been Tested?
Manually
Types of changes
Checklist: