Skip to content

Commit 2f034ea

Browse files
committed
chore: Group storage runs
Assisted-by: ClaudeCode:claude-opus-5 Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
1 parent a24593e commit 2f034ea

12 files changed

Lines changed: 149 additions & 565 deletions

.github/workflows/files-external-ftp.yml

Lines changed: 2 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -2,55 +2,16 @@
22
# SPDX-License-Identifier: MIT
33
name: PHPUnit files_external FTP
44
on:
5-
pull_request:
6-
schedule:
7-
- cron: "5 2 * * *"
5+
workflow_call:
86

97
permissions:
108
contents: read
119

12-
concurrency:
13-
group: files-external-ftp-${{ github.head_ref || github.run_id }}
14-
cancel-in-progress: true
15-
1610
jobs:
17-
changes:
18-
runs-on: ubuntu-latest-low
19-
20-
outputs:
21-
src: ${{ steps.changes.outputs.src}}
22-
23-
steps:
24-
- uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
25-
id: changes
26-
continue-on-error: true
27-
with:
28-
filters: |
29-
src:
30-
- '.github/workflows/**'
31-
- '3rdparty/**'
32-
- 'vendor/**'
33-
- 'vendor-bin/**'
34-
- 'composer.json'
35-
- 'composer.lock'
36-
- 'apps/files/lib/**'
37-
- 'apps/files/tests/**'
38-
- 'apps/files_external/**'
39-
- 'apps/files_sharing/lib/**'
40-
- 'apps/files_sharing/tests/**'
41-
- 'apps/files_trashbin/lib/**'
42-
- 'apps/files_trashbin/tests/**'
43-
- 'apps/files_versions/lib/**'
44-
- 'apps/files_versions/tests/**'
45-
- 'lib/private/Files/**'
46-
- 'lib/public/Files/**'
47-
- 'tests/lib/Files/**'
48-
4911
files-external-ftp:
5012
runs-on: ubuntu-latest
51-
needs: changes
5213

53-
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
14+
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
5415

5516
strategy:
5617
fail-fast: false
@@ -113,13 +74,3 @@ jobs:
11374
if: always()
11475
run: |
11576
docker logs ftp
116-
117-
ftp-summary:
118-
runs-on: ubuntu-latest-low
119-
needs: [changes, files-external-ftp]
120-
121-
if: always()
122-
123-
steps:
124-
- name: Summary status
125-
run: if ${{ needs.changes.outputs.src != 'false' && needs.files-external-ftp.result != 'success' }}; then exit 1; fi

.github/workflows/files-external-s3.yml

Lines changed: 3 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -2,55 +2,16 @@
22
# SPDX-License-Identifier: MIT
33
name: PHPUnit files_external S3
44
on:
5-
pull_request:
6-
schedule:
7-
- cron: "5 2 * * *"
5+
workflow_call:
86

97
permissions:
108
contents: read
119

12-
concurrency:
13-
group: files-external-s3-${{ github.head_ref || github.run_id }}
14-
cancel-in-progress: true
15-
1610
jobs:
17-
changes:
18-
runs-on: ubuntu-latest-low
19-
20-
outputs:
21-
src: ${{ steps.changes.outputs.src}}
22-
23-
steps:
24-
- uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
25-
id: changes
26-
continue-on-error: true
27-
with:
28-
filters: |
29-
src:
30-
- '.github/workflows/**'
31-
- '3rdparty/**'
32-
- 'vendor/**'
33-
- 'vendor-bin/**'
34-
- 'composer.json'
35-
- 'composer.lock'
36-
- 'apps/files/lib/**'
37-
- 'apps/files/tests/**'
38-
- 'apps/files_external/**'
39-
- 'apps/files_sharing/lib/**'
40-
- 'apps/files_sharing/tests/**'
41-
- 'apps/files_trashbin/lib/**'
42-
- 'apps/files_trashbin/tests/**'
43-
- 'apps/files_versions/lib/**'
44-
- 'apps/files_versions/tests/**'
45-
- 'lib/private/Files/**'
46-
- 'lib/public/Files/**'
47-
- 'tests/lib/Files/**'
48-
4911
files-external-s3-minio:
5012
runs-on: ubuntu-latest
51-
needs: changes
5213

