Tutor 15 (V15.3.0) Support.#35
Conversation
MoisesGSalas
left a comment
There was a problem hiding this comment.
@Jacatove, in addition to the tutor base templates, we also take templates from certain plugins (In our case MinIO and forum).
These can be found in the drydock-jobs/ directory, the idea is to have the definition of the full job as a yaml instead of relying on the tutor cli to generate these jobs for us.
Can you also update these jobs? What we usually do is take the skeleton found in the k8s-jobs patch and add the command from the init task. In that forum example seems like the job added a new env variables so you would need to add them to the drydock-jobs/forum.yaml job, the init task seems to be the same.
I also noticed an error while rendering:
⚠️ Failed to enable plugin 'drydock': module 'tutor.hooks' has no attribute 'filters'
Seems like you would need to do a change here:
-hooks.filters.add_items(
- "cli:commands",
- [
- drydock_command,
- ],
-)
+hooks.Filters.CLI_COMMANDS.add_item(drydock_command)|
@MoisesGSalas Thanks for letting me know how to do it. I have pushed changes regarding the tutor-forum plugin, the other one remains the same, no action needed. About the error, I wonder the context under you are getting that error so I can reproduce it?. I don't see anything when running |
81f89dd to
6022a89
Compare
- update forum job according to the k8s-jobs patch from tutor-forum. - use simplified hooks API introduced in tutor V15.3.0. - fix getting incompatible yaml files. - use DRYDOCK_CMS_SSO_USER variable instead of hard coded value.
6022a89 to
6ee163e
Compare
Description
Support tutor 15 (V15.3.0).
What has changed from Tutor14?
The changes are highlighted in this commit.
Testing Instructions.
Using tutor V15.3.0 install used plugins (tutor-notes, tutor-forum, tutor-minio) and create the manifest files.
tutor drydock save -r drydock/drydock/references/tutor_v15.yml