Step: baremetalds-assisted-conf-devscripts-extraworkers

Configure dev-scripts environment variables NUM_EXTRA_WORKERS outside of DEVSCRIPTS_CONFIG. Configures dev-scripts to create extra VMs but not deploy them in the original cluster if APPLY_EXTRA_WORKERS=false. The defaults are NUM_EXTRA_WORKERS=0 and APPLY_EXTRA_WORKERS=false. For more information on these values refer to https://github.com/openshift-metal3/dev-scripts/blob/master/config_example.sh

Container image used for this step: baremetal-installer

baremetal-installer resolves to an image built or imported by the ci-operator configuration (documentation).

Environment

In addition to the default environment, the step exposes the following:

Variable Name Type Variable Content
NUM_EXTRA_WORKERS Parameter[?] Indicate number of extra VMs to create but not deploy. (default: 0)

Source Code

1
2
3
4
5
6
7
8
9
#!/bin/bash

set -o nounset
set -o errexit
set -o pipefail

echo "************ baremetalds assisted conf devscripts extraworkers command ************"

echo "export NUM_EXTRA_WORKERS=${NUM_EXTRA_WORKERS}" | tee -a "${SHARED_DIR}/dev-scripts-additional-config"

Properties

Property Value Description
Resource requests (cpu) 1000m Used in .resources.requests of the pod running this step.
Resource requests (memory) 500Mi Used in .resources.requests of the pod running this step.

GitHub Link:

https://github.com/openshift/release/blob/master/ci-operator/step-registry/baremetalds/assisted/conf/devscripts/extraworkers/baremetalds-assisted-conf-devscripts-extraworkers-ref.yaml

Owners:

Approvers:

Source code for this page located on GitHub