test: dns unit test & ensure catalogue present #360
Reference in New Issue
Block a user
No description provided.
Delete Branch "domain-checks-improved"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
See coop-cloud/organising#495. RE: what was mentioned in coop-cloud/organising#495 (comment), I can't implement a linting rule because we want to do a comparison with the app config and not just on the recipe config. The linting only focuses on the recipe config atm. Hopefully the improved error messages & new check to match app domain root / server domain root help here.See coop-cloud/abra#360 (comment)@cas @3wordchant
decentral1se referenced this pull request from toolshed/organising2023-09-29 11:28:04 +00:00
c6e2fd99efto9d437f935e9d437f935etocb467c1f91@decentral1se not sure i fully understand the changes, so apologies if this is barking up the wrong tree... but what about an app with the domain
foo.comhosted onswarm.bar.com? Shouldn't that still be supported?if i'm reading it right, for the current example of
docs.coopcloud.techbeing hosted onswarm.autonomic.zone(didn't get to that part of the migration yet 😬),domainRoot=coopcloud.tech,serverRoot=autonomic.zone, so we'll see"root of app domain (coopcloud.tech) does not match root of server domain (autonomic.zone)?"?@3wordchant tysm for reviewing! I'm pretty happy to see that the tests are a nice way to grok the changes ☺️ Yeh, you're right, this change is broken. Looking at the code again, I guess the existing check in
906bf65d47/pkg/dns/dns.go (L44-L47)is what we want. So, I will drop the new changes and try keep the tests.cb467c1f91tof18f0b6f82fix: ensure app domain root matches server domain rootto test: dns unit test & ensure catalogue present