-
-
Notifications
You must be signed in to change notification settings - Fork 782
Fixing runner versions #4211
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
Fixing runner versions #4211
Conversation
|
That works for me. We just need to be careful if we ever publish runner packages to PyPi that we also publish st2common. I assume we plan to merge this post v2.8.0, or? |
|
I wonder if that will break the wheel build changes you made in StackStorm/st2-packages#572. I can merge it and see. If it breaks, I can revert and and we find a better approach for v2.9.0. |
|
To be on the safe side and not delay release any longer, I'm tagging this as v2.9.0. |
|
@bigmstone It looks like the build is failing. It's a chicken and the egg problem (st2common is not present), so this needs more work. If we can't get this approach to work (e.g. we encounter cyclic dependency issue) we can also go with the approach where we bump / set version in our release workflow. |
|
Looking at the build failure and package build pipeline - we can probably make it work by adding st2common as a dependency for all the runner packages or maybe by injecting st2common as a dependency into every runner package during the build, similar as we do for st2client - https://github.com/StackStorm/st2-packages/blob/306b826fde833f1ee9e730974f2953a4fde0e270/packages/st2/Makefile#L110. We just need to be careful it doesn't introduce some kind of cyclic dependency and weird issues down the road. If possible, I would prefer first approach since it's more explicit and transparent compared to injecting a dependency during build time. |
|
@bigmstone https://circleci.com/gh/StackStorm/st2/8002?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link So as I assumed, the problem is indeed a cyclic dependency and this change - StackStorm/st2-packages#572 We have st2 depending on Perhaps the best way might indeed be to simply update those versions inside the release workflows. We can probably do the same as we do for |
|
Superseded by #4239. |
Runners now get their version dynamically from
st2common's version variable.