53-
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
14+
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
5415

5516
strategy:
5617
fail-fast: false
@@ -123,9 +84,8 @@ jobs:
12384
12485
files-external-s3-localstack:
12586
runs-on: ubuntu-latest
126-
needs: changes
12787

128-
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
88+
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
12989

13090
strategy:
13191
matrix:
@@ -181,13 +141,3 @@ jobs:
181141
run: |
182142
docker ps -a
183143
docker ps -aq | while read container ; do IMAGE=$(docker inspect --format='{{.Config.Image}}' $container); echo $IMAGE; docker logs $container; echo "\n\n" ; done
184-
185-
s3-external-summary:
186-
runs-on: ubuntu-latest-low
187-
needs: [changes, files-external-s3-minio, files-external-s3-localstack]
188-
189-
if: always()
190-
191-
steps:
192-
- name: Summary status
193-
run: if ${{ needs.changes.outputs.src != 'false' && (needs.files-external-s3-minio.result != 'success' || needs.files-external-s3-localstack.result != 'success') }}; then exit 1; fi

.github/workflows/files-external-sftp.yml

Lines changed: 2 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -2,55 +2,16 @@
22
# SPDX-License-Identifier: MIT
33
name: PHPUnit files_external sFTP
44
on:
5-
pull_request:
6-
schedule:
7-
- cron: "5 2 * * *"
5+
workflow_call:
86

97
permissions:
108
contents: read
119

12-
concurrency:
13-
group: files-external-sftp-${{ github.head_ref || github.run_id }}
14-
cancel-in-progress: true
15-
1610
jobs:
17-
changes:
18-
runs-on: ubuntu-latest-low
19-
20-
outputs:
21-
src: ${{ steps.changes.outputs.src}}
22-
23-
steps:
24-
- uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
25-
id: changes
26-
continue-on-error: true
27-
with:
28-
filters: |
29-
src:
30-
- '.github/workflows/**'
31-
- '3rdparty/**'
32-
- 'vendor/**'
33-
- 'vendor-bin/**'
34-
- 'composer.json'
35-
- 'composer.lock'
36-
- 'apps/files/lib/**'
37-
- 'apps/files/tests/**'
38-
- 'apps/files_external/**'
39-
- 'apps/files_sharing/lib/**'
40-
- 'apps/files_sharing/tests/**'
41-
- 'apps/files_trashbin/lib/**'
42-
- 'apps/files_trashbin/tests/**'
43-
- 'apps/files_versions/lib/**'
44-
- 'apps/files_versions/tests/**'
45-
- 'lib/private/Files/**'
46-
- 'lib/public/Files/**'
47-
- 'tests/lib/Files/**'
48-
4911
files-external-sftp:
5012
runs-on: ubuntu-latest
51-
needs: changes
5213

53-
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
14+
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
5415

5516
strategy:
5617
fail-fast: false
@@ -102,13 +63,3 @@ jobs:
10263
run: |
10364
ls -l /tmp/sftp
10465
docker logs sftp
105-
106-
sftp-summary:
107-
runs-on: ubuntu-latest-low
108-
needs: [changes, files-external-sftp]
109-
110-
if: always()
111-
112-
steps:
113-
- name: Summary status
114-
run: if ${{ needs.changes.outputs.src != 'false' && needs.files-external-sftp.result != 'success' }}; then exit 1; fi

.github/workflows/files-external-smb-kerberos.yml

Lines changed: 2 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -2,55 +2,16 @@
22
# SPDX-License-Identifier: MIT
33
name: Samba Kerberos SSO
44
on:
5-
pull_request:
6-
schedule:
7-
- cron: "5 2 * * *"
5+
workflow_call:
86

97
permissions:
108
contents: read
119

