Step: shiftstack-cleanup

Prune resources on the CI clouds.

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[?] (default: openstack)

Source Code

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

set -Eeuo pipefail

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

./clean-ci-resources.sh -o "${ARTIFACT_DIR}/result.json" --delete-everything-older-than-5-hours

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/shiftstack/cleanup/shiftstack-cleanup-ref.yaml

Owners:

Approvers:

Reviewers:

Source code for this page located on GitHub