Skip to content

Commit babcac2

Browse files
committed
[ci] Add CRs for running Tempest and AnsibleTest
1 parent 7032e7f commit babcac2

File tree

2 files changed

+150
-0
lines changed

2 files changed

+150
-0
lines changed

ci/ansible-tests-cloudkitty.yaml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
apiVersion: test.openstack.org/v1beta1
2+
kind: AnsibleTest
3+
metadata:
4+
name: ansible-tests-cloudkitty
5+
namespace: openstack
6+
spec:
7+
ansibleGitRepo: 'http://github.com/elfiesmelfie/feature-verification-tests'
8+
debug: true
9+
#containerImage: quay.io/podified-antelope-centos9/openstack-ansible-tests:current-podified
10+
containerImage: quay.io/efoley/openstack-ansible-tests@sha256:9080fa1a359de1d824585ae99bcc4f34a7400fc0a29550ea6b92c44f2975901c
11+
#ansiblePlaybookPath: ci/run_verify_metrics_osp18.yml
12+
storageClass: crc-csi-hostpath-provisioner
13+
computeSSHKeySecretName: dataplane-ansible-ssh-private-key-secret
14+
workloadSSHKeySecretName: dataplane-ansible-ssh-private-key-secret
15+
ansibleVarFiles: |
16+
cifmw_openshift_kubeconfig: ~/.kube.config
17+
cifmw_path: "{{ ansible_env.PATH }}:/var/lib/ansible/bin"
18+
cifmw_openshift_api: api.crc.testing:6443
19+
cifmw_openshift_password: '12345678'
20+
cifmw_openshift_user: kubeadmin
21+
openstack_cmd: "oc -n openstack rsh openstackclient openstack"
22+
patch_observabilityclient: true
23+
ansibleCollections: 'git+https://github.com/elfiesmelfie/feature-verification-tests.git,master'
24+
privileged: false
25+
#extraMounts:
26+
# - extraVol:
27+
# - mounts:
28+
# - name: test-operator-logs
29+
# mountPath: /var/lib/ansible/ci-framework-data/tests/feature-verification-tests
30+
# volumes: []
31+
ansibleInventory: |
32+
localhost ansible_connection=local ansible_python_interpreter=python3
33+
compute-0 ansible_host=192.168.122.100 ansible_user=root ansible_ssh_private_key_file=/var/lib/ansible/.ssh/compute_id
34+
compute-1 ansible_host=192.168.122.101 ansible_user=root ansible_ssh_private_key_file=/var/lib/ansible/.ssh/compute_id
35+
[compute]
36+
compute-0
37+
compute-1
38+
[controller]
39+
localhost
40+
[local]
41+
localhost
42+
workflow:
43+
- stepName: cloudkitty
44+
ansiblePlaybookPath: ci/run_cloudkitty_tests.yml
45+
debug: true
46+
#- stepName: report-results
47+
# ansiblePlaybookPath: ci/report_result.yml

ci/cloudkitty-tempest.yaml

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
apiVersion: test.openstack.org/v1beta1
2+
kind: Tempest
3+
metadata:
4+
name: tempest-tests-cloudkitty
5+
namespace: openstack
6+
spec:
7+
containerImage: quay.rdoproject.org/podified-master-centos10/openstack-tempest-all:current-tested
8+
debug: true
9+
openStackConfigMap: openstack-config
10+
openStackConfigSecret: openstack-config-secret
11+
parallel: false
12+
privileged: true
13+
rerunFailedTests: false
14+
storageClass: local-storage
15+
tempestRun:
16+
concurrency: 2
17+
excludeList: |
18+
tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_mtu_sized_frames
19+
20+
externalPlugin:
21+
- repository: https://opendev.org/openstack/cloudkitty-tempest-plugin.git
22+
includeList: |
23+
#^tempest.*\[.*\bsmoke\b.*\]
24+
cloudkitty_tempest_plugin.*
25+
#telemetry_tempest_plugin.*
26+
excludeList: |
27+
^tempest*
28+
^*tempest*
29+
parallel: true
30+
serial: false
31+
smoke: false
32+
workerFile: ""
33+
tempestconfRun:
34+
append: ""
35+
collectTiming: false
36+
convertToRaw: false
37+
create: true
38+
createAccountsFile: ""
39+
debug: false
40+
deployerInput: |
41+
[auth]
42+
tempest_roles =
43+
44+
[enforce_scope]
45+
barbican = true
46+
cinder = true
47+
designate = true
48+
glance = true
49+
ironic = true
50+
ironic_inspector = true
51+
neutron = true
52+
nova = true
53+
octavia = true
54+
keystone = true
55+
manila = true
56+
placement = true
57+
58+
[identity-feature-enabled]
59+
enforce_scope = true
60+
61+
[compute-feature-enabled]
62+
dhcp_domain = ''
63+
64+
[load_balancer]
65+
member_role = load-balancer_member
66+
admin_role = load-balancer_admin
67+
RBAC_test_type = keystone_default_roles
68+
enforce_new_defaults = true
69+
enforce_scope = false
70+
71+
[volume]
72+
catalog_type = volumev3
73+
flavorMinDisk: 0
74+
flavorMinMem: 0
75+
generateProfile: ""
76+
image: ""
77+
imageDiskFormat: ""
78+
insecure: false
79+
networkID: ""
80+
noDefaultDeployer: false
81+
nonAdmin: false
82+
out: ""
83+
overrides: |-
84+
validation.run_validation true
85+
identity.v3_endpoint_type public
86+
service_available.ceilometer true
87+
service_available.sg_core true
88+
service_available.aodh true
89+
service_available.cinder false
90+
telemetry.sg_core_service_url "https://ceilometer-internal.openstack.svc.cluster.local:3000"
91+
telemetry.prometheus_service_url "https://metric-storage-prometheus.openstack.svc.cluster.local:9090"
92+
telemetry.ceilometer_polling_interval 120
93+
telemetry.prometheus_scrape_interval 30
94+
telemetry.alarm_threshold 50000000000
95+
whitebox_neutron_plugin_options.proxy_host_address 38.102.83.182
96+
profile: ""
97+
remove: ""
98+
retryImage: false
99+
testAccounts: ""
100+
timeout: 0
101+
verbose: false
102+
workflow: []
103+

0 commit comments

Comments
 (0)