mirror of
https://github.com/silverstripe/silverstripe-environmentcheck
synced 2024-10-22 17:05:40 +02:00
Compare commits
9 Commits
2.7.0-beta
...
2
Author | SHA1 | Date | |
---|---|---|---|
|
9881c03c22 | ||
|
e8517ebfb0 | ||
|
28ca036345 | ||
|
16caad30b2 | ||
|
6f6c30bdcc | ||
|
f918209e35 | ||
|
714de64252 | ||
|
d9d245a0da | ||
|
9d5f8fce7d |
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -4,13 +4,8 @@ on:
|
|||||||
push:
|
push:
|
||||||
pull_request:
|
pull_request:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
# Every Wednesday at 1:20pm UTC
|
|
||||||
schedule:
|
|
||||||
- cron: '20 13 * * 3'
|
|
||||||
|
|
||||||
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
|
||||||
|
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 1:20 PM UTC, only on Wednesday and Thursday
|
||||||
|
schedule:
|
||||||
|
- cron: '20 13 * * 3,4'
|
||||||
|
|
||||||
|
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
|
@ -21,8 +21,8 @@
|
|||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.4 || ^8.0",
|
"php": "^7.4 || ^8.0",
|
||||||
"silverstripe/framework": "4.13.0-beta1",
|
"silverstripe/framework": "^4.10",
|
||||||
"silverstripe/versioned": "1.13.0-beta1",
|
"silverstripe/versioned": "^1.0",
|
||||||
"guzzlehttp/guzzle": "^6.3.3 || ^7"
|
"guzzlehttp/guzzle": "^6.3.3 || ^7"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
@ -43,7 +43,7 @@ class SolrIndexCheck implements EnvironmentCheck
|
|||||||
if (!empty($brokenCores)) {
|
if (!empty($brokenCores)) {
|
||||||
return [
|
return [
|
||||||
EnvironmentCheck::ERROR,
|
EnvironmentCheck::ERROR,
|
||||||
'The following indexes are unavailable: ' . implode($brokenCores ?? '', ', ')
|
'The following indexes are unavailable: ' . implode(', ', $brokenCores)
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user