-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8f77c48
commit 600103e
Showing
5 changed files
with
66 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
- name: "Run ci/playbooks/edpm_baremetal_deployment/run_extracted.yml" | ||
hosts: "{{ cifmw_zuul_target_host | default('all') }}" | ||
gather_facts: true | ||
vars: | ||
crc_parameters: "--memory 32000 --disk-size 240 --cpus 12" | ||
tasks: | ||
- name: Filter out host if needed | ||
when: | ||
- cifmw_zuul_target_host is defined | ||
- cifmw_zuul_target_host != 'all' | ||
- inventory_hostname != cifmw_zuul_target_host | ||
ansible.builtin.meta: end_host | ||
|
||
- name: Check for edpm-ansible.yml file | ||
ansible.builtin.stat: | ||
path: "{{ ansible_user_dir }}/ci-framework-data/artifacts/edpm-ansible.yml" | ||
register: edpm_file | ||
|
||
- name: Perform Podified and EDPM deployment on compute nodes with virtual baremetal | ||
ansible.builtin.command: | ||
chdir: "{{ ansible_user_dir }}/src/github.com/openstack-k8s-operators/ci-framework" | ||
cmd: >- | ||
ansible-playbook deploy-edpm.yml | ||
-i "{{ ansible_user_dir }}/ci-framework-data/artifacts/zuul_inventory.yml" | ||
-e @scenarios/centos-9/base.yml | ||
-e @scenarios/centos-9/edpm_ci.yml | ||
-e @scenarios/centos-9/edpm_baremetal_deployment_ci_extracted.yml | ||
{%- if edpm_file.stat.exists %} | ||
-e @{{ ansible_user_dir }}/ci-framework-data/artifacts/edpm-ansible.yml | ||
{%- endif %} | ||
{%- if cifmw_extras is defined %} | ||
{%- for extra_var in cifmw_extras %} | ||
-e "{{ extra_var }}" | ||
{%- endfor %} | ||
{%- endif %} | ||
-e "@{{ ansible_user_dir }}/ci-framework-data/artifacts/parameters/zuul-params.yml" |
14 changes: 14 additions & 0 deletions
14
scenarios/centos-9/edpm_baremetal_deployment_ci_extracted.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
cifmw_install_yamls_vars: | ||
DEPLOY_DIR: "{{ cifmw_basedir }}/artifacts/edpm_compute" # used during Baremetal deployment | ||
INFRA_REPO: "{{ ansible_user_dir }}/src/github.com/openstack-k8s-operators/infra-operator" | ||
BMAAS_INSTANCE_MEMORY: 8192 | ||
BMAAS_INSTANCE_VCPUS: 6 | ||
BMAAS_INSTANCE_DISK_SIZE: 40 | ||
DATAPLANE_GROWVOLS_ARGS: "/=8GB /tmp=1GB /home=1GB /var=8GB" | ||
|
||
# edpm_deploy role vars | ||
cifmw_edpm_deploy_baremetal: true | ||
|
||
# openshift_login role vars | ||
#cifmw_openshift_kubeconfig: "{{ ansible_user_dir }}/.crc/machines/crc/kubeconfig" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,5 @@ | ||
- project: | ||
github-check: | ||
jobs: | ||
- noop | ||
- cifmw-baremetal-nested-crc | ||
- cifmw-content-provider-build-images | ||
- cifmw-edpm-build-images | ||
- cifmw-multinode-kuttl | ||
- cifmw-tcib | ||
- cifmw-molecule-artifacts | ||
- cifmw-molecule-build_containers | ||
- cifmw-molecule-build_openstack_packages | ||
- cifmw-molecule-cert_manager | ||
- cifmw-molecule-ci_gen_kustomize_values | ||
- cifmw-molecule-ci_local_storage | ||
- cifmw-molecule-ci_metallb | ||
- cifmw-molecule-ci_multus | ||
- cifmw-molecule-ci_netconfig | ||
- cifmw-molecule-ci_network | ||
- cifmw-molecule-ci_nmstate | ||
- cifmw-molecule-ci_setup | ||
- cifmw-molecule-cifmw_block_device | ||
- cifmw-molecule-cifmw_ceph_client | ||
- cifmw-molecule-cifmw_ceph_spec | ||
- cifmw-molecule-cifmw_cephadm | ||
- cifmw-molecule-cifmw_create_admin | ||
- cifmw-molecule-cifmw_test_role | ||
- cifmw-molecule-copy_container | ||
- cifmw-molecule-devscripts | ||
- cifmw-molecule-discover_latest_image | ||
- cifmw-molecule-dlrn_promote | ||
- cifmw-molecule-dlrn_report | ||
- cifmw-molecule-edpm_build_images | ||
- cifmw-molecule-edpm_deploy | ||
- cifmw-molecule-edpm_deploy_baremetal | ||
- cifmw-molecule-edpm_kustomize | ||
- cifmw-molecule-edpm_prepare | ||
- cifmw-molecule-env_op_images | ||
- cifmw-molecule-hci_prepare | ||
- cifmw-molecule-hive | ||
- cifmw-molecule-idrac_configuration | ||
- cifmw-molecule-install_ca | ||
- cifmw-molecule-install_yamls | ||
- cifmw-molecule-kustomize_deploy | ||
- cifmw-molecule-libvirt_manager | ||
- cifmw-molecule-manage_secrets | ||
- cifmw-molecule-networking_mapper | ||
- cifmw-molecule-openshift_login | ||
- cifmw-molecule-openshift_provisioner_node | ||
- cifmw-molecule-openshift_setup | ||
- cifmw-molecule-operator_build | ||
- cifmw-molecule-operator_deploy | ||
- cifmw-molecule-os_must_gather | ||
- cifmw-molecule-pkg_build | ||
- cifmw-molecule-registry_deploy | ||
- cifmw-molecule-repo_setup | ||
- cifmw-molecule-reproducer | ||
- cifmw-molecule-rhol_crc | ||
- cifmw-molecule-run_hook | ||
- cifmw-molecule-set_openstack_containers | ||
- cifmw-molecule-tempest | ||
- cifmw-molecule-test_deps | ||
- cifmw-molecule-test_operator | ||
- cifmw-molecule-tobiko | ||
- cifmw-molecule-tofu | ||
- podified-multinode-edpm-deployment-crc-baremetal | ||
name: openstack-k8s-operators/ci-framework | ||
templates: | ||
- podified-multinode-edpm-pipeline | ||
- data-plane-adoption-pipeline |