From 854e25355baa1b8dcfe05a8a00a3c1a277c7455b Mon Sep 17 00:00:00 2001 From: Rajat Sharma Date: Tue, 10 Nov 2020 16:09:10 +0530 Subject: [PATCH] Incorporate HWCC in deployment gate. Added sample HCC profiles and deployment script to apply profiles. Change-Id: If8152a0afda142c40a53ddf9a4bd6866b435b0e5 Co-Authored-By: Rajat Sharma Relates-To-Issue: #326 Depends-On: #738410 --- manifests/function/hwcc/README.md | 5 +-- manifests/function/hwcc/manager/manager.yaml | 2 +- manifests/phases/phases.yaml | 13 ++++++ manifests/phases/plan.yaml | 1 + .../ephemeral/initinfra/kustomization.yaml | 1 + .../target/initinfra/kustomization.yaml | 1 + .../target/workers/kustomization.yaml | 7 --- .../kubeadmconfigtemplate.yaml | 0 .../workers/provision/kustomization.yaml | 11 +++++ .../{ => provision}/machinedeployment.yaml | 0 .../metal3machinetemplate.yaml | 0 .../gating/hwccprofiles/kustomization.yaml | 5 +++ .../type/gating/hwccprofiles/profile1.yaml | 26 +++++++++++ .../type/gating/hwccprofiles/profile2.yaml | 26 +++++++++++ playbooks/airshipctl-gate-runner.yaml | 1 + tools/deployment/34_deploy_worker_node.sh | 43 +++++++++++-------- tools/deployment/36_verify_hwcc_profiles.sh | 43 +++++++++++++++++++ zuul.d/jobs.yaml | 1 + 18 files changed, 158 insertions(+), 28 deletions(-) rename manifests/site/test-site/target/workers/{ => provision}/kubeadmconfigtemplate.yaml (100%) create mode 100644 manifests/site/test-site/target/workers/provision/kustomization.yaml rename manifests/site/test-site/target/workers/{ => provision}/machinedeployment.yaml (100%) rename manifests/site/test-site/target/workers/{ => provision}/metal3machinetemplate.yaml (100%) create mode 100644 manifests/type/gating/hwccprofiles/kustomization.yaml create mode 100644 manifests/type/gating/hwccprofiles/profile1.yaml create mode 100644 manifests/type/gating/hwccprofiles/profile2.yaml create mode 100755 tools/deployment/36_verify_hwcc_profiles.sh diff --git a/manifests/function/hwcc/README.md b/manifests/function/hwcc/README.md index e690034e8..e5413d121 100644 --- a/manifests/function/hwcc/README.md +++ b/manifests/function/hwcc/README.md @@ -19,9 +19,8 @@ HWCC will label matched hosts. `hardwareclassification.metal3.io/=