CI restructuring
Bumping yamllint version to 1.33.0 Removing heavy CI jobs from pipeline Removing molecule jobs from pipeline Removing doc build and promotion Fixing indentation in impacted ansible files Signed-off-by: Jiri Podivin <jpodivin@redhat.com> Change-Id: I113f1415db37bebb359e325858094a59077ec57a
This commit is contained in:
parent
fd60b7dd45
commit
eb00c0fc9d
@ -21,7 +21,7 @@ repos:
|
||||
entry: flake8 --ignore=E24,E121,E122,E123,E124,E126,E226,E265,E305,E402,F401,F405,E501,E704,F403,F841,W503,W605
|
||||
|
||||
- repo: https://github.com/adrienverge/yamllint.git
|
||||
rev: v1.26.1
|
||||
rev: v1.33.0
|
||||
hooks:
|
||||
- id: yamllint
|
||||
files: \.(yaml|yml)$
|
||||
|
@ -3,10 +3,10 @@
|
||||
hosts: all
|
||||
|
||||
tasks:
|
||||
- name: Copy http_server.py
|
||||
copy:
|
||||
src: ../scripts/http_server.py
|
||||
dest: /
|
||||
- name: Copy http_server.py
|
||||
copy:
|
||||
src: ../scripts/http_server.py
|
||||
dest: /
|
||||
|
||||
- name: "Start http_server.py scenario {{ molecule_yml.scenario.name }}"
|
||||
shell: cd /; nohup python3 /http_server.py --scenario {{ molecule_yml.scenario.name }} > http_server.log 2>&1 &
|
||||
- name: "Start http_server.py scenario {{ molecule_yml.scenario.name }}"
|
||||
shell: cd /; nohup python3 /http_server.py --scenario {{ molecule_yml.scenario.name }} > http_server.log 2>&1 &
|
||||
|
@ -18,7 +18,7 @@
|
||||
hosts: all
|
||||
gather_facts: false
|
||||
tasks:
|
||||
# This is an example playbook to execute your ansible tests.
|
||||
- name: Example assertion
|
||||
assert:
|
||||
that: true
|
||||
# This is an example playbook to execute your ansible tests.
|
||||
- name: Example assertion
|
||||
assert:
|
||||
that: true
|
||||
|
1
tox.ini
1
tox.ini
@ -56,7 +56,6 @@ commands = oslo_debug_helper {posargs}
|
||||
deps =
|
||||
-r {toxinidir}/requirements.txt
|
||||
-r {toxinidir}/test-requirements.txt
|
||||
-r {toxinidir}/molecule-requirements.txt
|
||||
-c {env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
commands =
|
||||
ansible-galaxy install -fr {toxinidir}/ansible-collections-requirements.yml
|
||||
|
@ -1,82 +1,14 @@
|
||||
---
|
||||
- project:
|
||||
templates:
|
||||
- tripleo-validations-molecule-jobs
|
||||
- release-notes-jobs-python3
|
||||
- check-requirements
|
||||
check:
|
||||
jobs:
|
||||
- openstack-tox-linters
|
||||
- openstack-tox-py38
|
||||
- openstack-tox-py39
|
||||
- tripleo-ci-centos-9-content-provider:
|
||||
irrelevant-files: &docs_only_files
|
||||
- ^.*\.rst$
|
||||
- ^doc/.*$
|
||||
- ^releasenotes/.*$
|
||||
dependencies:
|
||||
- openstack-tox-linters
|
||||
- openstack-tox-py38
|
||||
- openstack-tox-py39
|
||||
- tripleo-ci-centos-9-standalone-tv-validation:
|
||||
irrelevant-files: *docs_only_files
|
||||
vars: &consumer_vars
|
||||
consumer_job: true
|
||||
build_container_images: false
|
||||
dependencies:
|
||||
- tripleo-ci-centos-9-content-provider
|
||||
- tripleo-ci-centos-9-containers-multinode:
|
||||
irrelevant-files: *docs_only_files
|
||||
vars:
|
||||
<<: *consumer_vars
|
||||
enable_validation: true
|
||||
playbooks:
|
||||
- multinode.yml
|
||||
remove_tags:
|
||||
- build
|
||||
validations_inventory: ""
|
||||
dependencies:
|
||||
- tripleo-ci-centos-9-content-provider
|
||||
- openstack-tox-docs: &tripleo-docs
|
||||
files:
|
||||
- ^doc/.*
|
||||
- ^groups.yaml
|
||||
- ^molecule-requirements.txt
|
||||
- ^requirements.txt
|
||||
- ^README.rst
|
||||
- ^tripleo_validations/.*
|
||||
- ^roles/.*
|
||||
- ^playbooks/.*
|
||||
- ^library/.*
|
||||
gate:
|
||||
jobs:
|
||||
- openstack-tox-linters
|
||||
- openstack-tox-py38
|
||||
- openstack-tox-py39
|
||||
- tripleo-ci-centos-9-content-provider:
|
||||
irrelevant-files: *docs_only_files
|
||||
dependencies:
|
||||
- openstack-tox-linters
|
||||
- openstack-tox-py38
|
||||
- openstack-tox-py39
|
||||
- openstack-tox-docs: *tripleo-docs
|
||||
- tripleo-ci-centos-9-standalone-tv-validation:
|
||||
irrelevant-files: *docs_only_files
|
||||
vars: *consumer_vars
|
||||
dependencies:
|
||||
- tripleo-ci-centos-9-content-provider
|
||||
- tripleo-ci-centos-9-containers-multinode:
|
||||
irrelevant-files: *docs_only_files
|
||||
vars:
|
||||
<<: *consumer_vars
|
||||
enable_validation: true
|
||||
playbooks:
|
||||
- multinode.yml
|
||||
remove_tags:
|
||||
- build
|
||||
dependencies:
|
||||
- tripleo-ci-centos-9-content-provider
|
||||
|
||||
promote:
|
||||
jobs:
|
||||
- promote-openstack-tox-docs: *tripleo-docs
|
||||
|
Loading…
x
Reference in New Issue
Block a user