Skip to content

Commit

Permalink
DROP ME: execute on self-hosted only
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
  • Loading branch information
blizzz committed Aug 30, 2024
1 parent 3c0d365 commit be786ca
Show file tree
Hide file tree
Showing 20 changed files with 41 additions and 41 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/app-upgrade-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:

jobs:
changes:
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-latest]

outputs:
src: ${{ steps.changes.outputs.src}}
Expand All @@ -39,7 +39,7 @@ jobs:
- 'composer.lock'
app-upgrade-mysql:
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-latest]

needs: changes
if: needs.changes.outputs.src != 'false'
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
summary:
permissions:
contents: none
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-latest]
needs: [changes, app-upgrade-mysql]

if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/appstore-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

jobs:
build_and_publish:
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-latest]

# Only allowed to be run on nextcloud-releases repositories
if: ${{ github.repository_owner == 'nextcloud-releases' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/command-rebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions:

jobs:
rebase:
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-latest]
permissions:
contents: none

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ env:

jobs:
integration:
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-latest]

strategy:
fail-fast: false
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint-eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:

jobs:
changes:
runs-on: ubuntu-latest-low
runs-on: [self-hosted, ubuntu-latest]-low
permissions:
contents: read
pull-requests: read
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
- '**.vue'
lint:
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-latest]

needs: changes
if: needs.changes.outputs.src != 'false'
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
runs-on: [self-hosted, ubuntu-latest]-low
needs: [changes, lint]

if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-php-cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:

jobs:
lint:
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-latest]

name: php-cs

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:

jobs:
matrix:
runs-on: ubuntu-latest-low
runs-on: [self-hosted, ubuntu-latest]-low
outputs:
php-versions: ${{ steps.versions.outputs.php-versions }}
steps:
Expand All @@ -30,7 +30,7 @@ jobs:
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.0.0

php-lint:
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-latest]
needs: matrix
strategy:
matrix:
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
runs-on: [self-hosted, ubuntu-latest]-low
needs: php-lint

if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-stylelint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:

jobs:
lint:
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-latest]

name: stylelint

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:

jobs:
changes:
runs-on: ubuntu-latest-low
runs-on: [self-hosted, ubuntu-latest]-low
permissions:
contents: read
pull-requests: read
Expand All @@ -45,7 +45,7 @@ jobs:
- '**.vue'
build:
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-latest]

needs: changes
if: needs.changes.outputs.src != 'false'
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
runs-on: [self-hosted, ubuntu-latest]-low
needs: [changes, build]

if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-audit-fix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-latest]

strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ concurrency:

jobs:
openapi:
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-latest]

if: ${{ github.repository_owner != 'nextcloud-gmbh' }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/phpunit-mariadb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:

jobs:
matrix:
runs-on: ubuntu-latest-low
runs-on: [self-hosted, ubuntu-latest]-low
outputs:
php-version: ${{ steps.versions.outputs.php-available-list }}
server-max: ${{ steps.versions.outputs.branches-max-list }}
Expand All @@ -32,7 +32,7 @@ jobs:
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1

changes:
runs-on: ubuntu-latest-low
runs-on: [self-hosted, ubuntu-latest]-low
permissions:
contents: read
pull-requests: read
Expand All @@ -59,7 +59,7 @@ jobs:
- 'composer.lock'
phpunit-mariadb:
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-latest]

needs: [changes, matrix]
if: needs.changes.outputs.src != 'false'
Expand Down Expand Up @@ -181,7 +181,7 @@ jobs:
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
runs-on: [self-hosted, ubuntu-latest]-low
needs: [changes, phpunit-mariadb]

if: always()
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/phpunit-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:

jobs:
matrix:
runs-on: ubuntu-latest-low
runs-on: [self-hosted, ubuntu-latest]-low
outputs:
matrix: ${{ steps.versions.outputs.sparse-matrix }}
steps:
Expand All @@ -33,7 +33,7 @@ jobs:
matrix: '{"mysql-versions": ["8.4"]}'

changes:
runs-on: ubuntu-latest-low
runs-on: [self-hosted, ubuntu-latest]-low
permissions:
contents: read
pull-requests: read
Expand All @@ -60,7 +60,7 @@ jobs:
- 'composer.lock'
phpunit-mysql:
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-latest]

needs: [changes, matrix]
if: needs.changes.outputs.src != 'false'
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
runs-on: [self-hosted, ubuntu-latest]-low
needs: [changes, phpunit-mysql]

if: always()
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/phpunit-pgsql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:

jobs:
matrix:
runs-on: ubuntu-latest-low
runs-on: [self-hosted, ubuntu-latest]-low
outputs:
php-version: ${{ steps.versions.outputs.php-available-list }}
server-max: ${{ steps.versions.outputs.branches-max-list }}
Expand All @@ -32,7 +32,7 @@ jobs:
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1

changes:
runs-on: ubuntu-latest-low
runs-on: [self-hosted, ubuntu-latest]-low
permissions:
contents: read
pull-requests: read
Expand All @@ -59,7 +59,7 @@ jobs:
- 'composer.lock'
phpunit-pgsql:
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-latest]

needs: [changes, matrix]
if: needs.changes.outputs.src != 'false'
Expand Down Expand Up @@ -177,7 +177,7 @@ jobs:
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
runs-on: [self-hosted, ubuntu-latest]-low
needs: [changes, phpunit-pgsql]

if: always()
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/phpunit-sqlite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:

jobs:
matrix:
runs-on: ubuntu-latest-low
runs-on: [self-hosted, ubuntu-latest]-low
outputs:
php-version: ${{ steps.versions.outputs.php-available-list }}
server-max: ${{ steps.versions.outputs.branches-max-list }}
Expand All @@ -32,7 +32,7 @@ jobs:
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1

changes:
runs-on: ubuntu-latest-low
runs-on: [self-hosted, ubuntu-latest]-low
permissions:
contents: read
pull-requests: read
Expand All @@ -59,7 +59,7 @@ jobs:
- 'composer.lock'
phpunit-sqlite:
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-latest]

needs: [changes, matrix]
if: needs.changes.outputs.src != 'false'
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
runs-on: [self-hosted, ubuntu-latest]-low
needs: [changes, phpunit-sqlite]

if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-feedback.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:

jobs:
pr-feedback:
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-latest]
steps:
- name: The get-github-handles-from-website action
uses: marcelklehr/get-github-handles-from-website-action@a739600f6b91da4957f51db0792697afbb2f143c # v1.0.0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/psalm-matrix-custom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:

jobs:
static-analysis:
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-latest]
strategy:
# do not stop on another job's failure
fail-fast: false
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
run: composer run psalm

summary:
runs-on: ubuntu-latest-low
runs-on: [self-hosted, ubuntu-latest]-low
needs: static-analysis

if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/renovate-approve-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ concurrency:
jobs:
auto-approve-merge:
if: github.actor == 'renovate[bot]'
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-latest]
permissions:
# for hmarr/auto-approve-action to approve PRs
pull-requests: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on: [pull_request]

jobs:
reuse-compliance-check:
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-latest]
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-nextcloud-ocp-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:

jobs:
update-nextcloud-ocp:
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-latest]

strategy:
fail-fast: false
Expand Down

0 comments on commit be786ca

Please sign in to comment.