Skip to content

Draft: Initial scripts/common library

Oscar Tovar requested to merge otovar/add-offline-scripts into master

What does this MR do?

This MR introduces a shell common library inside scripts/common. The scripts/common library aims to standardize a set of functions that can be imported across CI jobs. It is especially focused on ensuring that we can use x-platform functions, since FIPS enabled images, and non-FIPS images often times have different pre-packaged tooling. Thus, this initial implementation introduces some functions that use builtin functionality.

In addition, it also introduces the concept of testing to the scripts we use by leveraging bats. This further gives us confidence that our scripts will work before publishing to the wider stage.

What are the relevant issue numbers?

N/A

Does this MR meet the acceptance criteria?

Merge request reports