mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Implement a framework for having common code for release scripts (#55893)
* Implement a framework for having common code for release scripts * Release scripts will go through hacking/build-ansible. build-ansible is a pluggable script which will set a directory that has common code for non-enduser scripts. It will then invoke the plugin which implements that subcommand. Uses straight.plugin for loading each sub-command. * We're going to add tools which are needed to test ansible (the changelog generation, for instance) so we need to include the pieces relevant to that in the tarball. * Add straight.plugin to the sanity test requirements for the same reason * Skip compile test just for build-ansible plugins which won't be run as part of sanity tests.
This commit is contained in:
@@ -7,6 +7,7 @@ pylint ; python_version >= '3.5' # pylint 2.0.0 and later require python 3+
|
||||
pytest
|
||||
rstcheck ; python_version >= '2.7' # rstcheck requires python 2.7+
|
||||
sphinx
|
||||
straight.plugin # needed for hacking/build-ansible which will host changelog generation
|
||||
virtualenv
|
||||
voluptuous
|
||||
yamllint
|
||||
|
||||
@@ -39,8 +39,7 @@ def main():
|
||||
'test/utils/shippable/timing.py',
|
||||
'test/integration/targets/old_style_modules_posix/library/helloworld.sh',
|
||||
# The following are Python 3.6+. Only run by release engineers
|
||||
'hacking/release-announcement.py',
|
||||
'hacking/porting-guide.py',
|
||||
'hacking/build-ansible',
|
||||
])
|
||||
|
||||
# see https://unicode.org/faq/utf_bom.html#bom1
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# The following are only run by release engineers who can be asked to have newer Python3 on their systems
|
||||
hacking/release-announcement.py
|
||||
hacking/porting-guide.py
|
||||
hacking/build_library/build_ansible/command_plugins/porting_guide.py
|
||||
hacking/build_library/build_ansible/command_plugins/release_announcement.py
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# The following are only run by release engineers who can be asked to have newer Python3 on their systems
|
||||
hacking/release-announcement.py
|
||||
hacking/porting-guide.py
|
||||
hacking/build_library/build_ansible/command_plugins/porting_guide.py
|
||||
hacking/build_library/build_ansible/command_plugins/release_announcement.py
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# The following are only run by release engineers who can be asked to have newer Python3 on their systems
|
||||
hacking/release-announcement.py
|
||||
hacking/porting-guide.py
|
||||
hacking/build_library/build_ansible/command_plugins/porting_guide.py
|
||||
hacking/build_library/build_ansible/command_plugins/release_announcement.py
|
||||
|
||||
Reference in New Issue
Block a user