-
Notifications
You must be signed in to change notification settings - Fork 19
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 storage backend ID for TypeInstance from nested workflow #706
Conversation
I saw you branch with manifests changes, unfortunately it doesn't cover the whole story. Here is a valid fix to our manifests: https://github.com/capactio/hub-manifests/compare/main...mszostok:test-706?expand=1 I tested that with your change, and unfortunately I got such error:
Please let me know if you need more info about my setup. |
Good point 👍 We don't need the alias for these manifests as we don't use it in the main workflow. I updated my fork. The above error was caused by:
In the rendering we are checking if we have:
based on which we are searching implementation and rules but for the looking of the backends, we passed always the ,,root" implementation which does not work for nested workflows. Thus, when you removed the aliases from the Mattermost manifests, it couldn't resolve the backend. Anyway, I verified it one more time installing Postgres and then the Mattermost, and it works. |
@@ -0,0 +1,165 @@ | |||
--- |
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.
I took the newest manifests and add a v2
prefix. I created issue to mitigate/track this problem.
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.
I tested single psql and mattermost + psql. Both work as expected. Good job 🚀
Please submit a PR with manifest fixes too.
Description
Changes proposed in this pull request:
There was incorrect backend mapping - we find it by the name of output Type Instance relation which is ok where there is no nested workflow. In the nested workflow, we need to find it by the name of the artifact.
Testing
DISABLE_MONITORING_INSTALLATION=true USE_TEST_SETUP=true make dev-cluster
Related issue(s)