mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-04 10:42:23 +00:00
- 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
15 lines
436 B
PHP
15 lines
436 B
PHP
<?php
|
|
|
|
use Symfony\Component\Yaml\Yaml;
|
|
|
|
it('allows Coolify enough time to start before counting healthcheck failures', function (string $composeFile) {
|
|
$compose = Yaml::parseFile(dirname(__DIR__, 2).'/'.$composeFile);
|
|
|
|
expect($compose['services']['coolify']['healthcheck'])
|
|
->start_period->toBe('1m')
|
|
->interval->toBe('5s')
|
|
->retries->toBe(24);
|
|
})->with([
|
|
'stable' => 'docker-compose.prod.yml',
|
|
]);
|