Compare commits

...

1 Commits

Author SHA1 Message Date
Julius Knorr
ac6fcf2d4b ci: Run integration on self-hosted
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-05-26 15:38:09 +02:00
17 changed files with 17 additions and 17 deletions

View File

@@ -9,7 +9,7 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ${{ github.repository_owner == 'nextcloud-gmbh' && fromJSON('["self-hosted", "ubuntu-latest"]') || 'ubuntu-latest' }}
strategy: strategy:
matrix: matrix:

View File

@@ -17,7 +17,7 @@ permissions:
jobs: jobs:
build_and_publish: build_and_publish:
runs-on: ubuntu-latest runs-on: ${{ github.repository_owner == 'nextcloud-gmbh' && fromJSON('["self-hosted", "ubuntu-latest"]') || 'ubuntu-latest' }}
# Only allowed to be run on nextcloud-releases repositories # Only allowed to be run on nextcloud-releases repositories
if: ${{ github.repository_owner == 'nextcloud-releases' }} if: ${{ github.repository_owner == 'nextcloud-releases' }}

View File

@@ -14,7 +14,7 @@ env:
jobs: jobs:
cypress: cypress:
runs-on: 'ubuntu-latest' runs-on: ${{ github.repository_owner == 'nextcloud-gmbh' && fromJSON('["self-hosted", "ubuntu-latest"]') || 'ubuntu-latest' }}
strategy: strategy:
fail-fast: false fail-fast: false

View File

@@ -21,7 +21,7 @@ env:
jobs: jobs:
integration: integration:
runs-on: ubuntu-latest runs-on: ${{ github.repository_owner == 'nextcloud-gmbh' && fromJSON('["self-hosted", "ubuntu-latest"]') || 'ubuntu-latest' }}
strategy: strategy:
fail-fast: false fail-fast: false

View File

@@ -47,7 +47,7 @@ jobs:
- '**.vue' - '**.vue'
lint: lint:
runs-on: ubuntu-latest runs-on: ${{ github.repository_owner == 'nextcloud-gmbh' && fromJSON('["self-hosted", "ubuntu-latest"]') || 'ubuntu-latest' }}
needs: changes needs: changes
if: needs.changes.outputs.src != 'false' if: needs.changes.outputs.src != 'false'

View File

@@ -19,7 +19,7 @@ concurrency:
jobs: jobs:
lint: lint:
runs-on: ubuntu-latest runs-on: ${{ github.repository_owner == 'nextcloud-gmbh' && fromJSON('["self-hosted", "ubuntu-latest"]') || 'ubuntu-latest' }}
name: php-cs name: php-cs

View File

@@ -33,7 +33,7 @@ jobs:
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.0.0 uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.0.0
php-lint: php-lint:
runs-on: ubuntu-latest runs-on: ${{ github.repository_owner == 'nextcloud-gmbh' && fromJSON('["self-hosted", "ubuntu-latest"]') || 'ubuntu-latest' }}
needs: matrix needs: matrix
strategy: strategy:
matrix: matrix:

View File

@@ -19,7 +19,7 @@ concurrency:
jobs: jobs:
lint: lint:
runs-on: ubuntu-latest runs-on: ${{ github.repository_owner == 'nextcloud-gmbh' && fromJSON('["self-hosted", "ubuntu-latest"]') || 'ubuntu-latest' }}
name: stylelint name: stylelint

View File

@@ -5,7 +5,7 @@ on: [push]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ${{ github.repository_owner == 'nextcloud-gmbh' && fromJSON('["self-hosted", "ubuntu-latest"]') || 'ubuntu-latest' }}
strategy: strategy:
matrix: matrix:

View File

@@ -19,7 +19,7 @@ permissions:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ${{ github.repository_owner == 'nextcloud-gmbh' && fromJSON('["self-hosted", "ubuntu-latest"]') || 'ubuntu-latest' }}
strategy: strategy:
fail-fast: false fail-fast: false

View File

@@ -62,7 +62,7 @@ jobs:
- 'composer.lock' - 'composer.lock'
phpunit-mysql: phpunit-mysql:
runs-on: ubuntu-latest runs-on: ${{ github.repository_owner == 'nextcloud-gmbh' && fromJSON('["self-hosted", "ubuntu-latest"]') || 'ubuntu-latest' }}
needs: [changes, matrix] needs: [changes, matrix]
if: needs.changes.outputs.src != 'false' if: needs.changes.outputs.src != 'false'

View File

@@ -61,7 +61,7 @@ jobs:
- 'composer.lock' - 'composer.lock'
phpunit-pgsql: phpunit-pgsql:
runs-on: ubuntu-latest runs-on: ${{ github.repository_owner == 'nextcloud-gmbh' && fromJSON('["self-hosted", "ubuntu-latest"]') || 'ubuntu-latest' }}
needs: [changes, matrix] needs: [changes, matrix]
if: needs.changes.outputs.src != 'false' if: needs.changes.outputs.src != 'false'

View File

@@ -61,7 +61,7 @@ jobs:
- 'composer.lock' - 'composer.lock'
phpunit-sqlite: phpunit-sqlite:
runs-on: ubuntu-latest runs-on: ${{ github.repository_owner == 'nextcloud-gmbh' && fromJSON('["self-hosted", "ubuntu-latest"]') || 'ubuntu-latest' }}
needs: [changes, matrix] needs: [changes, matrix]
if: needs.changes.outputs.src != 'false' if: needs.changes.outputs.src != 'false'

View File

@@ -22,7 +22,7 @@ permissions:
jobs: jobs:
pr-feedback: pr-feedback:
if: ${{ github.repository_owner == 'nextcloud' }} if: ${{ github.repository_owner == 'nextcloud' }}
runs-on: ubuntu-latest runs-on: ${{ github.repository_owner == 'nextcloud-gmbh' && fromJSON('["self-hosted", "ubuntu-latest"]') || 'ubuntu-latest' }}
steps: steps:
- name: The get-github-handles-from-website action - name: The get-github-handles-from-website action
uses: marcelklehr/get-github-handles-from-website-action@06b2239db0a48fe1484ba0bfd966a3ab81a08308 # v1.0.1 uses: marcelklehr/get-github-handles-from-website-action@06b2239db0a48fe1484ba0bfd966a3ab81a08308 # v1.0.1

View File

@@ -19,7 +19,7 @@ permissions:
jobs: jobs:
static-analysis: static-analysis:
runs-on: ubuntu-latest runs-on: ${{ github.repository_owner == 'nextcloud-gmbh' && fromJSON('["self-hosted", "ubuntu-latest"]') || 'ubuntu-latest' }}
name: static-psalm-analysis name: static-psalm-analysis
steps: steps:

View File

@@ -16,7 +16,7 @@ permissions:
jobs: jobs:
reuse-compliance-check: reuse-compliance-check:
runs-on: ubuntu-latest runs-on: ${{ github.repository_owner == 'nextcloud-gmbh' && fromJSON('["self-hosted", "ubuntu-latest"]') || 'ubuntu-latest' }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

View File

@@ -18,7 +18,7 @@ permissions:
jobs: jobs:
update-nextcloud-ocp: update-nextcloud-ocp:
runs-on: ubuntu-latest runs-on: ${{ github.repository_owner == 'nextcloud-gmbh' && fromJSON('["self-hosted", "ubuntu-latest"]') || 'ubuntu-latest' }}
strategy: strategy:
fail-fast: false fail-fast: false