Step: openstack-deprovision-deletefips

Delete the api and ingress fips previously created by the pre steps. Expects ${SHARED_DIR}/DELETE_FIPS to exist.

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 clouds.yaml (default: openstack)

Source Code

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

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

echo using ${OS_CLOUD}
export OS_CLIENT_CONFIG_FILE="${SHARED_DIR}/clouds.yaml"

if [[ -f "${SHARED_DIR}/DELETE_FIPS" ]]; then
    for FIP in $(cat ${SHARED_DIR}/DELETE_FIPS); do
        openstack floating ip delete ${FIP}  || true
    done
fi

Properties

Property Value Description
Resource requests (cpu) 1000m 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/deprovision/deletefips/openstack-deprovision-deletefips-ref.yaml

Owners:

Approvers:

Reviewers:

Source code for this page located on GitHub