Commit Graph

4 Commits

Author SHA1 Message Date
3cc169713e Fix test cleanup to handle missing resources gracefully
Make AfterEach cleanup blocks more robust by only attempting to delete
resources if they exist. This prevents test failures when resources have
already been deleted or don't exist.

Changes:
- Check if resource exists before attempting deletion
- Only call Delete if Get succeeds (err == nil)
- Applied to all 5 controller test files

This fixes intermittent test failures in GitHub Actions where AfterEach
was failing with resource not found errors.
2025-10-25 22:16:30 +02:00
60544f1449 Update Go module path from Gitea to GitHub
Change module path from:
  gitea.engen.priv.no/klauvsteinen/unifi-network-operator
To:
  github.com/vegardengen/unifi-network-operator

This fixes the module path mismatch error in GitHub Actions.

Changes:
- Updated go.mod module declaration
- Updated all import statements in Go files
- Updated kustomization and ko config files
- Ran go mod tidy to update dependencies

This is required for the project to build correctly on GitHub.
2025-10-25 22:10:03 +02:00
8765a94893 Rename
Some checks failed
Lint / Run on Ubuntu (push) Failing after 7s
E2E Tests / Run on Ubuntu (push) Failing after 3s
Tests / Run on Ubuntu (push) Failing after 3s
2025-06-24 00:12:16 +02:00
c681a0c987 Tracking only Firewall Zone API done 2025-04-14 10:38:29 +02:00