This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
Author |
SHA1 |
Message |
Date |
Jens Langhammer
|
7cd85deec2
|
ci: try large runners
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
|
2023-08-31 11:48:37 +02:00 |
17 changed files with
41 additions and
41 deletions
|
|
|
@ -31,7 +31,7 @@ jobs:
|
|
|
|
|
- pylint
|
|
|
|
|
- pyright
|
|
|
|
|
- ruff
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
- name: Setup authentik env
|
|
|
|
@ -39,7 +39,7 @@ jobs:
|
|
|
|
|
- name: run job
|
|
|
|
|
run: poetry run make ci-${{ matrix.job }}
|
|
|
|
|
test-migrations:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
- name: Setup authentik env
|
|
|
|
@ -47,7 +47,7 @@ jobs:
|
|
|
|
|
- name: run migrations
|
|
|
|
|
run: poetry run python -m lifecycle.migrate
|
|
|
|
|
test-migrations-from-stable:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
continue-on-error: true
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
@ -82,7 +82,7 @@ jobs:
|
|
|
|
|
run: poetry run python -m lifecycle.migrate
|
|
|
|
|
test-unittest:
|
|
|
|
|
name: test-unittest - PostgreSQL ${{ matrix.psql }}
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
timeout-minutes: 30
|
|
|
|
|
strategy:
|
|
|
|
|
fail-fast: false
|
|
|
|
@ -105,7 +105,7 @@ jobs:
|
|
|
|
|
with:
|
|
|
|
|
flags: unit
|
|
|
|
|
test-integration:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
timeout-minutes: 30
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
@ -123,7 +123,7 @@ jobs:
|
|
|
|
|
flags: integration
|
|
|
|
|
test-e2e:
|
|
|
|
|
name: test-e2e (${{ matrix.job.name }})
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
timeout-minutes: 30
|
|
|
|
|
strategy:
|
|
|
|
|
fail-fast: false
|
|
|
|
@ -178,12 +178,12 @@ jobs:
|
|
|
|
|
- test-unittest
|
|
|
|
|
- test-integration
|
|
|
|
|
- test-e2e
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
steps:
|
|
|
|
|
- run: echo mark
|
|
|
|
|
build:
|
|
|
|
|
needs: ci-core-mark
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
timeout-minutes: 120
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
@ -228,7 +228,7 @@ jobs:
|
|
|
|
|
tag: gh-${{ steps.ev.outputs.branchNameContainer }}-${{ steps.ev.outputs.timestamp }}-${{ steps.ev.outputs.shortHash }}
|
|
|
|
|
build-arm64:
|
|
|
|
|
needs: ci-core-mark
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
timeout-minutes: 120
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
|
|
|
@ -12,7 +12,7 @@ on:
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
lint-golint:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
- uses: actions/setup-go@v4
|
|
|
|
@ -33,7 +33,7 @@ jobs:
|
|
|
|
|
args: --timeout 5000s --verbose
|
|
|
|
|
skip-pkg-cache: true
|
|
|
|
|
test-unittest:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
- uses: actions/setup-go@v4
|
|
|
|
@ -48,7 +48,7 @@ jobs:
|
|
|
|
|
needs:
|
|
|
|
|
- lint-golint
|
|
|
|
|
- test-unittest
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
steps:
|
|
|
|
|
- run: echo mark
|
|
|
|
|
build-container:
|
|
|
|
@ -62,7 +62,7 @@ jobs:
|
|
|
|
|
- proxy
|
|
|
|
|
- ldap
|
|
|
|
|
- radius
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
with:
|
|
|
|
@ -103,7 +103,7 @@ jobs:
|
|
|
|
|
timeout-minutes: 120
|
|
|
|
|
needs:
|
|
|
|
|
- ci-outpost-mark
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
strategy:
|
|
|
|
|
fail-fast: false
|
|
|
|
|
matrix:
|
|
|
|
|
|
|
|
@ -12,7 +12,7 @@ on:
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
lint-eslint:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
- uses: actions/setup-node@v3.8.1
|
|
|
|
@ -28,7 +28,7 @@ jobs:
|
|
|
|
|
working-directory: web/
|
|
|
|
|
run: npm run lint
|
|
|
|
|
lint-build:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
- uses: actions/setup-node@v3.8.1
|
|
|
|
@ -44,7 +44,7 @@ jobs:
|
|
|
|
|
working-directory: web/
|
|
|
|
|
run: npm run tsc
|
|
|
|
|
lint-prettier:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
- uses: actions/setup-node@v3.8.1
|
|
|
|
@ -60,7 +60,7 @@ jobs:
|
|
|
|
|
working-directory: web/
|
|
|
|
|
run: npm run prettier-check
|
|
|
|
|
lint-lit-analyse:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
- uses: actions/setup-node@v3.8.1
|
|
|
|
@ -86,13 +86,13 @@ jobs:
|
|
|
|
|
- lint-prettier
|
|
|
|
|
- lint-lit-analyse
|
|
|
|
|
- lint-build
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
steps:
|
|
|
|
|
- run: echo mark
|
|
|
|
|
build:
|
|
|
|
|
needs:
|
|
|
|
|
- ci-web-mark
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
- uses: actions/setup-node@v3.8.1
|
|
|
|
|
|
|
|
@ -12,7 +12,7 @@ on:
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
lint-prettier:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
- uses: actions/setup-node@v3.8.1
|
|
|
|
@ -26,7 +26,7 @@ jobs:
|
|
|
|
|
working-directory: website/
|
|
|
|
|
run: npm run prettier-check
|
|
|
|
|
test:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
- uses: actions/setup-node@v3.8.1
|
|
|
|
@ -40,7 +40,7 @@ jobs:
|
|
|
|
|
working-directory: website/
|
|
|
|
|
run: npm test
|
|
|
|
|
build:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
name: ${{ matrix.job }}
|
|
|
|
|
strategy:
|
|
|
|
|
fail-fast: false
|
|
|
|
@ -65,6 +65,6 @@ jobs:
|
|
|
|
|
- lint-prettier
|
|
|
|
|
- test
|
|
|
|
|
- build
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
steps:
|
|
|
|
|
- run: echo mark
|
|
|
|
|
|
|
|
@ -11,7 +11,7 @@ on:
|
|
|
|
|
jobs:
|
|
|
|
|
analyze:
|
|
|
|
|
name: Analyze
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
permissions:
|
|
|
|
|
actions: read
|
|
|
|
|
contents: read
|
|
|
|
|
|
|
|
@ -8,7 +8,7 @@ on:
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
cleanup:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
steps:
|
|
|
|
|
- name: Check out code
|
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
|
|
|
@ -8,7 +8,7 @@ on:
|
|
|
|
|
jobs:
|
|
|
|
|
clean-ghcr:
|
|
|
|
|
name: Delete old unused container images
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
steps:
|
|
|
|
|
- id: generate_token
|
|
|
|
|
uses: tibdex/github-app-token@v1
|
|
|
|
|
|
|
|
@ -21,7 +21,7 @@ on:
|
|
|
|
|
jobs:
|
|
|
|
|
compress:
|
|
|
|
|
name: compress
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
# Don't run on forks. Token will not be available. Will run on main and open a PR anyway
|
|
|
|
|
if: |
|
|
|
|
|
github.repository == 'goauthentik/authentik' &&
|
|
|
|
|
|
|
|
@ -12,7 +12,7 @@ env:
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
publish-source-docs:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
timeout-minutes: 120
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
|
|
|
@ -10,7 +10,7 @@ permissions:
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
update-next:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
environment: internal-production
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
|
|
|
@ -6,7 +6,7 @@ on:
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
build-server:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
- name: Set up QEMU
|
|
|
|
@ -46,7 +46,7 @@ jobs:
|
|
|
|
|
VERSION=${{ steps.ev.outputs.version }}
|
|
|
|
|
VERSION_FAMILY=${{ steps.ev.outputs.versionFamily }}
|
|
|
|
|
build-outpost:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
strategy:
|
|
|
|
|
fail-fast: false
|
|
|
|
|
matrix:
|
|
|
|
@ -95,7 +95,7 @@ jobs:
|
|
|
|
|
VERSION_FAMILY=${{ steps.ev.outputs.versionFamily }}
|
|
|
|
|
build-outpost-binary:
|
|
|
|
|
timeout-minutes: 120
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
strategy:
|
|
|
|
|
fail-fast: false
|
|
|
|
|
matrix:
|
|
|
|
@ -139,7 +139,7 @@ jobs:
|
|
|
|
|
- build-server
|
|
|
|
|
- build-outpost
|
|
|
|
|
- build-outpost-binary
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
- name: Run test suite in final docker images
|
|
|
|
@ -155,7 +155,7 @@ jobs:
|
|
|
|
|
- build-server
|
|
|
|
|
- build-outpost
|
|
|
|
|
- build-outpost-binary
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
- name: prepare variables
|
|
|
|
|
|
|
|
@ -8,7 +8,7 @@ on:
|
|
|
|
|
jobs:
|
|
|
|
|
build:
|
|
|
|
|
name: Create Release from Tag
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
- name: Pre-release test
|
|
|
|
|
|
|
|
@ -11,7 +11,7 @@ permissions:
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
stale:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
steps:
|
|
|
|
|
- id: generate_token
|
|
|
|
|
uses: tibdex/github-app-token@v1
|
|
|
|
|
|
|
|
@ -11,7 +11,7 @@ on:
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
post-comment:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
steps:
|
|
|
|
|
- name: Find Comment
|
|
|
|
|
uses: peter-evans/find-comment@v2
|
|
|
|
|
|
|
|
@ -13,7 +13,7 @@ env:
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
compile:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
steps:
|
|
|
|
|
- id: generate_token
|
|
|
|
|
uses: tibdex/github-app-token@v1
|
|
|
|
|
|
|
|
@ -7,7 +7,7 @@ on:
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
rename_pr:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
if: ${{ github.event.pull_request.user.login == 'transifex-integration[bot]'}}
|
|
|
|
|
steps:
|
|
|
|
|
- id: generate_token
|
|
|
|
|
|
|
|
@ -7,7 +7,7 @@ on:
|
|
|
|
|
workflow_dispatch:
|
|
|
|
|
jobs:
|
|
|
|
|
build:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
runs-on: large-4core-ubuntu-22.04
|
|
|
|
|
steps:
|
|
|
|
|
- id: generate_token
|
|
|
|
|
uses: tibdex/github-app-token@v1
|
|
|
|
|