Restore pxc Jenkins plugin baseline lost in CFN to TF migration#245
Open
nogueiraanderson wants to merge 1 commit into
Open
Restore pxc Jenkins plugin baseline lost in CFN to TF migration#245nogueiraanderson wants to merge 1 commit into
nogueiraanderson wants to merge 1 commit into
Conversation
…n CFN->TF migration - Add resources/jenkins-masters/pxc/init.groovy.d/plugins.groovy (mirrors psmdb's) so the module uploads it to pxc's init-config bucket and the master fetches it at boot and via the init_groovy_sync SSM association. - Reconcile the plugin list against the live master: replace the retired warnings plugin with warnings-ng. - Self-heals a fresh-EBS rebuild. No-op in steady state (plugins already installed).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bug
init.groovy.d/plugins.groovybaseline that reinstalls pxc's plugin set on a fresh home. The CFN to TF migration carried this over for psmdb but not pxc, so a fresh-EBS rebuild of pxc comes up without it.Fix
resources/jenkins-masters/pxc/init.groovy.d/plugins.groovy(mirrors psmdb), so the module uploads it to pxc's init-config bucket and the master fetches it at boot and on the SSM sync.warningsplugin is replaced bywarnings-ng. All entries are already installed, so the hook is a no-op in steady state.Notes
aws_instanceignoresuser_data, so apply only adds the S3 object and bumps the launch template. Live pxc receives the file via theinit_groovy_syncSSM association. A fresh-EBS rebuild fetches it at boot.Related