mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-19 20:14:59 +00:00
feat(ui): Shadow UI redesign, domain management, and DNS autoconfigure (#11119)
Co-authored-by: ShadowArcanist <162910371+ShadowArcanist@users.noreply.github.com>
This commit is contained in:
1 parent
0b843bb07c
commit
8ae56587d5
497 files changed
+44045
-22630
No files matched your search
@@ -65,6 +65,21 @@ it('versions.json contains traefik branches with patch versions', function () {
|
||||
expect($branch)->toMatch('/^v\d+\.\d+$/'); // e.g., "v3.6"
|
||||
expect($version)->toMatch('/^\d+\.\d+\.\d+$/'); // e.g., "3.6.0"
|
||||
}
|
||||
|
||||
// Track current supported branches so the checker can surface security patches
|
||||
// (see https://github.com/coollabsio/coolify/issues/11025)
|
||||
expect($traefikVersions)->toHaveKeys(['v3.7', 'v3.6', 'v2.11']);
|
||||
expect(version_compare($traefikVersions['v3.7'], '3.7.8', '>='))->toBeTrue();
|
||||
expect(version_compare($traefikVersions['v3.6'], '3.6.23', '>='))->toBeTrue();
|
||||
expect(version_compare($traefikVersions['v2.11'], '2.11.52', '>='))->toBeTrue();
|
||||
|
||||
// Newest tracked branch should sort as the highest major.minor
|
||||
$newestBranch = collect($traefikVersions)
|
||||
->keys()
|
||||
->map(fn (string $branch) => ltrim($branch, 'v'))
|
||||
->sort(SORT_NATURAL)
|
||||
->last();
|
||||
expect($newestBranch)->toBe('3.7');
|
||||
});
|
||||
|
||||
it('formats version with v prefix for display', function () {
|
||||
|
||||
Reference in new issue
Block a user