Skip to content

edgeXInfraLFToolsSign

Overview

Shared library that wraps signing of git tags or files in a directory using lftools and Sigul. The signing is done inside a docker image managed by the EdgeX DevOps team.

Important: Signing git tags, requires the git tag to be an annotated tag. (git tag -a)

Parameters

Name Required Type Description and Default Value
sigulConfig false str Config file Id that contains the Sigul config.

Default: sigul-config
sigulPassword false str Config file Id that contains the Sigul password.

Default: sigul-password
sigulPKI false str Config file Id that contains the Sigul PKI information.

Default: sigul-pki
lftoolsImageVersion false str DevOps managed lftools image version tag.

Default: 0.23.1-centos7
command true str Command to run.

Valid values: dir, git-tag
directory true str Required if command is dir.
version true str Required if command is git-tag.
mode false str lftools sign mode.

Default: parallel

Usage

edgeXInfraLFToolsSign(command: 'git-tag', version: 'v2.0.0')
edgeXInfraLFToolsSign([command: 'dir', directory: 'MyDirectory'])