Macros
======
-lf-releases
------------
+lf-release
+----------
Release verify and merge jobs are the same except for their scm, trigger, and
builders definition. This anchor is the common template.
:Template Name:
- - {project-name}-releases-merge-{stream}
+ - {project-name}-release-merge-{stream}
:Comment Trigger: remerge
:Template Names:
- - {project-name}-releases-verify-{stream}
+ - {project-name}-release-verify-{stream}
:Comment Trigger: recheck|reverify
# COMMON FUNCTIONS #
####################
-- lf_releases_common: &lf_releases_common
- name: lf-releases-common
+- lf_release_common: &lf_release_common
+ name: lf-release-common
######################
# Default parameters #
# RELEASE VERIFY #
##################
-- lf_releases_verify: &lf_releases_verify
- name: lf-releases-verify
+- lf_release_verify: &lf_release_verify
+ name: lf-release-verify
######################
# Default parameters #
variable: SIGUL_PKI
- shell: !include-raw-escape: ../shell/sigul-configuration.sh
- shell: !include-raw-escape: ../shell/sigul-install.sh
- - lf-releases
+ - lf-release
- job-template:
- name: '{project-name}-releases-verify-{stream}'
- id: gerrit-releases-verify
- <<: *lf_releases_common
+ name: '{project-name}-release-verify-{stream}'
+ id: gerrit-release-verify
+ <<: *lf_release_common
# yamllint disable-line rule:key-duplicates
- <<: *lf_releases_verify
+ <<: *lf_release_verify
scm:
- lf-infra-gerrit-scm:
# RELEASE MERGE #
#################
-- lf_releases_merge: &lf_releases_merge
- name: lf-releases-merge
+- lf_release_merge: &lf_release_merge
+ name: lf-release-merge
######################
# Default parameters #
variable: SIGUL_PKI
- shell: !include-raw-escape: ../shell/sigul-configuration.sh
- shell: !include-raw-escape: ../shell/sigul-install.sh
- - lf-releases
+ - lf-release
- job-template:
- name: '{project-name}-releases-merge-{stream}'
- id: gerrit-releases-merge
- <<: *lf_releases_common
+ name: '{project-name}-release-merge-{stream}'
+ id: gerrit-release-merge
+ <<: *lf_release_common
# yamllint disable-line rule:key-duplicates
- <<: *lf_releases_merge
+ <<: *lf_release_merge
scm:
- lf-infra-gerrit-scm:
--- /dev/null
+---
+upgrade:
+ - |
+ This change will require to update lf-release-job calls.
+ Update from using "{project-name}-releases-merge-{stream}",
+ "{project-name}-releases-verify-{stream}" to "{project-name}-release-merge-{stream}",
+ "{project-name}-release-verify-{stream}".
+ No upgrade need to be done if using "{project-name}-gerrit-release-jobs"
+ group.
+
+fixes:
+ - |
+ Using "releases" and "release" in different places is becoming confusing.
+ Standardize to "release" to match lftools command and the majority of the
+ exisiting wording.
+
+ Use "releases" for the list of tech team releases and trggers since it is
+ intuitive there. For example "releases/1.1.1.yaml"