Maven Release Files
-------------------
-An example of a maven release file appears below.
+An example of a maven release file appears below. Name of release file
+must start with "maven". eg. releases/maven-1.0.0-test.yaml
.. code-block:: none
PyPI Release Files
------------------
-An example of a PyPI release file appears below.
+An example of a PyPI release file appears below. Name of the release file must
+start with "pypi". eg. releases/pypi-1.0.0-mypackage.yaml
.. code-block:: none
- $ cat releases/pypi-release.yaml
+ $ cat releases/pypi-1.0.0-mypackage.yaml
---
distribution_type: pypi
pypi_project: mypackage
PackageCloud Release Files
--------------------------
-An example of a PackageCloud release file appears below.
+An example of a PackageCloud release file appears below. Name of release file
+must start with "packagecloud". eg. releases/packagecloud-1.6.0-tree.yaml
.. code-block:: none
- $ cat releases/packagecloud-release.yaml
+ $ cat releases/packagecloud-1.6.0-tree.yaml
---
distribution_type: packagecloud
package_name:
**default**::
- compare-type: REG_EXP
- pattern: '(releases\/.*\.yaml|\.releases\/.*\.yaml)'
+ pattern: '(releases\/maven.*\.yaml|\.releases\/maven.*\.yaml)'
PyPI Release Merge
should be the repository pypy.org. (default: pypi)
:use-release-file: Whether to use the release file. (default: true)
+ :gerrit_trigger_file_paths: Override file paths filter which checks which
+ file modifications will trigger a build.
+ **default**::
+
+ - compare-type: REG_EXP
+ pattern: '(releases\/pypi.*\.yaml|\.releases\/pypi.*\.yaml)'
PyPI Release Verify
~~~~~~~~~~~~~~~~~~~
should be the repository pypy.org (default: pypi)
:use-release-file: Whether to use the release file. (default: true)
+ :gerrit_trigger_file_paths: Override file paths filter which checks which
+ file modifications will trigger a build.
+ **default**::
+
+ - compare-type: REG_EXP
+ pattern: '(releases\/pypi.*\.yaml|\.releases\/pypi.*\.yaml)'
PackageCloud Release Verify
~~~~~~~~~~~~~~~~~~~~~~~~~~~
**default**::
- compare-type: REG_EXP
- pattern: '(releases\/.*\.yaml|\.releases\/.*\.yaml)'
+ pattern: '(releases\/packagecloud.*\.yaml|\.releases\/packagecloud.*\.yaml)'
PackageCloud Release Merge
**default**::
- compare-type: reg_exp
- pattern: '(releases\/.*\.yaml|\.releases\/.*\.yaml)'
+ pattern: '(releases\/packagecloud.*\.yaml|\.releases\/packagecloud.*\.yaml)'
Setup for LFID, Nexus, Jenkins and Gerrit
branch-pattern: "**"
file-paths:
- compare-type: REG_EXP
- pattern: '(releases\/.*\.yaml|\.releases\/.*\.yaml)'
+ pattern: '(releases\/maven.*\.yaml|\.releases\/maven.*\.yaml)'
skip-vote:
successful: "{gerrit-skip-vote}"
failed: "{gerrit-skip-vote}"
branch-pattern: "**"
file-paths:
- compare-type: REG_EXP
- pattern: '(releases\/.*\.yaml|\.releases\/.*\.yaml)'
+ pattern: '(releases\/maven.*\.yaml|\.releases\/maven.*\.yaml)'
################
# PyPI RELEASE #
# define once and use twice; jobs MUST NOT override
gerrit_release_trigger_file_paths:
- compare-type: REG_EXP
- pattern: '(releases\/.*\.yaml|\.releases\/.*\.yaml)'
+ pattern: '(releases\/pypi.*\.yaml|\.releases\/pypi.*\.yaml)'
# yamllint disable-line rule:line-length
# github_release_included_regions MUST match gerrit_release_trigger_file_paths
github_release_included_regions:
- - 'releases\/.*\.yaml'
- - '.releases\/.*\.yaml'
+ - 'releases\/pypi.*\.yaml'
+ - '.releases\/pypi.*\.yaml'
parameters:
- lf-infra-parameters:
branch-pattern: "**"
file-paths:
- compare-type: REG_EXP
- pattern: '(releases\/.*\.yaml|\.releases\/.*\.yaml)'
+ pattern: '(releases\/packagecloud.*\.yaml|\.releases\
+ /packagecloud.*\.yaml)'
skip-vote:
successful: "{gerrit-skip-vote}"
failed: "{gerrit-skip-vote}"
branch-pattern: "**"
file-paths:
- compare-type: REG_EXP
- pattern: '(releases\/.*\.yaml|\.releases\/.*\.yaml)'
+ pattern: '(releases\/packagecloud.*\.yaml|\.releases\
+ /packagecloud.*\.yaml)'