|
|
|
@ -5,9 +5,7 @@
|
|
|
|
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.IO;
|
|
|
|
|
using Microsoft.Oryx.BuildImage.Tests;
|
|
|
|
|
using Microsoft.Oryx.BuildScriptGenerator.Common;
|
|
|
|
|
using Microsoft.Oryx.BuildScriptGenerator.Node;
|
|
|
|
|
using Microsoft.Oryx.BuildScriptGenerator.Php;
|
|
|
|
|
using Microsoft.Oryx.Tests.Common;
|
|
|
|
|
using Xunit;
|
|
|
|
@ -25,21 +23,32 @@ namespace Microsoft.Oryx.BuildImage.Tests
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
// test default php-composer version
|
|
|
|
|
// Test default PHP composer version
|
|
|
|
|
var data = new TheoryData<string, string, string>();
|
|
|
|
|
data.Add(
|
|
|
|
|
PhpVersions.Php73Version,
|
|
|
|
|
ImageTestHelper.WithRestrictedPermissions().GetGitHubActionsBuildImage(),
|
|
|
|
|
PhpVersions.ComposerVersion
|
|
|
|
|
PhpVersions.ComposerDefaultVersion
|
|
|
|
|
);
|
|
|
|
|
var imageHelper = new ImageTestHelper();
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetGitHubActionsBuildImage(), PhpVersions.ComposerVersion);
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetGitHubActionsBuildImage(ImageTestHelperConstants.GitHubActionsBullseye), PhpVersions.ComposerVersion);
|
|
|
|
|
data.Add(PhpVersions.Php80Version, imageHelper.GetGitHubActionsBuildImage(ImageTestHelperConstants.GitHubActionsBuster), PhpVersions.ComposerVersion);
|
|
|
|
|
data.Add(PhpVersions.Php81Version, imageHelper.GetGitHubActionsBuildImage(ImageTestHelperConstants.GitHubActionsBuster), PhpVersions.ComposerVersion);
|
|
|
|
|
data.Add(PhpVersions.Php82Version, imageHelper.GetGitHubActionsBuildImage(ImageTestHelperConstants.GitHubActionsBuster), PhpVersions.ComposerVersion);
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetGitHubActionsBuildImage(), PhpVersions.ComposerDefaultVersion);
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetGitHubActionsBuildImage(ImageTestHelperConstants.GitHubActionsBullseye), PhpVersions.ComposerDefaultVersion);
|
|
|
|
|
data.Add(PhpVersions.Php80Version, imageHelper.GetGitHubActionsBuildImage(ImageTestHelperConstants.GitHubActionsBuster), PhpVersions.ComposerDefaultVersion);
|
|
|
|
|
data.Add(PhpVersions.Php81Version, imageHelper.GetGitHubActionsBuildImage(ImageTestHelperConstants.GitHubActionsBuster), PhpVersions.ComposerDefaultVersion);
|
|
|
|
|
data.Add(PhpVersions.Php82Version, imageHelper.GetGitHubActionsBuildImage(ImageTestHelperConstants.GitHubActionsBuster), PhpVersions.ComposerDefaultVersion);
|
|
|
|
|
|
|
|
|
|
// test latest php-composer version
|
|
|
|
|
// Test PHP composer version 2.2.x
|
|
|
|
|
data.Add(
|
|
|
|
|
PhpVersions.Php73Version,
|
|
|
|
|
ImageTestHelper.WithRestrictedPermissions().GetGitHubActionsBuildImage(),
|
|
|
|
|
PhpVersions.Composer22Version
|
|
|
|
|
);
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetGitHubActionsBuildImage(), PhpVersions.Composer22Version);
|
|
|
|
|
data.Add(PhpVersions.Php80Version, imageHelper.GetGitHubActionsBuildImage(ImageTestHelperConstants.GitHubActionsBuster), PhpVersions.Composer22Version);
|
|
|
|
|
data.Add(PhpVersions.Php81Version, imageHelper.GetGitHubActionsBuildImage(ImageTestHelperConstants.GitHubActionsBuster), PhpVersions.Composer22Version);
|
|
|
|
|
data.Add(PhpVersions.Php82Version, imageHelper.GetGitHubActionsBuildImage(ImageTestHelperConstants.GitHubActionsBuster), PhpVersions.Composer22Version);
|
|
|
|
|
|
|
|
|
|
// Test PHP composer version 2.3.x
|
|
|
|
|
data.Add(
|
|
|
|
|
PhpVersions.Php73Version,
|
|
|
|
|
ImageTestHelper.WithRestrictedPermissions().GetGitHubActionsBuildImage(),
|
|
|
|
@ -49,6 +58,39 @@ namespace Microsoft.Oryx.BuildImage.Tests
|
|
|
|
|
data.Add(PhpVersions.Php80Version, imageHelper.GetGitHubActionsBuildImage(ImageTestHelperConstants.GitHubActionsBuster), PhpVersions.Composer23Version);
|
|
|
|
|
data.Add(PhpVersions.Php81Version, imageHelper.GetGitHubActionsBuildImage(ImageTestHelperConstants.GitHubActionsBuster), PhpVersions.Composer23Version);
|
|
|
|
|
data.Add(PhpVersions.Php82Version, imageHelper.GetGitHubActionsBuildImage(ImageTestHelperConstants.GitHubActionsBuster), PhpVersions.Composer23Version);
|
|
|
|
|
|
|
|
|
|
// Test PHP composer version 2.4.x
|
|
|
|
|
data.Add(
|
|
|
|
|
PhpVersions.Php73Version,
|
|
|
|
|
ImageTestHelper.WithRestrictedPermissions().GetGitHubActionsBuildImage(),
|
|
|
|
|
PhpVersions.Composer24Version
|
|
|
|
|
);
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetGitHubActionsBuildImage(), PhpVersions.Composer24Version);
|
|
|
|
|
data.Add(PhpVersions.Php80Version, imageHelper.GetGitHubActionsBuildImage(ImageTestHelperConstants.GitHubActionsBuster), PhpVersions.Composer24Version);
|
|
|
|
|
data.Add(PhpVersions.Php81Version, imageHelper.GetGitHubActionsBuildImage(ImageTestHelperConstants.GitHubActionsBuster), PhpVersions.Composer24Version);
|
|
|
|
|
data.Add(PhpVersions.Php82Version, imageHelper.GetGitHubActionsBuildImage(ImageTestHelperConstants.GitHubActionsBuster), PhpVersions.Composer24Version);
|
|
|
|
|
|
|
|
|
|
// Test PHP composer version 2.5.x
|
|
|
|
|
data.Add(
|
|
|
|
|
PhpVersions.Php73Version,
|
|
|
|
|
ImageTestHelper.WithRestrictedPermissions().GetGitHubActionsBuildImage(),
|
|
|
|
|
PhpVersions.Composer25Version
|
|
|
|
|
);
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetGitHubActionsBuildImage(), PhpVersions.Composer25Version);
|
|
|
|
|
data.Add(PhpVersions.Php80Version, imageHelper.GetGitHubActionsBuildImage(ImageTestHelperConstants.GitHubActionsBuster), PhpVersions.Composer25Version);
|
|
|
|
|
data.Add(PhpVersions.Php81Version, imageHelper.GetGitHubActionsBuildImage(ImageTestHelperConstants.GitHubActionsBuster), PhpVersions.Composer25Version);
|
|
|
|
|
data.Add(PhpVersions.Php82Version, imageHelper.GetGitHubActionsBuildImage(ImageTestHelperConstants.GitHubActionsBuster), PhpVersions.Composer25Version);
|
|
|
|
|
|
|
|
|
|
// Test PHP composer version 2.6.x
|
|
|
|
|
data.Add(
|
|
|
|
|
PhpVersions.Php73Version,
|
|
|
|
|
ImageTestHelper.WithRestrictedPermissions().GetGitHubActionsBuildImage(),
|
|
|
|
|
PhpVersions.Composer26Version
|
|
|
|
|
);
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetGitHubActionsBuildImage(), PhpVersions.Composer26Version);
|
|
|
|
|
data.Add(PhpVersions.Php80Version, imageHelper.GetGitHubActionsBuildImage(ImageTestHelperConstants.GitHubActionsBuster), PhpVersions.Composer26Version);
|
|
|
|
|
data.Add(PhpVersions.Php81Version, imageHelper.GetGitHubActionsBuildImage(ImageTestHelperConstants.GitHubActionsBuster), PhpVersions.Composer26Version);
|
|
|
|
|
data.Add(PhpVersions.Php82Version, imageHelper.GetGitHubActionsBuildImage(ImageTestHelperConstants.GitHubActionsBuster), PhpVersions.Composer26Version);
|
|
|
|
|
return data;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -59,12 +101,30 @@ namespace Microsoft.Oryx.BuildImage.Tests
|
|
|
|
|
{
|
|
|
|
|
var data = new TheoryData<string, string, string>();
|
|
|
|
|
var imageHelper = new ImageTestHelper();
|
|
|
|
|
data.Add(PhpVersions.Php73Version, imageHelper.GetCliImage(),PhpVersions.ComposerVersion);
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetCliImage(), PhpVersions.ComposerVersion);
|
|
|
|
|
|
|
|
|
|
// test latest php-composer version
|
|
|
|
|
// Test default PHP composer version
|
|
|
|
|
data.Add(PhpVersions.Php73Version, imageHelper.GetCliImage(),PhpVersions.ComposerDefaultVersion);
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetCliImage(), PhpVersions.ComposerDefaultVersion);
|
|
|
|
|
|
|
|
|
|
// Test PHP composer version 2.2.x
|
|
|
|
|
data.Add(PhpVersions.Php73Version, imageHelper.GetCliImage(), PhpVersions.Composer22Version);
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetCliImage(), PhpVersions.Composer22Version);
|
|
|
|
|
|
|
|
|
|
// Test PHP composer version 2.3.x
|
|
|
|
|
data.Add(PhpVersions.Php73Version, imageHelper.GetCliImage(), PhpVersions.Composer23Version);
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetCliImage(), PhpVersions.Composer23Version);
|
|
|
|
|
|
|
|
|
|
// Test PHP composer version 2.4.x
|
|
|
|
|
data.Add(PhpVersions.Php73Version, imageHelper.GetCliImage(), PhpVersions.Composer24Version);
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetCliImage(), PhpVersions.Composer24Version);
|
|
|
|
|
|
|
|
|
|
// Test PHP composer version 2.5.x
|
|
|
|
|
data.Add(PhpVersions.Php73Version, imageHelper.GetCliImage(), PhpVersions.Composer25Version);
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetCliImage(), PhpVersions.Composer25Version);
|
|
|
|
|
|
|
|
|
|
// Test PHP composer version 2.6.x
|
|
|
|
|
data.Add(PhpVersions.Php73Version, imageHelper.GetCliImage(), PhpVersions.Composer26Version);
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetCliImage(), PhpVersions.Composer26Version);
|
|
|
|
|
return data;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -75,12 +135,14 @@ namespace Microsoft.Oryx.BuildImage.Tests
|
|
|
|
|
{
|
|
|
|
|
var data = new TheoryData<string, string, string>();
|
|
|
|
|
var imageHelper = new ImageTestHelper();
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBusterTag), PhpVersions.ComposerVersion);
|
|
|
|
|
data.Add(PhpVersions.Php80Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBusterTag), PhpVersions.ComposerVersion);
|
|
|
|
|
data.Add(PhpVersions.Php81Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBusterTag), PhpVersions.ComposerVersion);
|
|
|
|
|
data.Add(PhpVersions.Php82Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBusterTag), PhpVersions.ComposerVersion);
|
|
|
|
|
|
|
|
|
|
// test latest php-composer version
|
|
|
|
|
// Test default PHP composer version
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBusterTag), PhpVersions.ComposerDefaultVersion);
|
|
|
|
|
data.Add(PhpVersions.Php80Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBusterTag), PhpVersions.ComposerDefaultVersion);
|
|
|
|
|
data.Add(PhpVersions.Php81Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBusterTag), PhpVersions.ComposerDefaultVersion);
|
|
|
|
|
data.Add(PhpVersions.Php82Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBusterTag), PhpVersions.ComposerDefaultVersion);
|
|
|
|
|
|
|
|
|
|
// Test PHP composer version 2.3.x
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBusterTag), PhpVersions.Composer23Version);
|
|
|
|
|
data.Add(PhpVersions.Php80Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBusterTag), PhpVersions.Composer23Version);
|
|
|
|
|
data.Add(PhpVersions.Php81Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBusterTag), PhpVersions.Composer23Version);
|
|
|
|
@ -95,16 +157,42 @@ namespace Microsoft.Oryx.BuildImage.Tests
|
|
|
|
|
{
|
|
|
|
|
var data = new TheoryData<string, string, string>();
|
|
|
|
|
var imageHelper = new ImageTestHelper();
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.ComposerVersion);
|
|
|
|
|
data.Add(PhpVersions.Php80Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.ComposerVersion);
|
|
|
|
|
data.Add(PhpVersions.Php81Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.ComposerVersion);
|
|
|
|
|
data.Add(PhpVersions.Php82Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.ComposerVersion);
|
|
|
|
|
|
|
|
|
|
// test latest php-composer version
|
|
|
|
|
// Test default PHP composer version
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.ComposerDefaultVersion);
|
|
|
|
|
data.Add(PhpVersions.Php80Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.ComposerDefaultVersion);
|
|
|
|
|
data.Add(PhpVersions.Php81Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.ComposerDefaultVersion);
|
|
|
|
|
data.Add(PhpVersions.Php82Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.ComposerDefaultVersion);
|
|
|
|
|
|
|
|
|
|
// Test PHP composer version 2.2.x
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.Composer22Version);
|
|
|
|
|
data.Add(PhpVersions.Php80Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.Composer22Version);
|
|
|
|
|
data.Add(PhpVersions.Php81Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.Composer22Version);
|
|
|
|
|
data.Add(PhpVersions.Php82Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.Composer22Version);
|
|
|
|
|
|
|
|
|
|
// Test PHP composer version 2.3.x
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.Composer23Version);
|
|
|
|
|
data.Add(PhpVersions.Php80Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.Composer23Version);
|
|
|
|
|
data.Add(PhpVersions.Php81Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.Composer23Version);
|
|
|
|
|
data.Add(PhpVersions.Php82Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.Composer23Version);
|
|
|
|
|
|
|
|
|
|
// Test PHP composer version 2.4.x
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.Composer24Version);
|
|
|
|
|
data.Add(PhpVersions.Php80Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.Composer24Version);
|
|
|
|
|
data.Add(PhpVersions.Php81Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.Composer24Version);
|
|
|
|
|
data.Add(PhpVersions.Php82Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.Composer24Version);
|
|
|
|
|
|
|
|
|
|
// Test PHP composer version 2.5.x
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.Composer25Version);
|
|
|
|
|
data.Add(PhpVersions.Php80Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.Composer25Version);
|
|
|
|
|
data.Add(PhpVersions.Php81Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.Composer25Version);
|
|
|
|
|
data.Add(PhpVersions.Php82Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.Composer25Version);
|
|
|
|
|
|
|
|
|
|
// Test PHP composer version 2.6.x
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.Composer26Version);
|
|
|
|
|
data.Add(PhpVersions.Php80Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.Composer26Version);
|
|
|
|
|
data.Add(PhpVersions.Php81Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.Composer26Version);
|
|
|
|
|
data.Add(PhpVersions.Php82Version, imageHelper.GetCliImage(ImageTestHelperConstants.CliBullseyeTag), PhpVersions.Composer26Version);
|
|
|
|
|
return data;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -115,16 +203,42 @@ namespace Microsoft.Oryx.BuildImage.Tests
|
|
|
|
|
{
|
|
|
|
|
var data = new TheoryData<string, string, string>();
|
|
|
|
|
var imageHelper = new ImageTestHelper();
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.ComposerVersion);
|
|
|
|
|
data.Add(PhpVersions.Php80Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.ComposerVersion);
|
|
|
|
|
data.Add(PhpVersions.Php81Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.ComposerVersion);
|
|
|
|
|
data.Add(PhpVersions.Php82Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.ComposerVersion);
|
|
|
|
|
|
|
|
|
|
// test latest php-composer version
|
|
|
|
|
// Test default PHP composer version
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.ComposerDefaultVersion);
|
|
|
|
|
data.Add(PhpVersions.Php80Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.ComposerDefaultVersion);
|
|
|
|
|
data.Add(PhpVersions.Php81Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.ComposerDefaultVersion);
|
|
|
|
|
data.Add(PhpVersions.Php82Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.ComposerDefaultVersion);
|
|
|
|
|
|
|
|
|
|
// Test PHP composer version 2.2.x
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.Composer22Version);
|
|
|
|
|
data.Add(PhpVersions.Php80Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.Composer22Version);
|
|
|
|
|
data.Add(PhpVersions.Php81Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.Composer22Version);
|
|
|
|
|
data.Add(PhpVersions.Php82Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.Composer22Version);
|
|
|
|
|
|
|
|
|
|
// Test PHP composer version 2.3.x
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.Composer23Version);
|
|
|
|
|
data.Add(PhpVersions.Php80Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.Composer23Version);
|
|
|
|
|
data.Add(PhpVersions.Php81Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.Composer23Version);
|
|
|
|
|
data.Add(PhpVersions.Php82Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.Composer23Version);
|
|
|
|
|
|
|
|
|
|
// Test PHP composer version 2.4.x
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.Composer24Version);
|
|
|
|
|
data.Add(PhpVersions.Php80Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.Composer24Version);
|
|
|
|
|
data.Add(PhpVersions.Php81Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.Composer24Version);
|
|
|
|
|
data.Add(PhpVersions.Php82Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.Composer24Version);
|
|
|
|
|
|
|
|
|
|
// Test PHP composer version 2.5.x
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.Composer25Version);
|
|
|
|
|
data.Add(PhpVersions.Php80Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.Composer25Version);
|
|
|
|
|
data.Add(PhpVersions.Php81Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.Composer25Version);
|
|
|
|
|
data.Add(PhpVersions.Php82Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.Composer25Version);
|
|
|
|
|
|
|
|
|
|
// Test PHP composer version 2.6.x
|
|
|
|
|
data.Add(PhpVersions.Php74Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.Composer26Version);
|
|
|
|
|
data.Add(PhpVersions.Php80Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.Composer26Version);
|
|
|
|
|
data.Add(PhpVersions.Php81Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.Composer26Version);
|
|
|
|
|
data.Add(PhpVersions.Php82Version, imageHelper.GetCliBuilderImage(ImageTestHelperConstants.CliBuilderBullseyeTag), PhpVersions.Composer26Version);
|
|
|
|
|
return data;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|