X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-macros.yaml;h=12671972227de9159cc4b82db71c0ec31b94637c;hb=5fbc7e5d91972c465b940e1ce0aa1e25d6b66e5e;hp=ba419c691df142406f4794b1ab0200d5e334a8d8;hpb=efa150495598d7cb652e9a91ec5257ee40f06190;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-macros.yaml b/jjb/lf-macros.yaml index ba419c69..12671972 100644 --- a/jjb/lf-macros.yaml +++ b/jjb/lf-macros.yaml @@ -10,6 +10,19 @@ - inject: properties-file: $WORKSPACE/.dependency.properties +- builder: + name: lf-license-check + builders: + - inject: + properties-content: | + FILE_PATTERNS={file-patterns} + SPDX_DISABLE={spdx-disable} + LHC_VERSION={lhc-version} + LICENSE_EXCLUDE_PATHS={license-exclude-paths} + LICENSES_ALLOWED={licenses-allowed} + - shell: !include-raw-escape: + - ../shell/license-check.sh + - builder: name: lf-infra-create-netrc builders: @@ -52,6 +65,12 @@ - description-setter: regexp: '^Build logs: .*' +- builder: + name: lf-infra-package-listing + builders: + - shell: !include-raw: + - ../shell/package-listing.sh + - builder: name: lf-infra-packer-build builders: @@ -91,12 +110,12 @@ builders: - inject: properties-content: | - PROJECT='{project}' - GERRIT_COMMIT_MESSAGE='{gerrit-commit-message}' - GERRIT_HOST='{gerrit-host}' - GERRIT_TOPIC='{gerrit-topic}' - GERRIT_USER='{gerrit-user}' - REVIEWERS_EMAIL='{reviewers-email}' + PROJECT={project} + GERRIT_COMMIT_MESSAGE={gerrit-commit-message} + GERRIT_HOST={gerrit-host} + GERRIT_TOPIC={gerrit-topic} + GERRIT_USER={gerrit-user} + REVIEWERS_EMAIL={reviewers-email} - shell: !include-raw-escape: ../shell/gerrit-push-patch.sh - builder: @@ -427,6 +446,7 @@ - UNSTABLE build-steps: - lf-infra-sysstat + - lf-infra-package-listing - lf-infra-ship-logs mark-unstable-if-failed: true - workspace-cleanup: @@ -470,25 +490,6 @@ recursive: '{submodule-recursive}' choosing-strategy: '{choosing-strategy}' -############ -# TRIGGERS # -############ - -- trigger: - name: lf-infra-github-pr-trigger - triggers: - - github-pull-request: - trigger-phrase: '{trigger-phrase}' - only-trigger-phrase: '{only-trigger-phrase}' - status-context: '{status-context}' - permit-all: '{permit-all}' - github-hooks: '{github-hooks}' - auto-close-on-fail: false - org-list: - - '{github-org}' - white-list: '{obj:github_pr_whitelist}' - admin-list: '{obj:github_pr_admin_list}' - ############ # WRAPPERS # ############