Branch: refs/heads/master Home: https://github.com/jenkinsci/ec2-plugin
Commit: 762c1c2d036d1bd39b3e9bade47fcee4934d67d6 https://github.com/jenkinsci/ec2-plugin/commit/762c1c2d036d1bd39b3e9bade47fcee4934d67d6 Author: Dan Nicholson <d...@endlessos.org> Date: 2020-11-12 (Thu, 12 Nov 2020) Changed paths: M src/main/java/hudson/plugins/ec2/SlaveTemplate.java Log Message: ----------- Use description instead of AMI in template string In order to make the image ID determined by properties, it can no longer be a static string. In that case, including it in the class representation would require that it be queried or supplied by the caller. The AMI can be seen in the logs at other times, so just use the description instead. Commit: c078ce926932a638081791993505e63c0a733aa7 https://github.com/jenkinsci/ec2-plugin/commit/c078ce926932a638081791993505e63c0a733aa7 Author: Dan Nicholson <d...@endlessos.org> Date: 2020-11-18 (Wed, 18 Nov 2020) Changed paths: M src/main/java/hudson/plugins/ec2/SlaveTemplate.java Log Message: ----------- Minimize image querying during provisioning Pass the resolved image throughout the provisioning steps rather then querying AWS repeatedly. This has 2 benefits: * Speed up the process by redundant removing round trips to AWS * If the image ID comes from a filtered query rather than being static, it ensures that all of the provisioning steps are operating on the same image. Commit: a450ef5d10f14757214adbbdc4010ec4f5e1df17 https://github.com/jenkinsci/ec2-plugin/commit/a450ef5d10f14757214adbbdc4010ec4f5e1df17 Author: Dan Nicholson <d...@endlessos.org> Date: 2020-11-18 (Wed, 18 Nov 2020) Changed paths: A src/main/java/hudson/plugins/ec2/EC2Filter.java A src/main/resources/hudson/plugins/ec2/EC2Filter/config.jelly A src/test/java/hudson/plugins/ec2/EC2FilterTest.java Log Message: ----------- Add describable class for AWS Filter In order to make the AWS Filter class available in configurations, add a wrapper EC2Filter class that implements Descriptor. Ideally the values member would be `List<String>`, but currently jenkins doesn't have a usable way to offer those in forms. Instead the values are interpreted as a whitespace separated list. Commit: 759e1fd10fe8ad9881d699fca198b081c8faed74 https://github.com/jenkinsci/ec2-plugin/commit/759e1fd10fe8ad9881d699fca198b081c8faed74 Author: Dan Nicholson <d...@endlessos.org> Date: 2020-11-18 (Wed, 18 Nov 2020) Changed paths: M src/main/java/hudson/plugins/ec2/SlaveTemplate.java M src/main/resources/hudson/plugins/ec2/SlaveTemplate/config.jelly A src/main/resources/hudson/plugins/ec2/SlaveTemplate/help-ami.html A src/main/resources/hudson/plugins/ec2/SlaveTemplate/help-amiFilters.html A src/main/resources/hudson/plugins/ec2/SlaveTemplate/help-amiOwners.html A src/main/resources/hudson/plugins/ec2/SlaveTemplate/help-amiUsers.html M src/test/java/hudson/plugins/ec2/ConfigurationAsCodeTest.java M src/test/java/hudson/plugins/ec2/SlaveTemplateUnitTest.java A src/test/resources/hudson/plugins/ec2/Ami.yml Log Message: ----------- [JENKINS-59180] Allow AMI filtering instead of AMI ID Currently whenever the image is updated the template configuration must also be updated. Rather than requiring the AMI ID to be specified, allow providing filters that can be passed to `describeImages` so that the latest image matching some attributes can be used. Commit: 30ca96f5f897526aaa6f3213f0a9c70e3e2b9349 https://github.com/jenkinsci/ec2-plugin/commit/30ca96f5f897526aaa6f3213f0a9c70e3e2b9349 Author: Francisco Robles Martín <franroble...@gmail.com> Date: 2020-11-20 (Fri, 20 Nov 2020) Changed paths: A src/main/java/hudson/plugins/ec2/EC2Filter.java M src/main/java/hudson/plugins/ec2/SlaveTemplate.java A src/main/resources/hudson/plugins/ec2/EC2Filter/config.jelly M src/main/resources/hudson/plugins/ec2/SlaveTemplate/config.jelly A src/main/resources/hudson/plugins/ec2/SlaveTemplate/help-ami.html A src/main/resources/hudson/plugins/ec2/SlaveTemplate/help-amiFilters.html A src/main/resources/hudson/plugins/ec2/SlaveTemplate/help-amiOwners.html A src/main/resources/hudson/plugins/ec2/SlaveTemplate/help-amiUsers.html M src/test/java/hudson/plugins/ec2/ConfigurationAsCodeTest.java A src/test/java/hudson/plugins/ec2/EC2FilterTest.java M src/test/java/hudson/plugins/ec2/SlaveTemplateUnitTest.java A src/test/resources/hudson/plugins/ec2/Ami.yml Log Message: ----------- Merge pull request #533 from dbnicholson/ami-filter [JENKINS-59180] Allow AMI filtering instead of AMI ID Compare: https://github.com/jenkinsci/ec2-plugin/compare/7c4283ded2b5...30ca96f5f897 -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/ec2-plugin/push/refs/heads/master/7c4283-30ca96%40github.com.