-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added logic to deploy default jenkins agent #176
Conversation
Signed-off-by: Rishabh Singh <sngri@amazon.com>
README.md
Outdated
Please note that if you have decided to use the provided production jenkins agents then please make sure that you are | ||
deploying the stack in US-EAST-1 region as the AMIs used are only publicly available in US-EAST-1 region. | ||
If you want to deploy the stack in another region then please make sure you copy the public AMIs used | ||
from us-east-1 region to your region of choice and update the code in agent-nodes.ts file accordingly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it should be: update the new
ami-id in agent-nodes.ts file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
corrected.
README.md
Outdated
from us-east-1 region to your region of choice and update the code in agent-nodes.ts file accordingly. | ||
|
||
If you do not copy the AMI in required region and update the code then the stack deployment in your desired region | ||
will fail. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the stack comes up but agent nodes won't be deployed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, correct. will update this.
README.md
Outdated
If you do not copy the AMI in required region and update the code then the stack deployment in your desired region | ||
will fail. | ||
|
||
If you do not specify this flag or use `false` then jenkins server will spin up two dummy ec2 agents, AL2 AMD64 and ARM64, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not say dummy as they are actual agents nodes that can be used by customers. May say agent nodes with minimal config
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agree.
let useProdAgents = `${props?.useProdAgents ?? this.node.tryGetContext('useProdAgents')}`; | ||
if (useProdAgents.toString() === 'undefined') { | ||
useProdAgents = 'false'; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are planning to remove all context variables. Let users directly use it via construct properties. WDTY?
cc: @prudhvigodithi
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am good either way. It doesn't hurt to pass the value as context as well.
lib/ci-stack.ts
Outdated
agentNode.AL2_ARM64, agentNode.AL2_ARM64_DOCKER_HOST, agentNode.UBUNTU2004_X64, agentNode.UBUNTU2004_X64_DOCKER_BUILDER, | ||
agentNode.MACOS12_X64_MULTI_HOST, agentNode.WINDOWS2019_X64]; | ||
} else { | ||
this.agentNodes = [agentNode.AL2_X64_EXAMPLE_AGENT, agentNode.AL2_ARM64_EXAMPLE_AGENT]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you just name them AL2_X64
and AL2_ARM64
remove example_agent as they can be actually used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will replace EXAMPLE
with DEFAULT
.
lib/compute/agent-nodes.ts
Outdated
readonly AL2_X64_EXAMPLE_AGENT: AgentNodeProps; | ||
|
||
readonly AL2_ARM64_EXAMPLE_AGENT: AgentNodeProps; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above rename
lib/compute/agent-nodes.ts
Outdated
generation: AmazonLinuxGeneration.AMAZON_LINUX_2, | ||
cpuType: AmazonLinuxCpuType.X86_64, | ||
}).getImage(stack).imageId.toString(), | ||
initScript: 'sudo yum install -y java-1.8.0-openjdk', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to install docker, etc
Saw this in earlier PR:
sudo yum install -y java-1.8.0-openjdk cmake python3 python3-pip && sudo yum groupinstall -y \'Development Tools\' && sudo ln -sfn `which pip3` /usr/bin/pip && pip3 install pipenv && sudo ln -s ~/.local/bin/pipenv /usr/local/bin
Your choice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets keep it bare minimum and let the user decide what they want to install on the agent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So consider this, main motive of this infrastructure is distribution building. And java, python is required no matter what for this. so above command is minimal but has python so that they can run distribution builds
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense. Updated the init commands.
lib/compute/agent-nodes.ts
Outdated
generation: AmazonLinuxGeneration.AMAZON_LINUX_2, | ||
cpuType: AmazonLinuxCpuType.ARM_64, | ||
}).getImage(stack).imageId.toString(), | ||
initScript: 'sudo yum install -y java-1.8.0-openjdk', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above
Signed-off-by: Rishabh Singh <sngri@amazon.com>
* fixed IAM roles and code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> * parent 4c38aa5 author pgodithi <pgodithi@amazon.com> 1651777341 -0400 committer prudhvigodithi <pgodithi@amazon.com> 1659618802 -0400 gpgsig -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuaPMeSek3p9IWNzDMSDf0RO9/aIFAmLrxfIACgkQMSDf0RO9 /aJzsw//a2ILAdIZJ4oGzBzOfZPZVGKyid4kzQD9Kb5yNZtCqHGRrmrueiGxyECD Sj81XU28LOgdcKkSB7ZRsaI/fG5ZpRT9xkv+LZmdct1KJSVjS8x+HM+zUuBrrW4Q QVYI/5T19BLLngRUTm5IDN2qYkmRpX1KqprcxGqI6FEug65paOUhfNflf46DSpz+ Lwv1PyfgZuBhVzHupJ4STRWI7fi2urK+Cs7JnNRIVGFl+EeajKDHQNSe8WvATI5f 1SVCLlW0/+NsYNiPS2Y/M6Mtnu/q5Sl93VTGinLVC4isnurHE99x3Mb5Ku6hmTpy pQO7nJ/LFFquY3uevEf/AeXOTQP1Bx07CGAnRr5KsiHDivpFIIy68pnsbfvFBGRb HxK0F8NOrIL1xDs1ybWjau/65nJ+hQDnH1poYfBQ/CqnO8cM0tuI6GyL+qzhBbt5 uSlm0Dl0qYqY4LA2bvY7uQ07aSipgp9RwwijDKQvy02D02oyMaS9eCY6BnZ0HjDY mKK/TlM9xPkz7OOwlrruSCRe585Qha+77fENGR0Ymezg6VRFEje2ULNsNfBLhEGe j80/IMv3HdRd+L5mqbJl7Pl+cylb7q0lAN4wix72AoeE49/ONpjhcbTt/IDNNJK/ MlZBQkK22Z9safkWRNkUMzvcMClBav6ZahOgF7TMLnjIkGP6L8o= =dih/ -----END PGP SIGNATURE----- Fix tests Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added 2 new plugins Signed-off-by: pgodithi <pgodithi@amazon.com> Add readme doc Signed-off-by: pgodithi <pgodithi@amazon.com> Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> Bump minor version Signed-off-by: pgodithi <pgodithi@amazon.com> change docker tag to 2.332.3-lts Signed-off-by: pgodithi <pgodithi@amazon.com> added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> Added IAM required imports Signed-off-by: pgodithi <pgodithi@amazon.com> Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> Added Managed SSM Policy to Agent instance role (#117) Signed-off-by: Rishabh Singh <sngri@amazon.com> fix agentAssumeRole Signed-off-by: pgodithi <pgodithi@amazon.com> Ecr public Signed-off-by: pgodithi <pgodithi@amazon.com> Added AmazonSSMManagedInstanceCore Signed-off-by: pgodithi <pgodithi@amazon.com> Added AmazonSSMManagedInstanceCore policy to agents. (#124) * fixed IAM roles and code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> * Fix tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added 2 new plugins Signed-off-by: pgodithi <pgodithi@amazon.com> * Add readme doc Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Bump minor version Signed-off-by: pgodithi <pgodithi@amazon.com> * change docker tag to 2.332.3-lts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * Added IAM required imports Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * fix agentAssumeRole Signed-off-by: pgodithi <pgodithi@amazon.com> * Ecr public Signed-off-by: pgodithi <pgodithi@amazon.com> * Added AmazonSSMManagedInstanceCore Signed-off-by: pgodithi <pgodithi@amazon.com> Added new jenkins agents and logging bug-fix (#126) Signed-off-by: Rishabh Singh <sngri@amazon.com> Added new output parameters and updated jenkins image tag (#128) Signed-off-by: Rishabh Singh <sngri@amazon.com> use jenkins-2.332.3 jdk8 base image (#129) Signed-off-by: Rishabh Singh <sngri@amazon.com> added support for QEMU emulators (#131) Signed-off-by: Rishabh Singh <sngri@amazon.com> Add Docker restart policy (#137) * fixed IAM roles and code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> * Fix tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added 2 new plugins Signed-off-by: pgodithi <pgodithi@amazon.com> * Add readme doc Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Bump minor version Signed-off-by: pgodithi <pgodithi@amazon.com> * change docker tag to 2.332.3-lts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * Added IAM required imports Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * fix agentAssumeRole Signed-off-by: pgodithi <pgodithi@amazon.com> * Ecr public Signed-off-by: pgodithi <pgodithi@amazon.com> * Added AmazonSSMManagedInstanceCore Signed-off-by: pgodithi <pgodithi@amazon.com> * added docker-compose restart policy Signed-off-by: pgodithi <pgodithi@amazon.com> Add markup formatter as safe/html disable syntax highlighting to allow html (#138) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Set cache to false for aws secret manager plugin (#140) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add environment variables using configuration as code (#136) * Add environment variables using configuration as code Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Install workflow-api plugin to get latest version and remove lockable permissions (#141) * Install workflow-api plugin to get latest version Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> * Remove lockable permissions Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> [Bug-fix]: Handle multiple colons and space (#142) * Handle multiple colons and space Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> * Handle multiple space Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Move env variabled to yaml (#143) * Move to yaml Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> add ubuntu agent and cdn with lambda@edge resource for public access (#134) Signed-off-by: Rishabh Singh <sngri@amazon.com> Reload configuration as code via curl instead of cli (#145) * Reload configuration as code via curl instead of cli Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Main/Agent Node new setups on tag and executors (#147) * Main/Agent Node new setups on tag and executors Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Remove DCO check as it is replaced by dco app Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Remove stack in node ts as it is not used anymore Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Fix Ubuntu agent init script bug (#148) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add Ubuntu Single Host for Gradle Check (#149) * Add Ubuntu Single Host for Gradle Check Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Change default idle time to 60min Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Raise the gradle check runner to have c518xlarge as in Fork Jenkins (#150) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> New cmds reduce AL2 failure and increase gradle check to c524xlarge runner (#151) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add jdk14 as it is required by OS 1.x gradle check (#152) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Migrate perf test agent setups to public jenkins (#153) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Resource increase Signed-off-by: prudhvigodithi <pgodithi@amazon.com> Adds lockable-resources plugin and sshd plugin (#156) * Add lockable plugin Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Add initial windows packer templates for ami (#155) * Add initial windows packer templates for ami Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Tweak readme Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Make changes based on the PR comments Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Disable windows internal firewall and allow Security Group to take care of ports Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Change templates to use gp3 as default ebs Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add Mac agent support (#158) * parent 83a6200 author pgodithi <pgodithi@amazon.com> 1651769732 -0400 committer pgodithi <pgodithi@amazon.com> 1658274990 -0400 gpgsig -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuaPMeSek3p9IWNzDMSDf0RO9/aIFAmLXRK4ACgkQMSDf0RO9 /aKKpQ/9FQ92spUtBEdt2lf4Kz6c2x7+eunr5kzzxZPB8fj28AFWBtGP/NA6a/WK BjRgtxZ4060PCDUtbcnfFy8mg8PdQa03FpofQKr6exSfDTI+TNISJAkcI2HIWzqx ehiFRDGWG577fgrnk67xxd6LxD8sO8EHWBJzZWKrYA3z7f0Q05n1q2osm/jhDYgK cEDQBHZJVi4htO2sBGJO3caqCbqt0EphxYy+uua5On4a2ZgWlBUxjqoaZ6X/LrnR 6IoN8PYVUtyrkbWkkXB+0T4PPDYP8DwnCrCsDQxQyYQ7tBqnR3hQ6nfga2d4Dry5 Dz9oqPoWZjDJNBAf+B6NAmwmyIZHn2lnVL/b8GvwGjSOixyUqaptRKVrg/PwIT+I i2CeMuGIxIG8pycC+wruSNoNqV26Vm7rFSOC4VSvOXneQUStMrAEM+LjcCDtG8bF 0837RaB4Vj37QfkXJyQl2JLTvw6TUKbZuCXqSTLF6oy4nfKN1wBPhfmgjRt146o3 VKt9iZ/q5kOEAPhEHJkHWoC/C+jaMRkVk0ZV5CoujQcIPZX2HfA88RogNZe0Ommy ayc+gLw8oBiRBeKkWuQLrLtrBYCLKrIK5qjEEj9MqLxbLSlDRXJjvZvPSUGqS2wg a8KKD0i9faPpRIuViJRqHztQBXVsv0UsYFMeeid00lJm2F4dmBk= =c8LN -----END PGP SIGNATURE----- fixed IAM roles and code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> Fix tests Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added 2 new plugins Signed-off-by: pgodithi <pgodithi@amazon.com> Add readme doc Signed-off-by: pgodithi <pgodithi@amazon.com> Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> Bump minor version Signed-off-by: pgodithi <pgodithi@amazon.com> change docker tag to 2.332.3-lts Signed-off-by: pgodithi <pgodithi@amazon.com> added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> Added IAM required imports Signed-off-by: pgodithi <pgodithi@amazon.com> Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> Added Managed SSM Policy to Agent instance role (#117) Signed-off-by: Rishabh Singh <sngri@amazon.com> fix agentAssumeRole Signed-off-by: pgodithi <pgodithi@amazon.com> Ecr public Signed-off-by: pgodithi <pgodithi@amazon.com> Added AmazonSSMManagedInstanceCore Signed-off-by: pgodithi <pgodithi@amazon.com> Added AmazonSSMManagedInstanceCore policy to agents. (#124) * fixed IAM roles and code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> * Fix tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added 2 new plugins Signed-off-by: pgodithi <pgodithi@amazon.com> * Add readme doc Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Bump minor version Signed-off-by: pgodithi <pgodithi@amazon.com> * change docker tag to 2.332.3-lts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * Added IAM required imports Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * fix agentAssumeRole Signed-off-by: pgodithi <pgodithi@amazon.com> * Ecr public Signed-off-by: pgodithi <pgodithi@amazon.com> * Added AmazonSSMManagedInstanceCore Signed-off-by: pgodithi <pgodithi@amazon.com> Added new jenkins agents and logging bug-fix (#126) Signed-off-by: Rishabh Singh <sngri@amazon.com> Added new output parameters and updated jenkins image tag (#128) Signed-off-by: Rishabh Singh <sngri@amazon.com> use jenkins-2.332.3 jdk8 base image (#129) Signed-off-by: Rishabh Singh <sngri@amazon.com> added support for QEMU emulators (#131) Signed-off-by: Rishabh Singh <sngri@amazon.com> Add Docker restart policy (#137) * fixed IAM roles and code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> * Fix tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added 2 new plugins Signed-off-by: pgodithi <pgodithi@amazon.com> * Add readme doc Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Bump minor version Signed-off-by: pgodithi <pgodithi@amazon.com> * change docker tag to 2.332.3-lts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * Added IAM required imports Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * fix agentAssumeRole Signed-off-by: pgodithi <pgodithi@amazon.com> * Ecr public Signed-off-by: pgodithi <pgodithi@amazon.com> * Added AmazonSSMManagedInstanceCore Signed-off-by: pgodithi <pgodithi@amazon.com> * added docker-compose restart policy Signed-off-by: pgodithi <pgodithi@amazon.com> Add markup formatter as safe/html disable syntax highlighting to allow html (#138) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Set cache to false for aws secret manager plugin (#140) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add environment variables using configuration as code (#136) * Add environment variables using configuration as code Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Install workflow-api plugin to get latest version and remove lockable permissions (#141) * Install workflow-api plugin to get latest version Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> * Remove lockable permissions Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> [Bug-fix]: Handle multiple colons and space (#142) * Handle multiple colons and space Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> * Handle multiple space Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Move env variabled to yaml (#143) * Move to yaml Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> add ubuntu agent and cdn with lambda@edge resource for public access (#134) Signed-off-by: Rishabh Singh <sngri@amazon.com> Reload configuration as code via curl instead of cli (#145) * Reload configuration as code via curl instead of cli Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Main/Agent Node new setups on tag and executors (#147) * Main/Agent Node new setups on tag and executors Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Remove DCO check as it is replaced by dco app Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Remove stack in node ts as it is not used anymore Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Fix Ubuntu agent init script bug (#148) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add Ubuntu Single Host for Gradle Check (#149) * Add Ubuntu Single Host for Gradle Check Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Change default idle time to 60min Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Raise the gradle check runner to have c518xlarge as in Fork Jenkins (#150) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> New cmds reduce AL2 failure and increase gradle check to c524xlarge runner (#151) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add jdk14 as it is required by OS 1.x gradle check (#152) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Migrate perf test agent setups to public jenkins (#153) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add Mac agent support Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added max-len, eqeqeq Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added tests Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added tests Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Add Mac agent support: fix conflicts Signed-off-by: pgodithi <pgodithi@amazon.com> * Add Mac agent support: fix conflicts Signed-off-by: pgodithi <pgodithi@amazon.com> Make sure gradle check agent only runs once (#159) * Make sure gradle check agent only runs once Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Remove defaults value Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Make agent label have consistent capital naming (#160) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add yum db cleanup to AL2 and remove lock to Ubuntu2004 (#162) * Add yum db cleanup to AL2 runners Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Update scripts Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Add Ubuntu cleanups Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Remove fixed password setups in Windows Packer (#167) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> MacOS agent AMI creation using packer. (#164) * parent 83a6200 author pgodithi <pgodithi@amazon.com> 1651769732 -0400 committer pgodithi <pgodithi@amazon.com> 1658274990 -0400 gpgsig -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuaPMeSek3p9IWNzDMSDf0RO9/aIFAmLXRK4ACgkQMSDf0RO9 /aKKpQ/9FQ92spUtBEdt2lf4Kz6c2x7+eunr5kzzxZPB8fj28AFWBtGP/NA6a/WK BjRgtxZ4060PCDUtbcnfFy8mg8PdQa03FpofQKr6exSfDTI+TNISJAkcI2HIWzqx ehiFRDGWG577fgrnk67xxd6LxD8sO8EHWBJzZWKrYA3z7f0Q05n1q2osm/jhDYgK cEDQBHZJVi4htO2sBGJO3caqCbqt0EphxYy+uua5On4a2ZgWlBUxjqoaZ6X/LrnR 6IoN8PYVUtyrkbWkkXB+0T4PPDYP8DwnCrCsDQxQyYQ7tBqnR3hQ6nfga2d4Dry5 Dz9oqPoWZjDJNBAf+B6NAmwmyIZHn2lnVL/b8GvwGjSOixyUqaptRKVrg/PwIT+I i2CeMuGIxIG8pycC+wruSNoNqV26Vm7rFSOC4VSvOXneQUStMrAEM+LjcCDtG8bF 0837RaB4Vj37QfkXJyQl2JLTvw6TUKbZuCXqSTLF6oy4nfKN1wBPhfmgjRt146o3 VKt9iZ/q5kOEAPhEHJkHWoC/C+jaMRkVk0ZV5CoujQcIPZX2HfA88RogNZe0Ommy ayc+gLw8oBiRBeKkWuQLrLtrBYCLKrIK5qjEEj9MqLxbLSlDRXJjvZvPSUGqS2wg a8KKD0i9faPpRIuViJRqHztQBXVsv0UsYFMeeid00lJm2F4dmBk= =c8LN -----END PGP SIGNATURE----- fixed IAM roles and code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> Fix tests Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added 2 new plugins Signed-off-by: pgodithi <pgodithi@amazon.com> Add readme doc Signed-off-by: pgodithi <pgodithi@amazon.com> Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> Bump minor version Signed-off-by: pgodithi <pgodithi@amazon.com> change docker tag to 2.332.3-lts Signed-off-by: pgodithi <pgodithi@amazon.com> added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> Added IAM required imports Signed-off-by: pgodithi <pgodithi@amazon.com> Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> Added Managed SSM Policy to Agent instance role (#117) Signed-off-by: Rishabh Singh <sngri@amazon.com> fix agentAssumeRole Signed-off-by: pgodithi <pgodithi@amazon.com> Ecr public Signed-off-by: pgodithi <pgodithi@amazon.com> Added AmazonSSMManagedInstanceCore Signed-off-by: pgodithi <pgodithi@amazon.com> Added AmazonSSMManagedInstanceCore policy to agents. (#124) * fixed IAM roles and code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> * Fix tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added 2 new plugins Signed-off-by: pgodithi <pgodithi@amazon.com> * Add readme doc Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Bump minor version Signed-off-by: pgodithi <pgodithi@amazon.com> * change docker tag to 2.332.3-lts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * Added IAM required imports Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * fix agentAssumeRole Signed-off-by: pgodithi <pgodithi@amazon.com> * Ecr public Signed-off-by: pgodithi <pgodithi@amazon.com> * Added AmazonSSMManagedInstanceCore Signed-off-by: pgodithi <pgodithi@amazon.com> Added new jenkins agents and logging bug-fix (#126) Signed-off-by: Rishabh Singh <sngri@amazon.com> Added new output parameters and updated jenkins image tag (#128) Signed-off-by: Rishabh Singh <sngri@amazon.com> use jenkins-2.332.3 jdk8 base image (#129) Signed-off-by: Rishabh Singh <sngri@amazon.com> added support for QEMU emulators (#131) Signed-off-by: Rishabh Singh <sngri@amazon.com> Add Docker restart policy (#137) * fixed IAM roles and code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> * Fix tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added 2 new plugins Signed-off-by: pgodithi <pgodithi@amazon.com> * Add readme doc Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Bump minor version Signed-off-by: pgodithi <pgodithi@amazon.com> * change docker tag to 2.332.3-lts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * Added IAM required imports Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * fix agentAssumeRole Signed-off-by: pgodithi <pgodithi@amazon.com> * Ecr public Signed-off-by: pgodithi <pgodithi@amazon.com> * Added AmazonSSMManagedInstanceCore Signed-off-by: pgodithi <pgodithi@amazon.com> * added docker-compose restart policy Signed-off-by: pgodithi <pgodithi@amazon.com> Add markup formatter as safe/html disable syntax highlighting to allow html (#138) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Set cache to false for aws secret manager plugin (#140) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add environment variables using configuration as code (#136) * Add environment variables using configuration as code Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Install workflow-api plugin to get latest version and remove lockable permissions (#141) * Install workflow-api plugin to get latest version Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> * Remove lockable permissions Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> [Bug-fix]: Handle multiple colons and space (#142) * Handle multiple colons and space Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> * Handle multiple space Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Move env variabled to yaml (#143) * Move to yaml Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> add ubuntu agent and cdn with lambda@edge resource for public access (#134) Signed-off-by: Rishabh Singh <sngri@amazon.com> Reload configuration as code via curl instead of cli (#145) * Reload configuration as code via curl instead of cli Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Main/Agent Node new setups on tag and executors (#147) * Main/Agent Node new setups on tag and executors Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Remove DCO check as it is replaced by dco app Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Remove stack in node ts as it is not used anymore Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Fix Ubuntu agent init script bug (#148) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add Ubuntu Single Host for Gradle Check (#149) * Add Ubuntu Single Host for Gradle Check Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Change default idle time to 60min Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Raise the gradle check runner to have c518xlarge as in Fork Jenkins (#150) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> New cmds reduce AL2 failure and increase gradle check to c524xlarge runner (#151) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add jdk14 as it is required by OS 1.x gradle check (#152) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Migrate perf test agent setups to public jenkins (#153) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add Mac agent support Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added max-len, eqeqeq Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added tests Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added tests Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Add Mac agent support: fix conflicts Signed-off-by: pgodithi <pgodithi@amazon.com> * Add Mac agent support: fix conflicts Signed-off-by: pgodithi <pgodithi@amazon.com> * MacOS agents: packer Signed-off-by: pgodithi <pgodithi@amazon.com> * MacOS agents: packer, fix conflicts Signed-off-by: pgodithi <pgodithi@amazon.com> * MacOS agents: packer, fix conflicts Signed-off-by: pgodithi <pgodithi@amazon.com> * MacOS agents: packer fix suggestions Signed-off-by: pgodithi <pgodithi@amazon.com> * MacOS agents: packer fix suggestions Signed-off-by: pgodithi <pgodithi@amazon.com> * MacOS agents: packer fix suggestions Signed-off-by: pgodithi <pgodithi@amazon.com> Make jenkins jdk tool match manifest jdk naming (#170) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Adding new Windows agent and organize Mac agent configurations (#169) * Adding new Windows agent and organize Mac agent configurations Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Update ami number Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Update ntp windows Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Add mac launchtimeout Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add functionality to restrict server access (#171) * Add functionality to restrict access Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Fix gradle check by removing old caches and add back docker-compose (#172) * Fix gradle check by removing old caches and add back docker-compose Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Remove JDK only in caches and show the remove msgs Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Remove removing caches Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Changed cpu and memory metric stat to avg (#173) Signed-off-by: Rishabh Singh <sngri@amazon.com> MacOS agents support default /bin/bash and remove nodeProperties in CDK code. (#175) * parent 83a6200 author pgodithi <pgodithi@amazon.com> 1651769732 -0400 committer pgodithi <pgodithi@amazon.com> 1658274990 -0400 gpgsig -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuaPMeSek3p9IWNzDMSDf0RO9/aIFAmLXRK4ACgkQMSDf0RO9 /aKKpQ/9FQ92spUtBEdt2lf4Kz6c2x7+eunr5kzzxZPB8fj28AFWBtGP/NA6a/WK BjRgtxZ4060PCDUtbcnfFy8mg8PdQa03FpofQKr6exSfDTI+TNISJAkcI2HIWzqx ehiFRDGWG577fgrnk67xxd6LxD8sO8EHWBJzZWKrYA3z7f0Q05n1q2osm/jhDYgK cEDQBHZJVi4htO2sBGJO3caqCbqt0EphxYy+uua5On4a2ZgWlBUxjqoaZ6X/LrnR 6IoN8PYVUtyrkbWkkXB+0T4PPDYP8DwnCrCsDQxQyYQ7tBqnR3hQ6nfga2d4Dry5 Dz9oqPoWZjDJNBAf+B6NAmwmyIZHn2lnVL/b8GvwGjSOixyUqaptRKVrg/PwIT+I i2CeMuGIxIG8pycC+wruSNoNqV26Vm7rFSOC4VSvOXneQUStMrAEM+LjcCDtG8bF 0837RaB4Vj37QfkXJyQl2JLTvw6TUKbZuCXqSTLF6oy4nfKN1wBPhfmgjRt146o3 VKt9iZ/q5kOEAPhEHJkHWoC/C+jaMRkVk0ZV5CoujQcIPZX2HfA88RogNZe0Ommy ayc+gLw8oBiRBeKkWuQLrLtrBYCLKrIK5qjEEj9MqLxbLSlDRXJjvZvPSUGqS2wg a8KKD0i9faPpRIuViJRqHztQBXVsv0UsYFMeeid00lJm2F4dmBk= =c8LN -----END PGP SIGNATURE----- fixed IAM roles and code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> Fix tests Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added 2 new plugins Signed-off-by: pgodithi <pgodithi@amazon.com> Add readme doc Signed-off-by: pgodithi <pgodithi@amazon.com> Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> Bump minor version Signed-off-by: pgodithi <pgodithi@amazon.com> change docker tag to 2.332.3-lts Signed-off-by: pgodithi <pgodithi@amazon.com> added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> Added IAM required imports Signed-off-by: pgodithi <pgodithi@amazon.com> Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> Added Managed SSM Policy to Agent instance role (#117) Signed-off-by: Rishabh Singh <sngri@amazon.com> fix agentAssumeRole Signed-off-by: pgodithi <pgodithi@amazon.com> Ecr public Signed-off-by: pgodithi <pgodithi@amazon.com> Added AmazonSSMManagedInstanceCore Signed-off-by: pgodithi <pgodithi@amazon.com> Added AmazonSSMManagedInstanceCore policy to agents. (#124) * fixed IAM roles and code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> * Fix tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added 2 new plugins Signed-off-by: pgodithi <pgodithi@amazon.com> * Add readme doc Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Bump minor version Signed-off-by: pgodithi <pgodithi@amazon.com> * change docker tag to 2.332.3-lts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * Added IAM required imports Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * fix agentAssumeRole Signed-off-by: pgodithi <pgodithi@amazon.com> * Ecr public Signed-off-by: pgodithi <pgodithi@amazon.com> * Added AmazonSSMManagedInstanceCore Signed-off-by: pgodithi <pgodithi@amazon.com> Added new jenkins agents and logging bug-fix (#126) Signed-off-by: Rishabh Singh <sngri@amazon.com> Added new output parameters and updated jenkins image tag (#128) Signed-off-by: Rishabh Singh <sngri@amazon.com> use jenkins-2.332.3 jdk8 base image (#129) Signed-off-by: Rishabh Singh <sngri@amazon.com> added support for QEMU emulators (#131) Signed-off-by: Rishabh Singh <sngri@amazon.com> Add Docker restart policy (#137) * fixed IAM roles and code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> * Fix tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added 2 new plugins Signed-off-by: pgodithi <pgodithi@amazon.com> * Add readme doc Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Bump minor version Signed-off-by: pgodithi <pgodithi@amazon.com> * change docker tag to 2.332.3-lts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * Added IAM required imports Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * fix agentAssumeRole Signed-off-by: pgodithi <pgodithi@amazon.com> * Ecr public Signed-off-by: pgodithi <pgodithi@amazon.com> * Added AmazonSSMManagedInstanceCore Signed-off-by: pgodithi <pgodithi@amazon.com> * added docker-compose restart policy Signed-off-by: pgodithi <pgodithi@amazon.com> Add markup formatter as safe/html disable syntax highlighting to allow html (#138) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Set cache to false for aws secret manager plugin (#140) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add environment variables using configuration as code (#136) * Add environment variables using configuration as code Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Install workflow-api plugin to get latest version and remove lockable permissions (#141) * Install workflow-api plugin to get latest version Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> * Remove lockable permissions Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> [Bug-fix]: Handle multiple colons and space (#142) * Handle multiple colons and space Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> * Handle multiple space Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Move env variabled to yaml (#143) * Move to yaml Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> add ubuntu agent and cdn with lambda@edge resource for public access (#134) Signed-off-by: Rishabh Singh <sngri@amazon.com> Reload configuration as code via curl instead of cli (#145) * Reload configuration as code via curl instead of cli Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Main/Agent Node new setups on tag and executors (#147) * Main/Agent Node new setups on tag and executors Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Remove DCO check as it is replaced by dco app Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Remove stack in node ts as it is not used anymore Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Fix Ubuntu agent init script bug (#148) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add Ubuntu Single Host for Gradle Check (#149) * Add Ubuntu Single Host for Gradle Check Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Change default idle time to 60min Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Raise the gradle check runner to have c518xlarge as in Fork Jenkins (#150) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> New cmds reduce AL2 failure and increase gradle check to c524xlarge runner (#151) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add jdk14 as it is required by OS 1.x gradle check (#152) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Migrate perf test agent setups to public jenkins (#153) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add Mac agent support Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added max-len, eqeqeq Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added tests Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added tests Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Add Mac agent support: fix conflicts Signed-off-by: pgodithi <pgodithi@amazon.com> * Add Mac agent support: fix conflicts Signed-off-by: pgodithi <pgodithi@amazon.com> * MacOS agents: packer Signed-off-by: pgodithi <pgodithi@amazon.com> * MacOS agents: packer, fix conflicts Signed-off-by: pgodithi <pgodithi@amazon.com> * MacOS agents: packer, fix conflicts Signed-off-by: pgodithi <pgodithi@amazon.com> * MacOS agents: packer fix suggestions Signed-off-by: pgodithi <pgodithi@amazon.com> * MacOS agents: packer fix suggestions Signed-off-by: pgodithi <pgodithi@amazon.com> * MacOS agents: packer fix suggestions Signed-off-by: pgodithi <pgodithi@amazon.com> * Fix ci issue #174 Signed-off-by: prudhvigodithi <pgodithi@amazon.com> * Fix ci issue #174 Signed-off-by: prudhvigodithi <pgodithi@amazon.com> * Fix ci issue #174 Signed-off-by: prudhvigodithi <pgodithi@amazon.com> * Fix ci issue #174 Signed-off-by: prudhvigodithi <pgodithi@amazon.com> Added logic to deploy default jenkins agent (#176) * Changed cpu and memory metric stat to avg Signed-off-by: Rishabh Singh <sngri@amazon.com> * Added logic to default on dummy jenkins agent Signed-off-by: Rishabh Singh <sngri@amazon.com> Add ability to assume multiple roles (#178) Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> * Update docker-compose Signed-off-by: prudhvigodithi <pgodithi@amazon.com> * Update docker-compose: Fix tests Signed-off-by: prudhvigodithi <pgodithi@amazon.com>
* fixed IAM roles and code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> * parent 4c38aa5 author pgodithi <pgodithi@amazon.com> 1651777341 -0400 committer prudhvigodithi <pgodithi@amazon.com> 1659618802 -0400 gpgsig -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuaPMeSek3p9IWNzDMSDf0RO9/aIFAmLrxfIACgkQMSDf0RO9 /aJzsw//a2ILAdIZJ4oGzBzOfZPZVGKyid4kzQD9Kb5yNZtCqHGRrmrueiGxyECD Sj81XU28LOgdcKkSB7ZRsaI/fG5ZpRT9xkv+LZmdct1KJSVjS8x+HM+zUuBrrW4Q QVYI/5T19BLLngRUTm5IDN2qYkmRpX1KqprcxGqI6FEug65paOUhfNflf46DSpz+ Lwv1PyfgZuBhVzHupJ4STRWI7fi2urK+Cs7JnNRIVGFl+EeajKDHQNSe8WvATI5f 1SVCLlW0/+NsYNiPS2Y/M6Mtnu/q5Sl93VTGinLVC4isnurHE99x3Mb5Ku6hmTpy pQO7nJ/LFFquY3uevEf/AeXOTQP1Bx07CGAnRr5KsiHDivpFIIy68pnsbfvFBGRb HxK0F8NOrIL1xDs1ybWjau/65nJ+hQDnH1poYfBQ/CqnO8cM0tuI6GyL+qzhBbt5 uSlm0Dl0qYqY4LA2bvY7uQ07aSipgp9RwwijDKQvy02D02oyMaS9eCY6BnZ0HjDY mKK/TlM9xPkz7OOwlrruSCRe585Qha+77fENGR0Ymezg6VRFEje2ULNsNfBLhEGe j80/IMv3HdRd+L5mqbJl7Pl+cylb7q0lAN4wix72AoeE49/ONpjhcbTt/IDNNJK/ MlZBQkK22Z9safkWRNkUMzvcMClBav6ZahOgF7TMLnjIkGP6L8o= =dih/ -----END PGP SIGNATURE----- Fix tests Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added 2 new plugins Signed-off-by: pgodithi <pgodithi@amazon.com> Add readme doc Signed-off-by: pgodithi <pgodithi@amazon.com> Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> Bump minor version Signed-off-by: pgodithi <pgodithi@amazon.com> change docker tag to 2.332.3-lts Signed-off-by: pgodithi <pgodithi@amazon.com> added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> Added IAM required imports Signed-off-by: pgodithi <pgodithi@amazon.com> Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> Added Managed SSM Policy to Agent instance role (#117) Signed-off-by: Rishabh Singh <sngri@amazon.com> fix agentAssumeRole Signed-off-by: pgodithi <pgodithi@amazon.com> Ecr public Signed-off-by: pgodithi <pgodithi@amazon.com> Added AmazonSSMManagedInstanceCore Signed-off-by: pgodithi <pgodithi@amazon.com> Added AmazonSSMManagedInstanceCore policy to agents. (#124) * fixed IAM roles and code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> * Fix tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added 2 new plugins Signed-off-by: pgodithi <pgodithi@amazon.com> * Add readme doc Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Bump minor version Signed-off-by: pgodithi <pgodithi@amazon.com> * change docker tag to 2.332.3-lts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * Added IAM required imports Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * fix agentAssumeRole Signed-off-by: pgodithi <pgodithi@amazon.com> * Ecr public Signed-off-by: pgodithi <pgodithi@amazon.com> * Added AmazonSSMManagedInstanceCore Signed-off-by: pgodithi <pgodithi@amazon.com> Added new jenkins agents and logging bug-fix (#126) Signed-off-by: Rishabh Singh <sngri@amazon.com> Added new output parameters and updated jenkins image tag (#128) Signed-off-by: Rishabh Singh <sngri@amazon.com> use jenkins-2.332.3 jdk8 base image (#129) Signed-off-by: Rishabh Singh <sngri@amazon.com> added support for QEMU emulators (#131) Signed-off-by: Rishabh Singh <sngri@amazon.com> Add Docker restart policy (#137) * fixed IAM roles and code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> * Fix tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added 2 new plugins Signed-off-by: pgodithi <pgodithi@amazon.com> * Add readme doc Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Bump minor version Signed-off-by: pgodithi <pgodithi@amazon.com> * change docker tag to 2.332.3-lts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * Added IAM required imports Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * fix agentAssumeRole Signed-off-by: pgodithi <pgodithi@amazon.com> * Ecr public Signed-off-by: pgodithi <pgodithi@amazon.com> * Added AmazonSSMManagedInstanceCore Signed-off-by: pgodithi <pgodithi@amazon.com> * added docker-compose restart policy Signed-off-by: pgodithi <pgodithi@amazon.com> Add markup formatter as safe/html disable syntax highlighting to allow html (#138) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Set cache to false for aws secret manager plugin (#140) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add environment variables using configuration as code (#136) * Add environment variables using configuration as code Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Install workflow-api plugin to get latest version and remove lockable permissions (#141) * Install workflow-api plugin to get latest version Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> * Remove lockable permissions Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> [Bug-fix]: Handle multiple colons and space (#142) * Handle multiple colons and space Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> * Handle multiple space Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Move env variabled to yaml (#143) * Move to yaml Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> add ubuntu agent and cdn with lambda@edge resource for public access (#134) Signed-off-by: Rishabh Singh <sngri@amazon.com> Reload configuration as code via curl instead of cli (#145) * Reload configuration as code via curl instead of cli Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Main/Agent Node new setups on tag and executors (#147) * Main/Agent Node new setups on tag and executors Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Remove DCO check as it is replaced by dco app Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Remove stack in node ts as it is not used anymore Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Fix Ubuntu agent init script bug (#148) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add Ubuntu Single Host for Gradle Check (#149) * Add Ubuntu Single Host for Gradle Check Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Change default idle time to 60min Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Raise the gradle check runner to have c518xlarge as in Fork Jenkins (#150) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> New cmds reduce AL2 failure and increase gradle check to c524xlarge runner (#151) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add jdk14 as it is required by OS 1.x gradle check (#152) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Migrate perf test agent setups to public jenkins (#153) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Resource increase Signed-off-by: prudhvigodithi <pgodithi@amazon.com> Adds lockable-resources plugin and sshd plugin (#156) * Add lockable plugin Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Add initial windows packer templates for ami (#155) * Add initial windows packer templates for ami Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Tweak readme Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Make changes based on the PR comments Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Disable windows internal firewall and allow Security Group to take care of ports Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Change templates to use gp3 as default ebs Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add Mac agent support (#158) * parent 83a6200 author pgodithi <pgodithi@amazon.com> 1651769732 -0400 committer pgodithi <pgodithi@amazon.com> 1658274990 -0400 gpgsig -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuaPMeSek3p9IWNzDMSDf0RO9/aIFAmLXRK4ACgkQMSDf0RO9 /aKKpQ/9FQ92spUtBEdt2lf4Kz6c2x7+eunr5kzzxZPB8fj28AFWBtGP/NA6a/WK BjRgtxZ4060PCDUtbcnfFy8mg8PdQa03FpofQKr6exSfDTI+TNISJAkcI2HIWzqx ehiFRDGWG577fgrnk67xxd6LxD8sO8EHWBJzZWKrYA3z7f0Q05n1q2osm/jhDYgK cEDQBHZJVi4htO2sBGJO3caqCbqt0EphxYy+uua5On4a2ZgWlBUxjqoaZ6X/LrnR 6IoN8PYVUtyrkbWkkXB+0T4PPDYP8DwnCrCsDQxQyYQ7tBqnR3hQ6nfga2d4Dry5 Dz9oqPoWZjDJNBAf+B6NAmwmyIZHn2lnVL/b8GvwGjSOixyUqaptRKVrg/PwIT+I i2CeMuGIxIG8pycC+wruSNoNqV26Vm7rFSOC4VSvOXneQUStMrAEM+LjcCDtG8bF 0837RaB4Vj37QfkXJyQl2JLTvw6TUKbZuCXqSTLF6oy4nfKN1wBPhfmgjRt146o3 VKt9iZ/q5kOEAPhEHJkHWoC/C+jaMRkVk0ZV5CoujQcIPZX2HfA88RogNZe0Ommy ayc+gLw8oBiRBeKkWuQLrLtrBYCLKrIK5qjEEj9MqLxbLSlDRXJjvZvPSUGqS2wg a8KKD0i9faPpRIuViJRqHztQBXVsv0UsYFMeeid00lJm2F4dmBk= =c8LN -----END PGP SIGNATURE----- fixed IAM roles and code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> Fix tests Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added 2 new plugins Signed-off-by: pgodithi <pgodithi@amazon.com> Add readme doc Signed-off-by: pgodithi <pgodithi@amazon.com> Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> Bump minor version Signed-off-by: pgodithi <pgodithi@amazon.com> change docker tag to 2.332.3-lts Signed-off-by: pgodithi <pgodithi@amazon.com> added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> Added IAM required imports Signed-off-by: pgodithi <pgodithi@amazon.com> Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> Added Managed SSM Policy to Agent instance role (#117) Signed-off-by: Rishabh Singh <sngri@amazon.com> fix agentAssumeRole Signed-off-by: pgodithi <pgodithi@amazon.com> Ecr public Signed-off-by: pgodithi <pgodithi@amazon.com> Added AmazonSSMManagedInstanceCore Signed-off-by: pgodithi <pgodithi@amazon.com> Added AmazonSSMManagedInstanceCore policy to agents. (#124) * fixed IAM roles and code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> * Fix tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added 2 new plugins Signed-off-by: pgodithi <pgodithi@amazon.com> * Add readme doc Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Bump minor version Signed-off-by: pgodithi <pgodithi@amazon.com> * change docker tag to 2.332.3-lts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * Added IAM required imports Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * fix agentAssumeRole Signed-off-by: pgodithi <pgodithi@amazon.com> * Ecr public Signed-off-by: pgodithi <pgodithi@amazon.com> * Added AmazonSSMManagedInstanceCore Signed-off-by: pgodithi <pgodithi@amazon.com> Added new jenkins agents and logging bug-fix (#126) Signed-off-by: Rishabh Singh <sngri@amazon.com> Added new output parameters and updated jenkins image tag (#128) Signed-off-by: Rishabh Singh <sngri@amazon.com> use jenkins-2.332.3 jdk8 base image (#129) Signed-off-by: Rishabh Singh <sngri@amazon.com> added support for QEMU emulators (#131) Signed-off-by: Rishabh Singh <sngri@amazon.com> Add Docker restart policy (#137) * fixed IAM roles and code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> * Fix tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added 2 new plugins Signed-off-by: pgodithi <pgodithi@amazon.com> * Add readme doc Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Bump minor version Signed-off-by: pgodithi <pgodithi@amazon.com> * change docker tag to 2.332.3-lts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * Added IAM required imports Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * fix agentAssumeRole Signed-off-by: pgodithi <pgodithi@amazon.com> * Ecr public Signed-off-by: pgodithi <pgodithi@amazon.com> * Added AmazonSSMManagedInstanceCore Signed-off-by: pgodithi <pgodithi@amazon.com> * added docker-compose restart policy Signed-off-by: pgodithi <pgodithi@amazon.com> Add markup formatter as safe/html disable syntax highlighting to allow html (#138) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Set cache to false for aws secret manager plugin (#140) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add environment variables using configuration as code (#136) * Add environment variables using configuration as code Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Install workflow-api plugin to get latest version and remove lockable permissions (#141) * Install workflow-api plugin to get latest version Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> * Remove lockable permissions Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> [Bug-fix]: Handle multiple colons and space (#142) * Handle multiple colons and space Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> * Handle multiple space Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Move env variabled to yaml (#143) * Move to yaml Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> add ubuntu agent and cdn with lambda@edge resource for public access (#134) Signed-off-by: Rishabh Singh <sngri@amazon.com> Reload configuration as code via curl instead of cli (#145) * Reload configuration as code via curl instead of cli Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Main/Agent Node new setups on tag and executors (#147) * Main/Agent Node new setups on tag and executors Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Remove DCO check as it is replaced by dco app Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Remove stack in node ts as it is not used anymore Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Fix Ubuntu agent init script bug (#148) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add Ubuntu Single Host for Gradle Check (#149) * Add Ubuntu Single Host for Gradle Check Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Change default idle time to 60min Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Raise the gradle check runner to have c518xlarge as in Fork Jenkins (#150) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> New cmds reduce AL2 failure and increase gradle check to c524xlarge runner (#151) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add jdk14 as it is required by OS 1.x gradle check (#152) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Migrate perf test agent setups to public jenkins (#153) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add Mac agent support Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added max-len, eqeqeq Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added tests Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added tests Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Add Mac agent support: fix conflicts Signed-off-by: pgodithi <pgodithi@amazon.com> * Add Mac agent support: fix conflicts Signed-off-by: pgodithi <pgodithi@amazon.com> Make sure gradle check agent only runs once (#159) * Make sure gradle check agent only runs once Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Remove defaults value Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Make agent label have consistent capital naming (#160) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add yum db cleanup to AL2 and remove lock to Ubuntu2004 (#162) * Add yum db cleanup to AL2 runners Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Update scripts Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Add Ubuntu cleanups Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Remove fixed password setups in Windows Packer (#167) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> MacOS agent AMI creation using packer. (#164) * parent 83a6200 author pgodithi <pgodithi@amazon.com> 1651769732 -0400 committer pgodithi <pgodithi@amazon.com> 1658274990 -0400 gpgsig -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuaPMeSek3p9IWNzDMSDf0RO9/aIFAmLXRK4ACgkQMSDf0RO9 /aKKpQ/9FQ92spUtBEdt2lf4Kz6c2x7+eunr5kzzxZPB8fj28AFWBtGP/NA6a/WK BjRgtxZ4060PCDUtbcnfFy8mg8PdQa03FpofQKr6exSfDTI+TNISJAkcI2HIWzqx ehiFRDGWG577fgrnk67xxd6LxD8sO8EHWBJzZWKrYA3z7f0Q05n1q2osm/jhDYgK cEDQBHZJVi4htO2sBGJO3caqCbqt0EphxYy+uua5On4a2ZgWlBUxjqoaZ6X/LrnR 6IoN8PYVUtyrkbWkkXB+0T4PPDYP8DwnCrCsDQxQyYQ7tBqnR3hQ6nfga2d4Dry5 Dz9oqPoWZjDJNBAf+B6NAmwmyIZHn2lnVL/b8GvwGjSOixyUqaptRKVrg/PwIT+I i2CeMuGIxIG8pycC+wruSNoNqV26Vm7rFSOC4VSvOXneQUStMrAEM+LjcCDtG8bF 0837RaB4Vj37QfkXJyQl2JLTvw6TUKbZuCXqSTLF6oy4nfKN1wBPhfmgjRt146o3 VKt9iZ/q5kOEAPhEHJkHWoC/C+jaMRkVk0ZV5CoujQcIPZX2HfA88RogNZe0Ommy ayc+gLw8oBiRBeKkWuQLrLtrBYCLKrIK5qjEEj9MqLxbLSlDRXJjvZvPSUGqS2wg a8KKD0i9faPpRIuViJRqHztQBXVsv0UsYFMeeid00lJm2F4dmBk= =c8LN -----END PGP SIGNATURE----- fixed IAM roles and code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> Fix tests Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added 2 new plugins Signed-off-by: pgodithi <pgodithi@amazon.com> Add readme doc Signed-off-by: pgodithi <pgodithi@amazon.com> Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> Bump minor version Signed-off-by: pgodithi <pgodithi@amazon.com> change docker tag to 2.332.3-lts Signed-off-by: pgodithi <pgodithi@amazon.com> added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> Added IAM required imports Signed-off-by: pgodithi <pgodithi@amazon.com> Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> Added Managed SSM Policy to Agent instance role (#117) Signed-off-by: Rishabh Singh <sngri@amazon.com> fix agentAssumeRole Signed-off-by: pgodithi <pgodithi@amazon.com> Ecr public Signed-off-by: pgodithi <pgodithi@amazon.com> Added AmazonSSMManagedInstanceCore Signed-off-by: pgodithi <pgodithi@amazon.com> Added AmazonSSMManagedInstanceCore policy to agents. (#124) * fixed IAM roles and code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> * Fix tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added 2 new plugins Signed-off-by: pgodithi <pgodithi@amazon.com> * Add readme doc Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Bump minor version Signed-off-by: pgodithi <pgodithi@amazon.com> * change docker tag to 2.332.3-lts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * Added IAM required imports Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * fix agentAssumeRole Signed-off-by: pgodithi <pgodithi@amazon.com> * Ecr public Signed-off-by: pgodithi <pgodithi@amazon.com> * Added AmazonSSMManagedInstanceCore Signed-off-by: pgodithi <pgodithi@amazon.com> Added new jenkins agents and logging bug-fix (#126) Signed-off-by: Rishabh Singh <sngri@amazon.com> Added new output parameters and updated jenkins image tag (#128) Signed-off-by: Rishabh Singh <sngri@amazon.com> use jenkins-2.332.3 jdk8 base image (#129) Signed-off-by: Rishabh Singh <sngri@amazon.com> added support for QEMU emulators (#131) Signed-off-by: Rishabh Singh <sngri@amazon.com> Add Docker restart policy (#137) * fixed IAM roles and code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> * Fix tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added 2 new plugins Signed-off-by: pgodithi <pgodithi@amazon.com> * Add readme doc Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Bump minor version Signed-off-by: pgodithi <pgodithi@amazon.com> * change docker tag to 2.332.3-lts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * Added IAM required imports Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * fix agentAssumeRole Signed-off-by: pgodithi <pgodithi@amazon.com> * Ecr public Signed-off-by: pgodithi <pgodithi@amazon.com> * Added AmazonSSMManagedInstanceCore Signed-off-by: pgodithi <pgodithi@amazon.com> * added docker-compose restart policy Signed-off-by: pgodithi <pgodithi@amazon.com> Add markup formatter as safe/html disable syntax highlighting to allow html (#138) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Set cache to false for aws secret manager plugin (#140) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add environment variables using configuration as code (#136) * Add environment variables using configuration as code Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Install workflow-api plugin to get latest version and remove lockable permissions (#141) * Install workflow-api plugin to get latest version Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> * Remove lockable permissions Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> [Bug-fix]: Handle multiple colons and space (#142) * Handle multiple colons and space Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> * Handle multiple space Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Move env variabled to yaml (#143) * Move to yaml Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> add ubuntu agent and cdn with lambda@edge resource for public access (#134) Signed-off-by: Rishabh Singh <sngri@amazon.com> Reload configuration as code via curl instead of cli (#145) * Reload configuration as code via curl instead of cli Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Main/Agent Node new setups on tag and executors (#147) * Main/Agent Node new setups on tag and executors Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Remove DCO check as it is replaced by dco app Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Remove stack in node ts as it is not used anymore Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Fix Ubuntu agent init script bug (#148) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add Ubuntu Single Host for Gradle Check (#149) * Add Ubuntu Single Host for Gradle Check Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Change default idle time to 60min Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Raise the gradle check runner to have c518xlarge as in Fork Jenkins (#150) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> New cmds reduce AL2 failure and increase gradle check to c524xlarge runner (#151) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add jdk14 as it is required by OS 1.x gradle check (#152) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Migrate perf test agent setups to public jenkins (#153) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add Mac agent support Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added max-len, eqeqeq Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added tests Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added tests Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Add Mac agent support: fix conflicts Signed-off-by: pgodithi <pgodithi@amazon.com> * Add Mac agent support: fix conflicts Signed-off-by: pgodithi <pgodithi@amazon.com> * MacOS agents: packer Signed-off-by: pgodithi <pgodithi@amazon.com> * MacOS agents: packer, fix conflicts Signed-off-by: pgodithi <pgodithi@amazon.com> * MacOS agents: packer, fix conflicts Signed-off-by: pgodithi <pgodithi@amazon.com> * MacOS agents: packer fix suggestions Signed-off-by: pgodithi <pgodithi@amazon.com> * MacOS agents: packer fix suggestions Signed-off-by: pgodithi <pgodithi@amazon.com> * MacOS agents: packer fix suggestions Signed-off-by: pgodithi <pgodithi@amazon.com> Make jenkins jdk tool match manifest jdk naming (#170) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Adding new Windows agent and organize Mac agent configurations (#169) * Adding new Windows agent and organize Mac agent configurations Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Update ami number Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Update ntp windows Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Add mac launchtimeout Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add functionality to restrict server access (#171) * Add functionality to restrict access Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Fix gradle check by removing old caches and add back docker-compose (#172) * Fix gradle check by removing old caches and add back docker-compose Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Remove JDK only in caches and show the remove msgs Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Remove removing caches Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Changed cpu and memory metric stat to avg (#173) Signed-off-by: Rishabh Singh <sngri@amazon.com> MacOS agents support default /bin/bash and remove nodeProperties in CDK code. (#175) * parent 83a6200 author pgodithi <pgodithi@amazon.com> 1651769732 -0400 committer pgodithi <pgodithi@amazon.com> 1658274990 -0400 gpgsig -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuaPMeSek3p9IWNzDMSDf0RO9/aIFAmLXRK4ACgkQMSDf0RO9 /aKKpQ/9FQ92spUtBEdt2lf4Kz6c2x7+eunr5kzzxZPB8fj28AFWBtGP/NA6a/WK BjRgtxZ4060PCDUtbcnfFy8mg8PdQa03FpofQKr6exSfDTI+TNISJAkcI2HIWzqx ehiFRDGWG577fgrnk67xxd6LxD8sO8EHWBJzZWKrYA3z7f0Q05n1q2osm/jhDYgK cEDQBHZJVi4htO2sBGJO3caqCbqt0EphxYy+uua5On4a2ZgWlBUxjqoaZ6X/LrnR 6IoN8PYVUtyrkbWkkXB+0T4PPDYP8DwnCrCsDQxQyYQ7tBqnR3hQ6nfga2d4Dry5 Dz9oqPoWZjDJNBAf+B6NAmwmyIZHn2lnVL/b8GvwGjSOixyUqaptRKVrg/PwIT+I i2CeMuGIxIG8pycC+wruSNoNqV26Vm7rFSOC4VSvOXneQUStMrAEM+LjcCDtG8bF 0837RaB4Vj37QfkXJyQl2JLTvw6TUKbZuCXqSTLF6oy4nfKN1wBPhfmgjRt146o3 VKt9iZ/q5kOEAPhEHJkHWoC/C+jaMRkVk0ZV5CoujQcIPZX2HfA88RogNZe0Ommy ayc+gLw8oBiRBeKkWuQLrLtrBYCLKrIK5qjEEj9MqLxbLSlDRXJjvZvPSUGqS2wg a8KKD0i9faPpRIuViJRqHztQBXVsv0UsYFMeeid00lJm2F4dmBk= =c8LN -----END PGP SIGNATURE----- fixed IAM roles and code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> Fix tests Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> Added 2 new plugins Signed-off-by: pgodithi <pgodithi@amazon.com> Add readme doc Signed-off-by: pgodithi <pgodithi@amazon.com> Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> Bump minor version Signed-off-by: pgodithi <pgodithi@amazon.com> change docker tag to 2.332.3-lts Signed-off-by: pgodithi <pgodithi@amazon.com> added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> Added IAM required imports Signed-off-by: pgodithi <pgodithi@amazon.com> Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> Added Managed SSM Policy to Agent instance role (#117) Signed-off-by: Rishabh Singh <sngri@amazon.com> fix agentAssumeRole Signed-off-by: pgodithi <pgodithi@amazon.com> Ecr public Signed-off-by: pgodithi <pgodithi@amazon.com> Added AmazonSSMManagedInstanceCore Signed-off-by: pgodithi <pgodithi@amazon.com> Added AmazonSSMManagedInstanceCore policy to agents. (#124) * fixed IAM roles and code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> * Fix tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added 2 new plugins Signed-off-by: pgodithi <pgodithi@amazon.com> * Add readme doc Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Bump minor version Signed-off-by: pgodithi <pgodithi@amazon.com> * change docker tag to 2.332.3-lts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * Added IAM required imports Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * fix agentAssumeRole Signed-off-by: pgodithi <pgodithi@amazon.com> * Ecr public Signed-off-by: pgodithi <pgodithi@amazon.com> * Added AmazonSSMManagedInstanceCore Signed-off-by: pgodithi <pgodithi@amazon.com> Added new jenkins agents and logging bug-fix (#126) Signed-off-by: Rishabh Singh <sngri@amazon.com> Added new output parameters and updated jenkins image tag (#128) Signed-off-by: Rishabh Singh <sngri@amazon.com> use jenkins-2.332.3 jdk8 base image (#129) Signed-off-by: Rishabh Singh <sngri@amazon.com> added support for QEMU emulators (#131) Signed-off-by: Rishabh Singh <sngri@amazon.com> Add Docker restart policy (#137) * fixed IAM roles and code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> * Fix tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added assume role feature Signed-off-by: pgodithi <pgodithi@amazon.com> * Added 2 new plugins Signed-off-by: pgodithi <pgodithi@amazon.com> * Add readme doc Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Added docker resources Signed-off-by: pgodithi <pgodithi@amazon.com> * Bump minor version Signed-off-by: pgodithi <pgodithi@amazon.com> * change docker tag to 2.332.3-lts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * added jenkinsOpts Signed-off-by: pgodithi <pgodithi@amazon.com> * Added IAM required imports Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Added agent node unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * fix agentAssumeRole Signed-off-by: pgodithi <pgodithi@amazon.com> * Ecr public Signed-off-by: pgodithi <pgodithi@amazon.com> * Added AmazonSSMManagedInstanceCore Signed-off-by: pgodithi <pgodithi@amazon.com> * added docker-compose restart policy Signed-off-by: pgodithi <pgodithi@amazon.com> Add markup formatter as safe/html disable syntax highlighting to allow html (#138) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Set cache to false for aws secret manager plugin (#140) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add environment variables using configuration as code (#136) * Add environment variables using configuration as code Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Install workflow-api plugin to get latest version and remove lockable permissions (#141) * Install workflow-api plugin to get latest version Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> * Remove lockable permissions Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> [Bug-fix]: Handle multiple colons and space (#142) * Handle multiple colons and space Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> * Handle multiple space Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Move env variabled to yaml (#143) * Move to yaml Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> add ubuntu agent and cdn with lambda@edge resource for public access (#134) Signed-off-by: Rishabh Singh <sngri@amazon.com> Reload configuration as code via curl instead of cli (#145) * Reload configuration as code via curl instead of cli Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Main/Agent Node new setups on tag and executors (#147) * Main/Agent Node new setups on tag and executors Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Remove DCO check as it is replaced by dco app Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Remove stack in node ts as it is not used anymore Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Fix Ubuntu agent init script bug (#148) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add Ubuntu Single Host for Gradle Check (#149) * Add Ubuntu Single Host for Gradle Check Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Change default idle time to 60min Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Raise the gradle check runner to have c518xlarge as in Fork Jenkins (#150) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> New cmds reduce AL2 failure and increase gradle check to c524xlarge runner (#151) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add jdk14 as it is required by OS 1.x gradle check (#152) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Migrate perf test agent setups to public jenkins (#153) Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Add Mac agent support Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added README Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added max-len, eqeqeq Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added tests Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added tests Signed-off-by: pgodithi <pgodithi@amazon.com> Add Mac agent support: Added tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Add Mac agent support: fix conflicts Signed-off-by: pgodithi <pgodithi@amazon.com> * Add Mac agent support: fix conflicts Signed-off-by: pgodithi <pgodithi@amazon.com> * MacOS agents: packer Signed-off-by: pgodithi <pgodithi@amazon.com> * MacOS agents: packer, fix conflicts Signed-off-by: pgodithi <pgodithi@amazon.com> * MacOS agents: packer, fix conflicts Signed-off-by: pgodithi <pgodithi@amazon.com> * MacOS agents: packer fix suggestions Signed-off-by: pgodithi <pgodithi@amazon.com> * MacOS agents: packer fix suggestions Signed-off-by: pgodithi <pgodithi@amazon.com> * MacOS agents: packer fix suggestions Signed-off-by: pgodithi <pgodithi@amazon.com> * Fix ci issue #174 Signed-off-by: prudhvigodithi <pgodithi@amazon.com> * Fix ci issue #174 Signed-off-by: prudhvigodithi <pgodithi@amazon.com> * Fix ci issue #174 Signed-off-by: prudhvigodithi <pgodithi@amazon.com> * Fix ci issue #174 Signed-off-by: prudhvigodithi <pgodithi@amazon.com> Added logic to deploy default jenkins agent (#176) * Changed cpu and memory metric stat to avg Signed-off-by: Rishabh Singh <sngri@amazon.com> * Added logic to default on dummy jenkins agent Signed-off-by: Rishabh Singh <sngri@amazon.com> Add ability to assume multiple roles (#178) Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> * Update docker-compose Signed-off-by: prudhvigodithi <pgodithi@amazon.com> * Update docker-compose: Fix tests Signed-off-by: prudhvigodithi <pgodithi@amazon.com> * Remove old docker-compose Signed-off-by: prudhvigodithi <pgodithi@amazon.com> * Fix tests Signed-off-by: prudhvigodithi <pgodithi@amazon.com>
Description
This PR adds support for user to decide whether to use production jenkins agent or dummy agents during stack deployment. The user will have to pass
useProdAgents
context astrue or false
to decide whether they want to use dummy agents or production agents.If the user does not pass the context then the default value will be
false
and only dummy agents will be deployed.This PR also added property
remoteFs
to agent node config.Issues Resolved
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.