app-intel-ethernet-operator/.zuul.yaml
Rafal Lal fe8b267b30 intel-ethernet-operator system app integration
Initial integration of intel-ethernet-operator application.
- Add intel-ethernet-operator helm charts together with dependencies and
  fluxcd wrapper.
- Add python-k8s-app for integration with starlingx system.
- Add debian packing and other miscellaneous files.
- Add UFT (Unified Flow Tool) docker image build script.

Test Status:
- PASS: Build application .deb, generate tarball, copy to stx active
  controller.
- PASS: Build UFT image using included scripts, image is built properly
  with provided patch applied.
- PASS: Verify that app is uploaded, applied and ethernet operator as
  well as dependencies pods are created.
- PASS: Check if '/var/lib/firmware' is written to
  '/sys/module/firmware_class/parameters/path' on nodes on which fwddp
  daemon or manager pods are present, on operator deployment and after
  reboots.
- PASS: Update firmware of NIC (Network Interface Card) to any of
  supported by operator versions.
- PASS: Place requested DDP (Dynamic Device Personalization) profile
  in correct directory for ice driver to pick up.
- PASS: Create VFs (Virtual Function) using sriov-network-operator,
  create FlowConfigNodeAgent deployment, verify that UFT container
  is bound to VF0 of selected VFs pool.
- PASS: Create NodeFlowConfig and ClusterFlowConfig rules.
- PASS: App upload, apply, remove, delete verified in simplex mode.
- PASS: All sriov-network and intel-ethernet operator CRDs
  (Custom Resource Definition) are deleted before app removal in
  intel-ethernet-operator namespace.
- PASS: Check if '/sys/module/firmware_class/parameters/path' file
  is cleared after uninstall on nodes on which operator enabled
  customized firmware search path.

Failure Tests:
- PASS: Operator deployment shall fail when docker image download fails
  during system application-apply.
- PASS: Applying EthernetCLusterConfig (firmware and ddp update CR) with
  incorrect checksums shall fail.
- PASS: Applying NodeFlowConfig or ClusterFlowConfig with incorrect
  rules shall fail on webhook verification stage.
- PASS: Applying any intel-ethernet-operator CRDs when operator is not
  deployed shall fail.
- PASS: Deleting VF to which FlowConfigNodeAgent is bound shall cause
  FlowConfigNodeAgent failure.

Story: 2010562
Task: 48522

Change-Id: I1bf36c181e1dc8e1f6c37a0d0e11f234e22d42d6
Signed-off-by: Rafal Lal <rafalx.lal@intel.com>
2023-08-28 11:37:47 +02:00

65 lines
2.1 KiB
YAML

---
- project:
check:
jobs:
- openstack-tox-linters
- k8sapp-intel-ethernet-operator-tox-py39
- k8sapp-intel-ethernet-operator-tox-pylint
- k8sapp-intel-ethernet-operator-tox-flake8
gate:
jobs:
- openstack-tox-linters
- k8sapp-intel-ethernet-operator-tox-py39
- k8sapp-intel-ethernet-operator-tox-pylint
- k8sapp-intel-ethernet-operator-tox-flake8
- job:
name: k8sapp-intel-ethernet-operator-tox-py39
parent: tox-py39
description: |
Run py39 for intel-ethernet-operator app
nodeset: debian-bullseye
required-projects:
- starlingx/config
- starlingx/fault
- starlingx/update
- starlingx/utilities
- starlingx/root
files:
- python3-k8sapp-intel-ethernet-operator/*
vars:
tox_envlist: py39
tox_extra_args: -c python3-k8sapp-intel-ethernet-operator/k8sapp_intel_ethernet_operator/tox.ini
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
- job:
name: k8sapp-intel-ethernet-operator-tox-pylint
parent: tox
description: |
Run pylint test for k8sapp_intel_ethernet_operator
required-projects:
- starlingx/config
- starlingx/fault
- starlingx/update
- starlingx/utilities
- starlingx/root
nodeset: debian-bullseye
files:
- python3-k8sapp-intel-ethernet-operator/*
vars:
tox_envlist: pylint
tox_extra_args: -c python3-k8sapp-intel-ethernet-operator/k8sapp_intel_ethernet_operator/tox.ini
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
- job:
name: k8sapp-intel-ethernet-operator-tox-flake8
parent: tox
description: |
Run flake8 for intel-ethernet-operator
nodeset: debian-bullseye
files:
- python3-k8sapp-intel-ethernet-operator/*
vars:
tox_envlist: flake8
tox_extra_args: -c python3-k8sapp-intel-ethernet-operator/k8sapp_intel_ethernet_operator/tox.ini