Merge branch 'master' into openapi-v3

This commit is contained in:
Jens Langhammer 2021-05-17 00:12:30 +02:00
commit c4751e4b59

View file

@ -44,7 +44,7 @@ stages:
- task: CmdLine@2 - task: CmdLine@2
inputs: inputs:
script: | script: |
python -m scripts.generate_ci_config pipenv run python -m scripts.generate_ci_config
pipenv run pylint authentik tests lifecycle pipenv run pylint authentik tests lifecycle
- job: black - job: black
pool: pool:
@ -143,7 +143,7 @@ stages:
- task: CmdLine@2 - task: CmdLine@2
inputs: inputs:
script: | script: |
python -m scripts.generate_ci_config pipenv run python -m scripts.generate_ci_config
pipenv run ./manage.py migrate pipenv run ./manage.py migrate
- job: migrations_from_previous_release - job: migrations_from_previous_release
pool: pool:
@ -176,7 +176,7 @@ stages:
displayName: Migrate to last tagged release displayName: Migrate to last tagged release
inputs: inputs:
script: | script: |
python -m scripts.generate_ci_config pipenv run python -m scripts.generate_ci_config
pipenv run python -m lifecycle.migrate pipenv run python -m lifecycle.migrate
- task: CmdLine@2 - task: CmdLine@2
displayName: Install current branch displayName: Install current branch
@ -189,6 +189,7 @@ stages:
displayName: Migrate to current branch displayName: Migrate to current branch
inputs: inputs:
script: | script: |
pipenv run python -m scripts.generate_ci_config
pipenv run python -m lifecycle.migrate pipenv run python -m lifecycle.migrate
- job: coverage_unittest - job: coverage_unittest
pool: pool:
@ -214,7 +215,7 @@ stages:
displayName: Run full test suite displayName: Run full test suite
inputs: inputs:
script: | script: |
python -m scripts.generate_ci_config pipenv run python -m scripts.generate_ci_config
pipenv run make test pipenv run make test
- task: CmdLine@2 - task: CmdLine@2
inputs: inputs:
@ -258,7 +259,7 @@ stages:
displayName: Run full test suite displayName: Run full test suite
inputs: inputs:
script: | script: |
python -m scripts.generate_ci_config pipenv run python -m scripts.generate_ci_config
pipenv run make test-integration pipenv run make test-integration
- task: CmdLine@2 - task: CmdLine@2
inputs: inputs:
@ -313,7 +314,7 @@ stages:
displayName: Run full test suite displayName: Run full test suite
inputs: inputs:
script: | script: |
python -m scripts.generate_ci_config pipenv run python -m scripts.generate_ci_config
pipenv run make test-e2e pipenv run make test-e2e
- task: CmdLine@2 - task: CmdLine@2
condition: always() condition: always()