diff options
Diffstat (limited to 'mkmodular')
-rwxr-xr-x | mkmodular | 81 |
1 files changed, 81 insertions, 0 deletions
@@ -866,6 +866,87 @@ if (count($_SERVER['argv']) < 2 || in_array('el8', $_SERVER['argv']) createRepo($dest, $mod); } +if (in_array('el8', $_SERVER['argv']) || in_array('test', $_SERVER['argv'])) { + $dest = 'enterprise/8/modular-test/aarch64'; + echo "Populate $dest\n"; + cleanup($dest); + $mod = ''; + + $deps = ['platform' => 'el8']; + $mod .= genModule('enterprise/8/test74/aarch64', $dest, '*.rpm', '7.4', 'aarch64', $deps, $template_php); + $mod .= genModule('enterprise/8/test80/aarch64', $dest, '*.rpm', '8.0', 'aarch64', $deps, $template_php); + $mod .= genModule('enterprise/8/test81/aarch64', $dest, '*.rpm', '8.1', 'aarch64', $deps, $template_php); + $mod .= genModule('enterprise/8/test82/aarch64', $dest, '*.rpm', '8.2', 'aarch64', $deps, $template_php); + $mod .= genModule('enterprise/8/test83/aarch64', $dest, '*.rpm', '8.3', 'aarch64', $deps, $template_php); + + $deps = ['platform' => 'el8', 'php' => '']; + $mod .= genModule('enterprise/8/composer2-test/x86_64', $dest, '*.rpm', '2', 'aarch64', $deps, $template_comp); + createRepo($dest, $mod); + + $dest = 'enterprise/8/debug-modular-test/aarch64'; + echo "Populate $dest\n"; + cleanup($dest); + $mod = ''; + + $deps = ['platform' => 'el8']; + $mod .= genModule('enterprise/8/debug-test74/aarch64', $dest, '*.rpm', '7.4', 'aarch64', $deps, $template_php); + $mod .= genModule('enterprise/8/debug-test80/aarch64', $dest, '*.rpm', '8.0', 'aarch64', $deps, $template_php); + $mod .= genModule('enterprise/8/debug-test81/aarch64', $dest, '*.rpm', '8.1', 'aarch64', $deps, $template_php); + $mod .= genModule('enterprise/8/debug-test82/aarch64', $dest, '*.rpm', '8.2', 'aarch64', $deps, $template_php); + $mod .= genModule('enterprise/8/debug-test83/aarch64', $dest, '*.rpm', '8.3', 'aarch64', $deps, $template_php); + createRepo($dest, $mod); +} +if (count($_SERVER['argv']) < 2 || in_array('el8', $_SERVER['argv']) + || in_array('noarch', $_SERVER['argv']) + || in_array('7.3', $_SERVER['argv']) || in_array('7.2', $_SERVER['argv'])) { + $dest = 'enterprise/8/modular/aarch64'; + echo "Populate $dest\n"; + cleanup($dest); + $mod = ''; + + $deps = ['platform' => 'el8']; + $mod .= genModule('enterprise/8/php74/aarch64', $dest, '*.rpm', '7.4', 'aarch64', $deps, $template_php); + $mod .= genModule('enterprise/8/php80/aarch64', $dest, '*.rpm', '8.0', 'aarch64', $deps, $template_php); + $mod .= genModule('enterprise/8/php81/aarch64', $dest, '*.rpm', '8.1', 'aarch64', $deps, $template_php); + $mod .= genModule('enterprise/8/php82/aarch64', $dest, '*.rpm', '8.2', 'aarch64', $deps, $template_php); + $mod .= genModule('enterprise/8/php83/aarch64', $dest, '*.rpm', '8.3', 'aarch64', $deps, $template_php); + $mod .= genDefaults('php', '7.2', ['remi-7.4', 'remi-8.0', 'remi-8.1', 'remi-8.2', 'remi-8.3']); + + $deps = ['platform' => 'el8']; + $mod .= genModule('enterprise/8/redis60/aarch64', $dest, 'redis*.rpm', '6.0', 'aarch64', $deps, $template_redis); + $mod .= genModule('enterprise/8/redis62/aarch64', $dest, 'redis*.rpm', '6.2', 'aarch64', $deps, $template_redis); + $mod .= genModule('enterprise/8/redis70/aarch64', $dest, 'redis*.rpm', '7.0', 'aarch64', $deps, $template_redis); + $mod .= genModule('enterprise/8/redis72/aarch64', $dest, 'redis*.rpm', '7.2', 'aarch64', $deps, $template_redis); + $mod .= genDefaults('redis', '5', ['remi-6.0', 'remi-6.2', 'remi-7.0', 'remi-7.2']); + + $deps = ['platform' => 'el8', 'php' => '']; + $mod .= genModule('enterprise/8/composer1/x86_64', $dest, '*.rpm', '1', 'aarch64', $deps, $template_comp); + $mod .= genModule('enterprise/8/composer2/x86_64', $dest, '*.rpm', '2', 'aarch64', $deps, $template_comp); + $mod .= genDefaults('composer', '2', ['1', '2']); + createRepo($dest, $mod); +} +if (count($_SERVER['argv']) < 2 || in_array('el8', $_SERVER['argv']) + || in_array('7.3', $_SERVER['argv']) || in_array('7.2', $_SERVER['argv'])) { + $dest = 'enterprise/8/debug-modular/aarch64'; + echo "Populate $dest\n"; + cleanup($dest); + $mod = ''; + + $deps = ['platform' => 'el8']; + $mod .= genModule('enterprise/8/debug-php74/aarch64', $dest, '*.rpm', '7.4', 'aarch64', $deps, $template_php); + $mod .= genModule('enterprise/8/debug-php80/aarch64', $dest, '*.rpm', '8.0', 'aarch64', $deps, $template_php); + $mod .= genModule('enterprise/8/debug-php81/aarch64', $dest, '*.rpm', '8.1', 'aarch64', $deps, $template_php); + $mod .= genModule('enterprise/8/debug-php82/aarch64', $dest, '*.rpm', '8.2', 'aarch64', $deps, $template_php); + $mod .= genModule('enterprise/8/debug-php83/aarch64', $dest, '*.rpm', '8.3', 'aarch64', $deps, $template_php); + + $deps = ['platform' => 'el8']; + $mod .= genModule('enterprise/8/debug-redis60/aarch64', $dest, 'redis*.rpm', '6.0', 'aarch64', $deps, $template_redis); + $mod .= genModule('enterprise/8/debug-redis62/aarch64', $dest, 'redis*.rpm', '6.2', 'aarch64', $deps, $template_redis); + $mod .= genModule('enterprise/8/debug-redis70/aarch64', $dest, 'redis*.rpm', '7.0', 'aarch64', $deps, $template_redis); + $mod .= genModule('enterprise/8/debug-redis72/aarch64', $dest, 'redis*.rpm', '7.2', 'aarch64', $deps, $template_redis); + createRepo($dest, $mod); +} + if (in_array('el9', $_SERVER['argv']) || in_array('test', $_SERVER['argv'])) { $dest = 'enterprise/9/modular-test/x86_64'; echo "Populate $dest\n"; |