artifact-list: provide script to get items to build

artifact-list.sh is created so a builder can quickly determine which
artifacts may be built within this repository.

I user may get this list, which indicates exactly which functions are
available within ./release/kata-deploy-binaries.sh for building.

Signed-off-by: Eric Ernst <eric.ernst@intel.com>
This commit is contained in:
Eric Ernst 2019-09-20 16:05:30 -07:00
parent 4f89e97e5e
commit 4eb376b40e
2 changed files with 26 additions and 1 deletions

23
artifact-list.sh Executable file
View File

@ -0,0 +1,23 @@
#!/bin/bash
#
# Copyright (c) 2019 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
set -o errexit
set -o pipefail
set -o nounset
supported_artifacts=(
"install_docker_config_script"
"install_experimental_kernel"
"install_firecracker"
"install_image"
"install_kata_components"
"install_kernel"
"install_qemu"
"install_qemu_virtiofsd"
)
for c in ${supported_artifacts[@]}; do echo $c; done

View File

@ -286,4 +286,6 @@ main() {
fi fi
} }
[[ "${BASH_SOURCE[0]}" == "${0}" ]] && main "$@" if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
main $@
fi