mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-06-16 17:51:35 +02:00
Compare commits
51 Commits
4.11.0-bet
...
4
Author | SHA1 | Date | |
---|---|---|---|
|
603ffc064b | ||
|
9372698a6b | ||
|
3887540da7 | ||
|
635d8be6fc | ||
|
036f173a38 | ||
|
6b966add42 | ||
|
3445801412 | ||
|
a8f62aab68 | ||
|
7264db0e34 | ||
|
b18c0372f2 | ||
|
bd202820de | ||
|
5ce684af70 | ||
|
ea654c1c9e | ||
|
f2f7455177 | ||
|
f38f39761e | ||
|
e9fcd38f52 | ||
|
5e497fa85f | ||
|
1049f90978 | ||
|
44a3fdb0ea | ||
|
f10a0206af | ||
|
4886a740ad | ||
|
ed70400f9c | ||
|
0d52cbc913 | ||
|
62c49cac6d | ||
|
ce944e8417 | ||
|
58ada1c9ed | ||
|
07e1b32a53 | ||
|
0b89a51c0c | ||
|
9c3ffd47c5 | ||
|
fe1be1b8b7 | ||
|
6a500ec454 | ||
|
04f9beecf5 | ||
|
7bc208e571 | ||
|
4f62379f58 | ||
|
19c057efee | ||
|
8691390ad9 | ||
|
030e0d60fa | ||
|
a19303860f | ||
|
4d67d06700 | ||
|
56462207b6 | ||
|
5b756664cc | ||
|
4219d455d5 | ||
|
a8d6ffdeab | ||
|
4eea3f390a | ||
|
45921d29de | ||
|
57195eab03 | ||
|
7c06e8cbd1 | ||
|
612ff2922b | ||
|
3a5f852d31 | ||
|
db70cb692a | ||
|
8fe8bf5bec |
1
.gitattributes
vendored
1
.gitattributes
vendored
|
@ -1,3 +1,4 @@
|
|||
.github export-ignore
|
||||
.cow.json export-ignore
|
||||
.cow export-ignore
|
||||
.gitattributes export-ignore
|
||||
|
|
27
.github/workflows/ci.yml
vendored
Normal file
27
.github/workflows/ci.yml
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
name: CI
|
||||
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1
|
||||
with:
|
||||
# installer contains a sample behat.yml file, though there are no behat tests to run
|
||||
endtoend: false
|
||||
# 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`
|
||||
composer_require_extra: silverstripe/recipe-testing:^2 silverstripe/frameworktest:^0.4.2 mikey179/vfsstream:^1.6.10
|
||||
extra_jobs: |
|
||||
- endtoend: true
|
||||
endtoend_suite: admin
|
||||
endtoend_config: vendor/silverstripe/admin/behat.yml
|
||||
- endtoend: true
|
||||
endtoend_suite: asset-admin
|
||||
endtoend_config: vendor/silverstripe/asset-admin/behat.yml
|
||||
- endtoend: true
|
||||
endtoend_suite: cms
|
||||
endtoend_config: vendor/silverstripe/cms/behat.yml
|
16
.github/workflows/dispatch-ci.yml
vendored
Normal file
16
.github/workflows/dispatch-ci.yml
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
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
|
17
.github/workflows/keepalive.yml
vendored
Normal file
17
.github/workflows/keepalive.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
name: Keepalive
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
# The 8th of every month at 4:50pm UTC
|
||||
schedule:
|
||||
- cron: '50 16 8 * *'
|
||||
|
||||
jobs:
|
||||
keepalive:
|
||||
name: Keepalive
|
||||
# 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: Keepalive
|
||||
uses: silverstripe/gha-keepalive@v1
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -4,4 +4,5 @@
|
|||
/themes/simple/
|
||||
/_resources/
|
||||
/public/_resources/
|
||||
/.graphql-generated
|
||||
/.graphql-generated/
|
||||
/public/_graphql/
|
||||
|
|
0
.graphql-generated/_manifest_exclude
Normal file
0
.graphql-generated/_manifest_exclude
Normal file
82
.travis.yml
82
.travis.yml
|
@ -1,82 +0,0 @@
|
|||
version: ~> 1.0
|
||||
|
||||
import:
|
||||
- silverstripe/silverstripe-travis-shared:config/provision/self.yml
|
||||
|
||||
env:
|
||||
global:
|
||||
- REQUIRE_RECIPE_TESTING="^2"
|
||||
- REQUIRE_FRAMEWORKTEST="^0.4.2"
|
||||
# vfsstream is a dev dependency of the assets module
|
||||
- REQUIRE_EXTRA="mikey179/vfsstream:^1.6.10"
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
include:
|
||||
# Core php tests
|
||||
- php: 7.4
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- PHPUNIT_TEST=1
|
||||
- PHPUNIT_SUITE="core"
|
||||
- PDO=1
|
||||
- COMPOSER_INSTALL_ARG="--prefer-lowest"
|
||||
- php: 7.4
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- PHPUNIT_TEST=1
|
||||
- PHPUNIT_SUITE="framework"
|
||||
- php: 7.4
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- PHPUNIT_TEST=1
|
||||
- PHPUNIT_SUITE="core"
|
||||
- php: 8.0
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- PHPUNIT_TEST=1
|
||||
- PHPUNIT_SUITE="core"
|
||||
- php: 8.1.0
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- PHPUNIT_TEST=1
|
||||
- PHPUNIT_SUITE="core"
|
||||
# admin php tests
|
||||
- php: 7.4
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- PHPUNIT_TEST=1
|
||||
- PHPUNIT_SUITE="admin"
|
||||
- PDO=1
|
||||
- COMPOSER_INSTALL_ARG="--prefer-lowest"
|
||||
- php: 7.4
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- PHPUNIT_TEST=1
|
||||
- PHPUNIT_SUITE="admin"
|
||||
- php: 8.0
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- PHPUNIT_TEST=1
|
||||
- PHPUNIT_SUITE="admin"
|
||||
- php: 8.1.0
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- PHPUNIT_TEST=1
|
||||
- PHPUNIT_SUITE="admin"
|
||||
# behat tests
|
||||
- php: 7.4
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- BEHAT_TEST=1
|
||||
- BEHAT_SUITE="admin"
|
||||
- php: 7.4
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- BEHAT_TEST=1
|
||||
- BEHAT_SUITE="cms"
|
||||
- php: 7.4
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- BEHAT_TEST=1
|
||||
- BEHAT_SUITE="asset-admin"
|
|
@ -1,6 +1,7 @@
|
|||
## Overview
|
||||
|
||||
[![Build Status](https://api.travis-ci.com/silverstripe/silverstripe-installer.svg?branch=4)](https://travis-ci.com/silverstripe/silverstripe-installer)
|
||||
[![CI](https://github.com/silverstripe/silverstripe-installer/actions/workflows/ci.yml/badge.svg)](https://github.com/silverstripe/silverstripe-installer/actions/workflows/ci.yml)
|
||||
[![Silverstripe supported module](https://img.shields.io/badge/silverstripe-supported-0071C4.svg)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/)
|
||||
|
||||
Base project folder for a Silverstripe ([http://silverstripe.org](http://silverstripe.org)) installation. Required modules are installed via [http://github.com/silverstripe/recipe-cms](http://github.com/silverstripe/recipe-cms). For information on how to change the dependencies in a recipe, please have a look at [https://github.com/silverstripe/recipe-plugin](https://github.com/silverstripe/recipe-plugin). In addition, installer includes [theme/simple](https://github.com/silverstripe-themes/silverstripe-simple) as a default theme.
|
||||
|
||||
|
|
|
@ -15,7 +15,8 @@
|
|||
"extra": {
|
||||
"project-files": [
|
||||
"app/_config/*",
|
||||
".env.example"
|
||||
".env.example",
|
||||
".graphql-generated/*"
|
||||
],
|
||||
"public-files": [
|
||||
"assets/*",
|
||||
|
@ -33,4 +34,4 @@
|
|||
},
|
||||
"prefer-stable": true,
|
||||
"minimum-stability": "dev"
|
||||
}
|
||||
}
|
|
@ -1,3 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
PHPUnit configuration for SilverStripe
|
||||
|
||||
|
@ -25,9 +26,13 @@
|
|||
<directory>vendor/silverstripe/framework/tests/php</directory>
|
||||
</testsuite>
|
||||
|
||||
<!-- framework only -->
|
||||
<testsuite name="framework">
|
||||
<directory>vendor/silverstripe/framework/tests/php/</directory>
|
||||
<!-- Framework ORM tests are split up to run in parallel -->
|
||||
<testsuite name="framework-core">
|
||||
<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>
|
||||
|
||||
<!-- other core components -->
|
||||
|
@ -42,7 +47,11 @@
|
|||
<directory>vendor/silverstripe/asset-admin/tests/php/</directory>
|
||||
<directory>vendor/silverstripe/campaign-admin/tests/php/</directory>
|
||||
<directory>vendor/silverstripe/cms/tests/</directory>
|
||||
<directory>vendor/silverstripe/config/tests/</directory>
|
||||
<directory>vendor/silverstripe/errorpage/tests/</directory>
|
||||
<directory>vendor/silverstripe/graphql/tests/</directory>
|
||||
<directory>vendor/silverstripe/login-forms/tests/php/</directory>
|
||||
<directory>vendor/silverstripe/mimevalidator/tests/</directory>
|
||||
<directory>vendor/silverstripe/reports/tests/</directory>
|
||||
<directory>vendor/silverstripe/siteconfig/tests/php/</directory>
|
||||
</testsuite>
|
||||
|
|
0
public/_graphql/.gitkeep
Normal file
0
public/_graphql/.gitkeep
Normal file
Loading…
Reference in New Issue
Block a user