Step: openstack-test-manifests

Runs the manifest-generation tests for OpenStack.

Container image used for this step: openstack-installer

openstack-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
OS_CLOUD Parameter[?] Name of cloud to use from ${SHARED_DIR}/clouds.yaml file (default: openstack)
OPENSTACK_EXTERNAL_NETWORK Parameter[?] Name of the OpenStack public-facing network. Defaults to the value in "${SHARED_DIR}/OPENSTACK_EXTERNAL_NETWORK"
OPENSTACK_COMPUTE_FLAVOR Parameter[?] Name of the OpenStack flavor used for the servers hosting the OpenShift nodes. Defaults to the value in "${SHARED_DIR}/OPENSTACK_COMPUTE_FLAVOR"

Source Code

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
#!/usr/bin/env bash

set -Eeuo pipefail

export OS_CLIENT_CONFIG_FILE="${SHARED_DIR}/clouds.yaml"
OPENSTACK_EXTERNAL_NETWORK="${OPENSTACK_EXTERNAL_NETWORK:-$(<"${SHARED_DIR}/OPENSTACK_EXTERNAL_NETWORK")}"
OPENSTACK_COMPUTE_FLAVOR="${OPENSTACK_COMPUTE_FLAVOR:-$(<"${SHARED_DIR}/OPENSTACK_COMPUTE_FLAVOR")}"

/var/lib/openshift-install/manifest-tests/test-manifests.sh \
  -c "$OS_CLOUD" \
  -f "$OPENSTACK_COMPUTE_FLAVOR" \
  -e "$OPENSTACK_EXTERNAL_NETWORK" \
  -i '/bin/openshift-install' \
  -t '/var/lib/openshift-install/manifest-tests'

Properties

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

GitHub Link:

https://github.com/openshift/release/blob/master/ci-operator/step-registry/openstack/test/manifests/openstack-test-manifests-ref.yaml

Owners:

Approvers:

Reviewers:

Source code for this page located on GitHub