Skip to content
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

Fix the save/load cluster configuration on disk and in memory #233

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

durandx
Copy link

@durandx durandx commented Dec 8, 2021

Tekton Cluster configuration is not persisted on disk (save/load) and is
lost at next reboot. Moreover, configuration update are not properly
stored in memory, preventing users to access to new configuration added
(other than the default one).

Remove the transient attribute to the config list (clusterConfigs) preventing to be saved/loaded by XStream toXml.
Add an explicit call to configChange in order to update the in memory configuration in TektonUtils

Fixes #106

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

Tekton Cluster configuration is not persisted on disk (save/load) and is
lost at next reboot. Moreover, configuration update are not properly
sotred in memory, preventing users to access to new configuration added
(other than the default one).

Fixes jenkinsci#106
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.

Only default cluster config loads in Build Step config
1 participant