-
Notifications
You must be signed in to change notification settings - Fork 235
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
Provide a github action that will take care of updating plugins #803
Comments
@brokenpip3 hey are you working on this or i can go for this? please let me know |
Hi @PrathamAditya not a the moment, if you want to take a stab go ahead! |
To create a GitHub action that updates plugins, you could try to create a new file called update-plugins.yml inside the .github/workflows directory.
This code builds a GitHub action with a job called update-plugins that is triggered on a push event to the master branch. The job has three steps:
The update-plugins job uses a matrix to run the chartsync update-values command for two different values_path values, prod/jenkins/values and dev/jenkins/values. To use this action, you can add the following code to your workflow file:
Replace the name of your repository, and the branch you want to use, respectively. The value_type option specifies the type of values file, either plain or flux/argo. With the above code, the GitHub action will run when you push to the master branch and update the plugins in the prod/jenkins/values file if there are any new plugin versions available. The GitHub action will create a pull request with the updated values file if it successfully updates the values. I hope that helps! Let me know if you have any other questions or concerns. |
Can I work on this? |
@markyjackson-taulia the plan looks good but
@sonali-rajput I don't know if the others that commented in the issue are already working actively on this, @markyjackson-taulia @PrathamAditya are you working on this issue perhaps? or @sonali-rajput can start to work on it? |
I am not working on this. I was giving more of a generalist take on this in my comments and yes, none of this exists, it was more a talking point and, again, a generalist-type suggestion based on my previous experience. Was just trying to help. |
Originally posted by @lemeurherve in #797 (comment)
The actions should:
Will lives here in the repo and will be called like this:
The text was updated successfully, but these errors were encountered: