[PATCH 2/6] containers/inventory: Add inventory for container builder
Ali Alnubani
alialnu at nvidia.com
Tue Oct 11 22:24:18 CEST 2022
> -----Original Message-----
> From: ohilyard at iol.unh.edu <ohilyard at iol.unh.edu>
> Sent: Tuesday, October 11, 2022 7:53 PM
> To: ci at dpdk.org
> Cc: aconole at redhat.com; Owen Hilyard <ohilyard at iol.unh.edu>
> Subject: [PATCH 2/6] containers/inventory: Add inventory for container
> builder
>
> From: Owen Hilyard <ohilyard at iol.unh.edu>
>
> Adds a yaml file used to define what containers should be built, what
> packages the containers should have, what platforms to build for and how
> they
> should be tagged.
>
> Also adds a JSON schema, which can be used to validate that the
> inventory file is well-formed.
>
> Signed-off-by: Owen Hilyard <ohilyard at iol.unh.edu>
> ---
> containers/template_engine/inventory.yaml | 360 ++++++++++++++++++
> .../template_engine/inventory_schema.json | 153 ++++++++
> 2 files changed, 513 insertions(+)
> create mode 100644 containers/template_engine/inventory.yaml
> create mode 100644 containers/template_engine/inventory_schema.json
>
> diff --git a/containers/template_engine/inventory.yaml
> b/containers/template_engine/inventory.yaml
> new file mode 100644
> index 0000000..e1781b1
> --- /dev/null
> +++ b/containers/template_engine/inventory.yaml
> @@ -0,0 +1,360 @@
> +# SPDX-License-Identifier: BSD-3-Clause
> +# Copyright (c) 2022 University of New Hampshire
> +---
> +abi:
> + # versions should also include the abi versions for all stable ABIs.
> + versions:
> + - major: 20 # oldest supported lts
> + minor: 11
> + git_tag: v20.11
> + - major: 21 # most recent lts
> + minor: 11
> + git_tag: v21.11
> + # - major: 22 # current abi
> + # minor: 07
> + # git_tag: v22.07
> +
> +dockerfiles:
> + groups:
> + all:
> + package_manager_command: "NO_INSTALL_COMMAND_SET"
> + parent: "NONE"
> + packages:
> + - gcc
> + - make
> + - git
> + - sudo
> + - curl
> + - automake
> + - autoconf
> + - flex
> + - bison
> + - bc
> + rpm:
> + parent: "all"
> + package_manager_command: yum install -y
> + packages:
> + - diffutils
> + - pkg-config
> + - python3
> + - python3-pip
> + - librdmacm
> + - rdma-core-devel
> + - libmnl-devel
> + - ccache
> + - zip
> + - flex
Parent already has 'flex' package. Same for the other child groups.
May I also suggest sorting the package lists alphanumerically? It makes spotting duplicates easier.
[..]
More information about the ci
mailing list