-
Notifications
You must be signed in to change notification settings - Fork 27
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
New CI #72
New CI #72
Conversation
this is now ready for review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stefanotorresi I have not checked deeply, but it looks fine.
Some personal thoughts:
-
The travis badge in the README should be replaced by a github one (if it exists)
-
Now it looks like the
changes
file is updated from the github release, but we still have thechanges
file in the source code. How is this working? Maybe we could describe this in the README. Personally, I'm not a big fan of this process (update changes fro GH), but let's see how it goes -
How is the python matrix working? I see that you define the python versions in the tox file and in the github workflow file.
-
I see that almost all the
osc
operations are done in the make file. The container for the CI was created exactly for that, to not duplicate the code in every project we have. If the commands go here it doesn't have sense to use the container anymore. I would use one or the other approach, but the combination of both looks strange. -
Now the CI looks much more complicated than before, essentially because more files are involved. I guess that these files won't be changed at all, so it should be fine
Thanks for the feedback, Xabi!
Done! For the time being, I didn't replace the codeclimate one, though. I will explore this in the future for all the exporters.
This was actually a mistake on my part: I have removed the changes file now, because it is managed automatically. This only applies to the exporter, mind you. I have left the README mostly un-touched here, but I have another PR coming up that overhauls it entirely, because some instructions are outdated.
The two are not strictly related. We run the
The container is still needed to provide an environment with
Heh, that's the trade-off for using the same repo for two packages, but I think it's worth it. Making related changes to both the exporter and the dashboards is a much smoother process now, e.g. see ClusterLabs/ha_cluster_exporter#167. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for clarifying everything @stefanotorresi
I think we are ready to go!
Sister PR of ClusterLabs/ha_cluster_exporter#163, most of the code was copy-pasted from there.