Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Template Parameters

Jeremy Poulin edited this page Nov 29, 2018 · 9 revisions

The test template exposes much of its configuration through the test parameters.

Parameter List

ARCHES

  • Available Since: v1.2.1
  • Default Value: x86_64,ppc64le
  • Description: A comma separated list of architectures to run the test on.
  • Required: true
  • Type: ValidatingStringParameterDefinition
  • Valid Values: x86_64, ppc64le, aarch64, s390x
  • Validation Regex: ^(?:x86_64|ppc64le|aarch64|s390x)(?:,\\s*(?:x86_64|ppc64le|aarch64|s390x))*$

LIBRARIES_REPO

  • Available Since: v0.3
  • Default Value: https://github.com/RedHat-MultiArch-QE/multiarch-ci-libraries
  • Description: Repo for shared libraries
  • Required: true
  • Type: String

LIBRARIES_REF

  • Available Since: v0.3
  • Default Value: v0.2
  • Description: Git reference to the branch or tag of shared libraries.
  • Required: true
  • Type: String

TEST_REPO

  • Available Since: v0.3
  • Default Value: ''
  • Description: Repo for tests to run. If left blank, the current repo is assumed (*note* this default will only work for multibranch pipelines).
  • Required: false
  • Type: String

TEST_REF

  • Available Since: v0.3
  • Default Value: ''
  • Description: Git reference to the branch or tag of the tests repo.
  • Required: false
  • Type: String

TEST_DIR

  • Available Since: v0.3
  • Default Value: tests
  • Description: Directory containing tests to run. Should at least one of the follow: an ansible-playbooks directory containing one or more test directories each of which having a playbook.yml, a scripts directory containing one or more test directories each of which having a run-test.sh.
  • Required: true
  • Type: String

CI_MESSAGE

  • Available Since: v0.3
  • Default Value: ''
  • Description: `Contains the CI_MESSAGE for a message bus triggered build.'
  • Required: false
  • Type: String

Deprecated

Several parameters where deprecated in v1.0 in favor of simplifying the template. See Configuring Secrets, Keytabs, and Keys for more details.

SSHPRIVKEYCREDENTIALID

  • Available In Versions: v0.3
  • Default Value: SSHPRIVKEY
  • Description: SSH private key Jenkins credential ID for Beaker/SSH operations.
  • Required: true
  • Type: String

SSHPUBKEYCREDENTIALID

  • Available In Versions: v0.3
  • Default Value: SSHPUBKEY
  • Description: SSH public key Jenkins credential ID for Beaker/SSH operations.
  • Required: true
  • Type: String

KEYTABID

  • Available In Versions: v0.3
  • Default Value: KEYTAB
  • Description: Kerberos keytab file Jenkins credential ID for Beaker/SSH operations.
  • Required: true
  • Type: String

JENKINSSLAVECREDENTIALID

  • Available In Versions: v0.3
  • Default Value: JENKINS_SLAVE_CREDENTIALS
  • Description: Jenkins slave credential ID for connecting slaves using cinch via JSwarm.
  • Required: true unless runOnSlave is set to false in ProvisioningConfig
  • Type: String

ARCHES

  • Available In Versions: v0.3-v1.2.0
  • Default Value: x86_64,ppc64le
  • Description: A comma separated list of architectures to run the test on.
  • Required: true
  • Type: String
  • Valid Values: x86_64, ppc64le, aarch64, s390x