mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
Compare commits
18 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
96e34a5cd1 | ||
|
1316480faf | ||
|
a564e32580 | ||
|
c9bfb0e2a6 | ||
|
f89a827515 | ||
|
602914a5e3 | ||
|
dd70bec9f4 | ||
|
5097dee0d7 | ||
|
7b49f0e129 | ||
|
516042084d | ||
|
d150c0058d | ||
|
9ed58415ab | ||
|
406ee71a48 | ||
|
30e39e3da7 | ||
|
ddad942ea8 | ||
|
06d822eda6 | ||
|
1f718dcf54 | ||
|
8ca19d5eb7 |
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -4,17 +4,22 @@ on:
|
|||||||
push:
|
push:
|
||||||
pull_request:
|
pull_request:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
# Every day at 4:00pm UTC
|
||||||
|
schedule:
|
||||||
|
- cron: '0 16 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
name: CI
|
name: CI
|
||||||
|
# Only run cron on the silverstripe account
|
||||||
|
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
|
||||||
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1
|
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1
|
||||||
with:
|
with:
|
||||||
# installer contains a sample behat.yml file, though there are no behat tests to run
|
# installer contains a sample behat.yml file, though there are no behat tests to run
|
||||||
endtoend: false
|
endtoend: false
|
||||||
# require the following in ci.yml rather than composer.json require-dev specifically for installer because unlike
|
# require the following in ci.yml rather than composer.json require-dev specifically for installer because unlike
|
||||||
# regular modules, require-dev will get installed to projects during `composer create-project silverstripe/installer`
|
# regular modules, require-dev will get installed to projects during `composer create-project silverstripe/installer`
|
||||||
composer_require_extra: silverstripe/recipe-testing:^2 silverstripe/frameworktest:^0.4.2 mikey179/vfsstream:^1.6.10
|
composer_require_extra: silverstripe/recipe-testing:^3 silverstripe/frameworktest:^1 mikey179/vfsstream:^1.6.10
|
||||||
extra_jobs: |
|
extra_jobs: |
|
||||||
- endtoend: true
|
- endtoend: true
|
||||||
endtoend_suite: admin
|
endtoend_suite: admin
|
||||||
|
16
.github/workflows/dispatch-ci.yml
vendored
16
.github/workflows/dispatch-ci.yml
vendored
@ -1,16 +0,0 @@
|
|||||||
name: Dispatch CI
|
|
||||||
|
|
||||||
on:
|
|
||||||
# At 4:00 PM and 5:00 PM
|
|
||||||
schedule:
|
|
||||||
- cron: '0 16,17 * * *'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
dispatch-ci:
|
|
||||||
name: Dispatch CI
|
|
||||||
# Only run cron on the silverstripe account
|
|
||||||
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Dispatch CI
|
|
||||||
uses: silverstripe/gha-dispatch-ci@v1
|
|
@ -1,26 +0,0 @@
|
|||||||
# SilverStripe 4.4 changes the way files are resolved. `silverstripe-assets` resolves files using a variety of formats
|
|
||||||
# by default. When starting a brand new project on SilverStripe 4.4 or greater, those extra formats are not needed and
|
|
||||||
# will slowdown file resolution requests a bit. This config removes those redundant formats.
|
|
||||||
|
|
||||||
---
|
|
||||||
Name: project-assetsflysystem
|
|
||||||
After: '#assetsflysystem'
|
|
||||||
---
|
|
||||||
SilverStripe\Core\Injector\Injector:
|
|
||||||
# Define public resolution strategy
|
|
||||||
SilverStripe\Assets\FilenameParsing\FileResolutionStrategy.public:
|
|
||||||
class: SilverStripe\Assets\FilenameParsing\FileIDHelperResolutionStrategy
|
|
||||||
properties:
|
|
||||||
ResolutionFileIDHelpers:
|
|
||||||
- '%$SilverStripe\Assets\FilenameParsing\HashFileIDHelper'
|
|
||||||
- '%$SilverStripe\Assets\FilenameParsing\NaturalFileIDHelper'
|
|
||||||
DefaultFileIDHelper: '%$SilverStripe\Assets\FilenameParsing\NaturalFileIDHelper'
|
|
||||||
VersionedStage: Live
|
|
||||||
# Define protected resolution strategy
|
|
||||||
SilverStripe\Assets\FilenameParsing\FileResolutionStrategy.protected:
|
|
||||||
class: SilverStripe\Assets\FilenameParsing\FileIDHelperResolutionStrategy
|
|
||||||
properties:
|
|
||||||
DefaultFileIDHelper: '%$SilverStripe\Assets\FilenameParsing\HashFileIDHelper'
|
|
||||||
ResolutionFileIDHelpers:
|
|
||||||
- '%$SilverStripe\Assets\FilenameParsing\HashFileIDHelper'
|
|
||||||
VersionedStage: Stage
|
|
@ -1,9 +0,0 @@
|
|||||||
# See https://docs.silverstripe.org/en/4/developer_guides/email/ for additional information about setting up email
|
|
||||||
---
|
|
||||||
Name: project-emailconfig
|
|
||||||
After:
|
|
||||||
- '#emailconfig'
|
|
||||||
---
|
|
||||||
SilverStripe\Core\Injector\Injector:
|
|
||||||
Swift_Transport:
|
|
||||||
class: Swift_SendmailTransport
|
|
@ -3,11 +3,12 @@
|
|||||||
"type": "silverstripe-recipe",
|
"type": "silverstripe-recipe",
|
||||||
"description": "The SilverStripe Framework Installer",
|
"description": "The SilverStripe Framework Installer",
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.4 || ^8.0",
|
"php": "^8.1",
|
||||||
"silverstripe/recipe-plugin": "^1.2",
|
"silverstripe/recipe-plugin": "~2.0.0@stable",
|
||||||
"silverstripe/recipe-cms": "4.x-dev",
|
"silverstripe/vendor-plugin": "~2.0.0@stable",
|
||||||
|
"silverstripe/recipe-cms": "~5.0.0@rc",
|
||||||
"silverstripe-themes/simple": "~3.2.0",
|
"silverstripe-themes/simple": "~3.2.0",
|
||||||
"silverstripe/login-forms": "4.x-dev"
|
"silverstripe/login-forms": "~5.0.0@rc"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^9.5"
|
"phpunit/phpunit": "^9.5"
|
||||||
@ -21,8 +22,7 @@
|
|||||||
"public-files": [
|
"public-files": [
|
||||||
"assets/*",
|
"assets/*",
|
||||||
"favicon.ico"
|
"favicon.ico"
|
||||||
],
|
]
|
||||||
"resources-dir": "_resources"
|
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"process-timeout": 600,
|
"process-timeout": 600,
|
||||||
|
@ -26,13 +26,9 @@
|
|||||||
<directory>vendor/silverstripe/framework/tests/php</directory>
|
<directory>vendor/silverstripe/framework/tests/php</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
|
|
||||||
<!-- Framework ORM tests are split up to run in parallel -->
|
<!-- framework only -->
|
||||||
<testsuite name="framework-core">
|
<testsuite name="framework">
|
||||||
<directory>vendor/silverstripe/framework/tests/php</directory>
|
<directory>vendor/silverstripe/framework/tests/php/</directory>
|
||||||
<exclude>vendor/silverstripe/framework/tests/php/ORM</exclude>
|
|
||||||
</testsuite>
|
|
||||||
<testsuite name="framework-orm">
|
|
||||||
<directory>vendor/silverstripe/framework/tests/php/ORM</directory>
|
|
||||||
</testsuite>
|
</testsuite>
|
||||||
|
|
||||||
<!-- other core components -->
|
<!-- other core components -->
|
||||||
|
Loading…
Reference in New Issue
Block a user