12-
concurrency:
13-
group: files-external-smb-kerberos-${{ github.head_ref || github.run_id }}
14-
cancel-in-progress: true
15-
1610
jobs:
17-
changes:
18-
runs-on: ubuntu-latest-low
19-
20-
outputs:
21-
src: ${{ steps.changes.outputs.src}}
22-
23-
steps:
24-
- uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
25-
id: changes
26-
continue-on-error: true
27-
with:
28-
filters: |
29-
src:
30-
- '.github/workflows/**'
31-
- '3rdparty/**'
32-
- 'vendor/**'
33-
- 'vendor-bin/**'
34-
- 'composer.json'
35-
- 'composer.lock'
36-
- 'apps/files/lib/**'
37-
- 'apps/files/tests/**'
38-
- 'apps/files_external/**'
39-
- 'apps/files_sharing/lib/**'
40-
- 'apps/files_sharing/tests/**'
41-
- 'apps/files_trashbin/lib/**'
42-
- 'apps/files_trashbin/tests/**'
43-
- 'apps/files_versions/lib/**'
44-
- 'apps/files_versions/tests/**'
45-
- 'lib/private/Files/**'
46-
- 'lib/public/Files/**'
47-
- 'tests/lib/Files/**'
48-
4911
files-external-smb-kerberos:
5012
runs-on: ubuntu-latest
51-
needs: changes
5213

53-
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
14+
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
5415

5516
name: smb-kerberos-sso
5617

@@ -116,13 +77,3 @@ jobs:
11677
FILEPATH=$(docker exec --user 33 apache ./occ log:file | grep "Log file:" | cut -d' ' -f3)
11778
echo "$FILEPATH:"
11879
docker exec --user 33 apache cat $FILEPATH
119-
120-
smb-kerberos-sso-summary:
121-
runs-on: ubuntu-latest-low
122-
needs: [changes, files-external-smb-kerberos]
123-
124-
if: always()
125-
126-
steps:
127-
- name: Summary status
128-
run: if ${{ needs.changes.outputs.src != 'false' && needs.files-external-smb-kerberos.result != 'success' }}; then exit 1; fi

.github/workflows/files-external-smb.yml

Lines changed: 2 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -2,55 +2,16 @@
22
# SPDX-License-Identifier: MIT
33
name: PHPUnit files_external SMB
44
on:
5-
pull_request:
6-
schedule:
7-
- cron: "5 2 * * *"
5+
workflow_call:
86

97
permissions:
108
contents: read
119

12-
concurrency:
13-
group: files-external-smb-${{ github.head_ref || github.run_id }}
14-
cancel-in-progress: true
15-
1610
jobs:
17-
changes:
18-
runs-on: ubuntu-latest-low
19-
20-
outputs:
21-
src: ${{ steps.changes.outputs.src}}
22-
23-
steps:
24-
- uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
25-
id: changes
26-
continue-on-error: true
27-
with:
28-
filters: |
29-
src:
30-
- '.github/workflows/**'
31-
- '3rdparty/**'
32-
- 'vendor/**'
33-
- 'vendor-bin/**'
34-
- 'composer.json'
35-
- 'composer.lock'
36-
- 'apps/files/lib/**'
37-
- 'apps/files/tests/**'
38-
- 'apps/files_external/**'
39-
- 'apps/files_sharing/lib/**'
40-
- 'apps/files_sharing/tests/**'
41-
- 'apps/files_trashbin/lib/**'
42-
- 'apps/files_trashbin/tests/**'
43-
- 'apps/files_versions/lib/**'
44-
- 'apps/files_versions/tests/**'
45-
- 'lib/private/Files/**'
46-
- 'lib/public/Files/**'
47-
- 'tests/lib/Files/**'
48-
4911
files-external-smb:
5012
runs-on: ubuntu-latest
51-
needs: changes
5213

53-
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
14+
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
5415

5516
strategy:
5617
fail-fast: false
@@ -113,13 +74,3 @@ jobs:
11374
run: composer run test:files_external -- \
11475
apps/files_external/tests/Storage/SmbTest.php \
11576
--log-junit junit.xml
116-
117-
files-external-smb-summary:
118-
runs-on: ubuntu-latest-low
119-
needs: [changes, files-external-smb]
120-
121-
if: always()
122-
123-
steps:
124-
- name: Summary status
125-
run: if ${{ needs.changes.outputs.src != 'false' && needs.files-external-smb.result != 'success' }}; then exit 1; fi

0 commit comments

Comments
 (0)