Update Zuul CI

* Flake8 is moved to github now.
* tox-py38 job is broken on opendev - it uses default nodeset, which
  runs on ubuntu-jammy. But ubuntu-jammy does not have python 3.8,
  and job fails.
  Override it's nodeset to ubuntu-focal, which still has it.

Change-Id: Id9b20f48f112f659bbb4e891e73933b1c56250c1
This commit is contained in:
Vsevolod Fedorov 2022-12-19 11:40:48 +03:00
parent c12f334ac7
commit fee4e65cec
2 changed files with 8 additions and 2 deletions

View File

@ -12,7 +12,7 @@ repos:
- id: check-added-large-files - id: check-added-large-files
- id: end-of-file-fixer - id: end-of-file-fixer
- id: trailing-whitespace - id: trailing-whitespace
- repo: https://gitlab.com/pycqa/flake8.git - repo: https://github.com/PyCQA/flake8
rev: 3.7.8 rev: 3.7.8
hooks: hooks:
- id: flake8 - id: flake8

View File

@ -11,6 +11,7 @@
required-projects: required-projects:
- jjb/python-jenkins - jjb/python-jenkins
- jjb/jenkins-job-builder - jjb/jenkins-job-builder
nodeset: ubuntu-focal
voting: true voting: true
- job: - job:
@ -23,12 +24,17 @@
templates: templates:
- docs-on-readthedocs - docs-on-readthedocs
- openstack-python37-jobs-no-constraints - openstack-python37-jobs-no-constraints
- openstack-python38-jobs-no-constraints
vars: vars:
rtd_webhook_id: '47271' rtd_webhook_id: '47271'
check: check:
jobs: jobs:
- tox-py38:
nodeset: ubuntu-focal
- jjb-tox-linters - jjb-tox-linters
- jjb-tox-cross-python-jenkins - jjb-tox-cross-python-jenkins
- jjb-tox-docs-linkcheck - jjb-tox-docs-linkcheck
- tox-cover - tox-cover
gate:
jobs:
- tox-py38:
nodeset: ubuntu-focal