feat(core): You can validate compose files with docker compose config

fix(core): labels are now accepted with both compose styles
refactor: remove lots of ray's
This commit is contained in:
Andras Bacsai committed 2025-02-27 11:29:04 +01:00
1 parent 359806472b
commit 27e4882d57
29 files changed
+137 -162

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ class LoginTest extends DuskTestCase
*
* @throws Throwable
*/
public function testLogin()
public function test_login()
{
$this->browse(callback: function (Browser $browser) {
$browser->loginWithRootUser()
+1 -1
View File
@@ -16,7 +16,7 @@ class ProjectAddNewTest extends DuskTestCase
*
* @throws Throwable
*/
public function testLogin()
public function test_login()
{
$this->browse(function (Browser $browser) {
$browser->loginWithRootUser()
+1 -1
View File
@@ -16,7 +16,7 @@ class ProjectSearchTest extends DuskTestCase
*
* @throws Throwable
*/
public function testLogin()
public function test_login()
{
$this->browse(function (Browser $browser) {
$browser->loginWithRootUser()
+1 -1
View File
@@ -16,7 +16,7 @@ class ProjectTest extends DuskTestCase
*
* @throws Throwable
*/
public function testLogin()
public function test_login()
{
$this->browse(function (Browser $browser) {
$browser->loginWithRootUser()
+4 -4
View File
@@ -358,7 +358,7 @@ use Symfony\Component\Yaml\Yaml;
// expect($output)->toContain('Docker version');
// });
// test('ConvertComposeEnvironmentToArray', function () {
// test('convertToKeyValueCollection', function () {
// ray()->clearAll();
// $yaml = '
// services:
@@ -374,9 +374,9 @@ use Symfony\Component\Yaml\Yaml;
// - POSTGRES_DB: activepieces
// ';
// $parsedYaml = Yaml::parse($yaml);
// $output = convertComposeEnvironmentToArray($parsedYaml['services']['activepieces']['environment']);
// $output2 = convertComposeEnvironmentToArray($parsedYaml['services']['activepieces2']['environment']);
// $dboutput = convertComposeEnvironmentToArray($parsedYaml['services']['postgres']['environment']);
// $output = convertToKeyValueCollection($parsedYaml['services']['activepieces']['environment']);
// $output2 = convertToKeyValueCollection($parsedYaml['services']['activepieces2']['environment']);
// $dboutput = convertToKeyValueCollection($parsedYaml['services']['postgres']['environment']);
// ray($output);
// ray($output2);
// ray($dboutput);
+1
View File
@@ -1,4 +1,5 @@
<?php
/*
|--------------------------------------------------------------------------
| Test Case