mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
ci(release): build and release a nightly twice a day
- Remove other/nightly, the nightly channel uses the production files, so there are no longer two copies to keep in sync - sync-cdn.sh --nightly syncs the files of the commit the nightly is built from to /coolify/nightly on the CDN, with the nightly version in its versions.json and in /coolify/release.json, and pushes them straight to main of coollabs-cdn - version.sh picks the branch the nightly comes from, the release branch of the next version after the newest stable one or next, and names the version <preview>.<YYYYMMDD>.<N> - The image is labeled with its version and commit, the nightly workflow reads both from the image nightly points at to count up N and to skip a run without a new commit
This commit is contained in:
@@ -64,19 +64,19 @@ it('stops the upgrade before any container changes when the coolify network has
|
||||
->and($result['status'])->toStartWith('error|')
|
||||
->toContain('fd00:1::1/64')
|
||||
->toContain('systemctl restart docker');
|
||||
})->with(['scripts/upgrade.sh', 'other/nightly/upgrade.sh']);
|
||||
})->with(['scripts/upgrade.sh']);
|
||||
|
||||
it('keeps a readable coolify network', function (string $script) {
|
||||
$result = runUpgradeScriptEnsureCoolifyNetwork($script, existingGateways: '172.19.0.1 fd00:1::1 ', createdIpv6Gateway: 'unused');
|
||||
|
||||
expect($result)->toBe(['exitCode' => 0, 'calls' => [], 'status' => '']);
|
||||
})->with(['scripts/upgrade.sh', 'other/nightly/upgrade.sh']);
|
||||
})->with(['scripts/upgrade.sh']);
|
||||
|
||||
it('creates the coolify network with IPv6', function (string $script) {
|
||||
$result = runUpgradeScriptEnsureCoolifyNetwork($script, existingGateways: null, createdIpv6Gateway: 'fd00:1::1');
|
||||
|
||||
expect($result)->toBe(['exitCode' => 0, 'calls' => ['network create --attachable --ipv6 coolify'], 'status' => '']);
|
||||
})->with(['scripts/upgrade.sh', 'other/nightly/upgrade.sh']);
|
||||
})->with(['scripts/upgrade.sh']);
|
||||
|
||||
it('recreates a new coolify network without IPv6 when Docker reports its gateway with a prefix length', function (string $script) {
|
||||
$result = runUpgradeScriptEnsureCoolifyNetwork($script, existingGateways: null, createdIpv6Gateway: 'fd00:1::1/64');
|
||||
@@ -90,4 +90,4 @@ it('recreates a new coolify network without IPv6 when Docker reports its gateway
|
||||
],
|
||||
'status' => '',
|
||||
]);
|
||||
})->with(['scripts/upgrade.sh', 'other/nightly/upgrade.sh']);
|
||||
})->with(['scripts/upgrade.sh']);
|
||||
|
||||
Reference in New Issue
Block a user