-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ef94bbe
commit 54a9d5b
Showing
7 changed files
with
382 additions
and
307 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: Auto-tag | ||
on: | ||
push: | ||
tags: | ||
- '*.*.*' | ||
jobs: | ||
auto-tag: | ||
name: Auto-tag | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Auto-tag | ||
uses: silverstripe/gha-auto-tag@main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
include 'consts.php'; | ||
include 'job_creator.php'; | ||
|
||
// Reads inputs.yml and creates a new json matrix | ||
$inputs = yaml_parse(file_get_contents('__inputs.yml')); | ||
if ($inputs === false) { | ||
echo 'Unable to parse __inputs.yml'; | ||
exit(1); | ||
} | ||
$jobCreator = new JobCreator(); | ||
echo $jobCreator->createJson($inputs); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<?php | ||
|
||
# Manually update this after each minor CMS release | ||
const INSTALLER_TO_PHP_VERSIONS = [ | ||
'4.9' => [ | ||
'7.1', | ||
'7.2', | ||
'7.3', | ||
'7.4' | ||
], | ||
'4.10' => [ | ||
'7.3', | ||
'7.4', | ||
'8.0', | ||
], | ||
'4.11' => [ | ||
'7.4', | ||
'8.0', | ||
'8.1', | ||
], | ||
'4' => [ | ||
'7.4', | ||
'8.0', | ||
'8.1', | ||
], | ||
]; | ||
|
||
const DB_MYSQL_57 = 'mysql57'; | ||
const DB_MYSQL_57_PDO = 'mysql57pdo'; | ||
const DB_MYSQL_80 = 'mysql80'; | ||
const DB_PGSQL = 'pgsql'; | ||
|
||
const LOCKSTEPED_REPOS = [ | ||
'silverstripe-admin', | ||
'silverstripe-asset-admin', | ||
'silverstripe-assets', | ||
'silverstripe-campaign-admin', | ||
'silverstripe-cms', | ||
'silverstripe-errorpage', | ||
'silverstripe-framework', | ||
'silverstripe-reports', | ||
'silverstripe-siteconfig', | ||
'silverstripe-versioned', | ||
'silverstripe-versioned-admin', | ||
// recipe-solr-search is not a true recipe, doesn't include recipe-cms/core | ||
'recipe-solr-search', | ||
]; | ||
|
||
const NO_INSTALLER_REPOS = [ | ||
// these include recipe-cms/core, so we don't want to composer require installer | ||
// in .travis.yml they used the 'self' provision rather than 'standard' | ||
'recipe-authoring-tools', | ||
'recipe-blog', | ||
'recipe-ccl', | ||
'recipe-cms', | ||
'recipe-collaboration', | ||
'recipe-content-blocks', | ||
'recipe-core', | ||
'recipe-form-building', | ||
'recipe-kitchen-sink', | ||
'recipe-reporting-tools', | ||
'recipe-services', | ||
'silverstripe-installer', | ||
// vendor-plugin is not a recipe, though we also do not want installer | ||
'vendor-plugin' | ||
]; |
Oops, something went wrong.