Skip to content

Pdk27 patch 2#28

Open
pdk27 wants to merge 221 commits into
awslabs:masterfrom
jenkinsci:pdk27-patch-2
Open

Pdk27 patch 2#28
pdk27 wants to merge 221 commits into
awslabs:masterfrom
jenkinsci:pdk27-patch-2

Conversation

@pdk27

@pdk27 pdk27 commented Sep 21, 2023

Copy link
Copy Markdown

Adding the "Publish changelogs to GitHub Release" workflow per https://www.jenkins.io/doc/developer/plugin-development/plugin-release-tips/

terma and others added 30 commits October 8, 2019 20:59
* Tag EC2 instances used by plugin
… Spot Fleet) (#146)

Multi capacity support (support of AutoScalingGroup additional to EC2 Spot Fleet)
* Handle EC2 Spot Fleet Modifying state and fix fleet widget
Label based configuration
pdk27 and others added 30 commits May 26, 2023 12:02
* Add clarity to logs

* Adding help text for minSpareSize
* [Fix] Fix computation of excess workload and available capacity

#322

#359

* Update src/main/java/com/amazon/jenkins/ec2fleet/NoDelayProvisionStrategy.java

Co-authored-by: Jerad C <jeradc@amazon.com>

---------

Co-authored-by: Jerad C <jeradc@amazon.com>
…und terminations triggered by plugin (#375)

* rename EC2TerminationCause to EC2ExecutorInterruptionCause for clarity

* -add and track EC2AgentTerminationReason when plugin triggers termination
-rename force to overrideOtherSettings in scheduleToTerminate for clarity

#363

* [fix] remove unnecessary decrement which could lead to -1 (has special meaning)

[fix] remove misleading log and redundant set

#363

* update and add tests

* rename overrideOtherSettings to ignoreMinConstraints
* [fix] Terminate scheduled instances ONLY IF idle

#363

* [fix] leave maxTotalUses alone and track remainingUses correctly

add a flag to track termination of agents by plugin

* [fix] Fix lost state (instanceIdsToTerminate) on configuration change

[fix] Fix maxtotaluses decrement logic

add logs in post job action to expose tasks terminated with problems

#322

add and fix tests

* add integration tests for configuration change leading to lost state and rebuilding lost state to terminate instances previously marked for termination
* [refactor] Added class comments for Jenkins extension points

[refactor] Use Computer subtype in EC2RetentionStrategy

* [refactor] Moving AWS files into their own package
* handling issues 347,364

* updating default for fleet items and adding specific error message when default is selected

* updating error message for checkFleet

* removing checkMethod info from fleet select entry

---------

Co-authored-by: Prathibha Datta Kumar <kprathib@amazon.com>
* handling issue 329

* updating additonal slave terminology
* Removing a recently added integ test (need some refactoring to make it work)

* Added a warning to cloud name description to prevent users from modifying it

* Deleting files related to cloud instance tracking and reassignments

* [fix] Remove references of oldId and EC2FleetCloudAware class, remove tracking of cloud instance

[refactor] Added instanceId to FleetNode for clarity, added getDescriptor to return sub type

[refactor] Dont provision if Jenkins is quieting down and terminating

Fix #360
Fix #322
#392)

* adding cloud name validation to maintain uniqueness

#382

Co-authored-by: naraharip2017

* add dynamic default for cloud name

#382

* make name nonnull and add JCasC test

* fix tests

* PR feedback changes
* making parameterized builds use last failed build on rescheduling of failed jobs

* adding unit test
…oud tracking (#401)

* making exisitng duplicate cloud name editable

* addressing pr comments and making corresponding changes for fleet label cloud

* Update src/main/java/com/amazon/jenkins/ec2fleet/EC2FleetCloud.java

Co-authored-by: Prathibha Datta Kumar <kprathib@amazon.com>

* Update src/main/java/com/amazon/jenkins/ec2fleet/EC2FleetLabelCloud.java

Co-authored-by: Prathibha Datta Kumar <kprathib@amazon.com>

* Update src/main/resources/com/amazon/jenkins/ec2fleet/EC2FleetCloud/config.jelly

Co-authored-by: Prathibha Datta Kumar <kprathib@amazon.com>

* Update src/main/resources/com/amazon/jenkins/ec2fleet/EC2FleetLabelCloud/config.jelly

Co-authored-by: Prathibha Datta Kumar <kprathib@amazon.com>

---------

Co-authored-by: Prathibha Datta Kumar <kprathib@amazon.com>
…#402)

* changed suffix generation for CloudNames and handle empty string for CasC

* fixed CloudNames unit tests to follow new functionality

* added configuration-as-code tests for empty name
…ges (#404)

* Adding missing config, warning for Spot Fleet usage, other minor changes

* PR feedback

* Fixing Groovy example
* move non-required values into databound setters and create validations

* create default value constants for primitives of FleetClouds and clean up getters

* create new constructors with CasC best practices

* fix CasC unit tests

* update casc docs to reflect new defaults, add unlisted fields to examples, and include EC2FleetLabelCloud examples

* change default minSize to 0 in jelly for consistency
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.