ci: fix missing dependencies for scripts.generate_ci_config

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-05-16 23:56:38 +02:00
parent b66626f9c4
commit e5ebe390d2
1 changed files with 7 additions and 6 deletions

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:
@ -314,7 +315,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()