test: dns unit test & ensure catalogue present #360
No reviewers
Labels
No Label
bug
build
ci/cd
contributing
design
documentation
duplicate
enhancement
help wanted
invalid
meta
question
security
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/abra#360
Loading…
Reference in New Issue
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 #360 (comment)@cas @3wordchant
decentral1se referenced this pull request from coop-cloud/organising2023-09-29 11:28:04 +00:00
c6e2fd99ef
to9d437f935e
9d437f935e
tocb467c1f91
@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.com
hosted onswarm.bar.com
? Shouldn't that still be supported?if i'm reading it right, for the current example of
docs.coopcloud.tech
being 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.cb467c1f91
tof18f0b6f82
fix: ensure app domain root matches server domain rootto test: dns unit test & ensure catalogue present