Browse Source

Added HWCC verification script.

* Added HWCC verification script.
* include install pip script
* include install yq script

Change-Id: I835d5c080fd7a02d14a63109c271c397355ee3eb
changes/97/777797/8
siraj.yasin 7 months ago
committed by Sirajudeen
parent
commit
ea57ab4ff9
  1. 6
      playbooks/airship-treasuremap-gate-runner.yaml
  2. 22
      tools/deployment/01_install_essentials.sh
  3. 4
      tools/deployment/36_verify_hwcc_profiles.sh
  4. 4
      zuul.d/jobs.yaml

6
playbooks/airship-treasuremap-gate-runner.yaml

@ -21,14 +21,14 @@
- name: "set default gate scripts"
set_fact:
gate_scripts_default:
- ./tools/deployment/01_install_kubectl.sh
- ./tools/deployment/01_install_essentials.sh
- ./tools/deployment/21_systemwide_executable.sh
- ./tools/deployment/22_test_configs.sh
- ./tools/deployment/23_pull_documents.sh
- ./tools/deployment/23_generate_secrets.sh
- ./tools/deployment/24_build_ephemeral_iso.sh
- ./tools/deployment/24_build_images.sh
- ./tools/deployment/25_deploy_ephemeral_node.sh
- ./tools/deployment/26_deploy_metal3_capi_ephemeral_node.sh
- ./tools/deployment/26_deploy_capi_ephemeral_node.sh
- ./tools/deployment/30_deploy_controlplane.sh
- ./tools/deployment/31_deploy_initinfra_target_node.sh
- ./tools/deployment/32_cluster_init_target_node.sh

22
tools/deployment/01_install_essentials.sh

@ -0,0 +1,22 @@
#!/usr/bin/env bash
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
set -xe
: ${AIRSHIPCTL_PROJECT:="../airshipctl"}
cd ${AIRSHIPCTL_PROJECT}
./tools/deployment/provider_common/03_install_pip.sh
./tools/deployment/provider_common/04_install_yq.sh
./tools/deployment/01_install_kubectl.sh

4
tools/deployment/01_install_kubectl.sh → tools/deployment/36_verify_hwcc_profiles.sh

@ -12,9 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
set -xe
set -ex
: ${AIRSHIPCTL_PROJECT:="../airshipctl"}
cd ${AIRSHIPCTL_PROJECT}
./tools/deployment/01_install_kubectl.sh
./tools/deployment/36_verify_hwcc_profiles.sh

4
zuul.d/jobs.yaml

@ -32,7 +32,7 @@
nodeset: airship-treasuremap-single-node
vars:
gate_scripts:
- ./tools/deployment/01_install_kubectl.sh
- ./tools/deployment/01_install_essentials.sh
- ./tools/deployment/21_systemwide_executable.sh
- ./tools/deployment/22_test_configs.sh
- ./tools/deployment/23_pull_documents.sh
@ -70,7 +70,7 @@
# airshipctl_ref: ""
site_name: test-site
gate_scripts:
- ./tools/deployment/01_install_kubectl.sh
- ./tools/deployment/01_install_essentials.sh
- ./tools/deployment/22_test_configs.sh
- ./tools/deployment/23_pull_documents.sh
- ./tools/deployment/23_generate_secrets.sh

Loading…
Cancel
Save