X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-macros.yaml;h=667e75b78749b38fbd786240dc4df39677da2b0e;hb=6df99d7b6b5da664ff27ccb469581de5aea7f0e2;hp=f5021d262f64a1fc2020a4f4c4d3fe905d7aa7eb;hpb=15cf0ab6b637b7b011b8316a43f88a0946a86d40;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-macros.yaml b/jjb/lf-macros.yaml index f5021d26..667e75b7 100644 --- a/jjb/lf-macros.yaml +++ b/jjb/lf-macros.yaml @@ -11,6 +11,14 @@ builders: - shell: !include-raw: ../shell/comment-to-gerrit.sh +- builder: + name: lf-ansible-config-file-provider + builders: + - config-file-provider: + files: + - file-id: "ansible-cfg" + target: "$HOME/.ansible/ansible.cfg" + - builder: name: lf-fetch-dependent-patches builders: @@ -112,6 +120,7 @@ - builder: name: lf-infra-packer-build builders: + - lf-ansible-config-file-provider - conditional-step: condition-kind: boolean-expression condition-expression: "{openstack}" @@ -569,6 +578,38 @@ default: "{node-version}" description: Version of NodeJS to install. +- parameter: + name: lf-infra-sonar-cli-parameters + parameters: + - string: + name: TOX_DIR + default: "{tox-dir}" + description: | + Path to directory containing tox.ini file. + - string: + name: TOX_ENVS + default: "{tox-envs}" + description: | + Tox environments to run build against. + - string: + name: SONAR_SCANNER_VERSION + default: "{sonar-scanner-version}" + description: | + Version of sonar scanner to use. + Example: 4.7.0.2747 + - string: + name: SONAR_SCANNER_HOME + default: "{sonar-scanner-home}" + description: | + Sonar scanner home directory. + Example: $WORKSPACE/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux + - string: + name: SONAR_SCANNER_OPTS + default: "{sonar-scanner-opts}" + description: | + Sonar scanner Java options. + Example: -server + - parameter: name: lf-infra-tox-parameters parameters: @@ -582,7 +623,7 @@ default: "{tox-envs}" description: | Tox environments to run build against. - Example: docs,py2,py3 + Example: docs,py3 - parameter: name: lf-build-with-parameters-maven-release