X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-macros.yaml;fp=jjb%2Flf-macros.yaml;h=59b249f2c4a9f2e671354f9d7c74283fa4bb5d87;hb=b65f75f9185892ce5980ac40a8e4f0e4a332412c;hp=9572f8853a1bc8658c5e954e1401d910e5bf10b7;hpb=d8e3dc493b1ba8b5a462887c6fa90a51c86bedc2;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-macros.yaml b/jjb/lf-macros.yaml index 9572f885..59b249f2 100644 --- a/jjb/lf-macros.yaml +++ b/jjb/lf-macros.yaml @@ -186,20 +186,6 @@ - file-id: '{settings-file}' variable: 'SETTINGS_FILE' -- builder: - name: lf-provide-sigul-configuration - # Push configuration files to interact with sigul - builders: - - config-file-provider: - files: - - file-id: sigul-config - variable: SIGUL_CONFIG - - file-id: sigul-password - variable: SIGUL_PASSWORD - - file-id: sigul-pki - variable: SIGUL_PKI - - shell: !include-raw: ../shell/sigul-configuration.sh - - builder: name: lf-pip-install builders: @@ -224,12 +210,6 @@ # DO NOT fail build if any of the above lines fail. exit 0 -- builder: - name: lf-provide-sigul-configuration-cleanup - # Clear sigul configuration files after we're done using them - builders: - - shell: !include-raw: ../shell/sigul-configuration-cleanup.sh - - builder: name: lf-rtd-trigger-build builders: @@ -249,11 +229,30 @@ - ../shell/rtd-verify.sh - builder: - name: lf-sigul-install + name: lf-sigul-sign-dir # Requires that Jenkins be configured with SIGUL_BRIDGE_IP as a global # Environment variable builders: - - shell: !include-raw: ../shell/sigul-install.sh + - conditional-step: + condition-kind: boolean-expression + condition-expression: '{sign-artifacts}' + steps: + - config-file-provider: + files: + - file-id: sigul-config + variable: SIGUL_CONFIG + - file-id: sigul-password + variable: SIGUL_PASSWORD + - file-id: sigul-pki + variable: SIGUL_PKI + - shell: !include-raw-escape: ../shell/sigul-configuration.sh + - shell: !include-raw-escape: ../shell/sigul-install.sh + - inject: + properties-content: SIGN_DIR={sign-dir} + - shell: !include-raw-escape: + - ../shell/common-variables.sh + - ../shell/sigul-sign-dir.sh + - shell: !include-raw-escape: ../shell/sigul-configuration-cleanup.sh - builder: name: lf-infra-provide-docker-cleanup