Skip to content

Commit

Permalink
Merge pull request #323 from mgirgisf/main
Browse files Browse the repository at this point in the history
 [zuul] Update the external_plugin var
  • Loading branch information
openshift-merge-bot[bot] authored Apr 19, 2024
2 parents 400254d + 36b413e commit 7b820da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
5 changes: 4 additions & 1 deletion ci/vars-autoscaling-tempest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ cifmw_tempest_tempestconf_config:
service_available.ceilometer true
service_available.sg_core true
service_available.aodh true
telemetry.sg_core_service_url "ceilometer-internal.openstack.svc.cluster.local:3000"
telemetry.sg_core_service_url "https://ceilometer-internal.openstack.svc.cluster.local:3000"
cifmw_test_operator_tempest_include_list: |
telemetry_tempest_plugin.scenario
telemetry_tempest_plugin.aodh
cifmw_test_operator_tempest_exclude_list: ''
external_plugin: "opendev.org/openstack/telemetry-tempest-plugin"
change_item: "{{ zuul['items'] | selectattr('project.canonical_name', 'equalto', external_plugin) }}"
cifmw_test_operator_tempest_external_plugin: "{{ [] if change_item | length < 1 else [ { 'repository': 'https://' + external_plugin + '.git', 'changeRepository': 'https://review' + external_plugin, 'changeRefspec': [ 'refs/changes', change_item[0].change[-2:], change_item[0].change, change_item[0].patchset ] | join('/') } ] }}"
10 changes: 0 additions & 10 deletions zuul.d/projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,6 @@
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/ci-framework'].src_dir }}/scenarios/centos-9/multinode-ci.yml"
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/telemetry-operator'].src_dir }}/ci/vars-autoscaling.yml"
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/telemetry-operator'].src_dir }}/ci/vars-autoscaling-tempest.yml"
external_plugin: "opendev.org/openstack/telemetry-tempest-plugin"
change_item: "{{ zuul['items'] | selectattr('project.canonical_name', 'equalto', external_plugin) }}"
cifmw_test_operator_tempest_external_plugin:
# workaround(telemetry_tempest_plugin_release)
# NOTE: Until the telemetry-tempest-plugin repo is tagged and the new version is used in the tempest image, we need to manually install it as an external plugin to use the autoscaling tests.
- repository: "https://{{ external_plugin }}.git"
changeRepository: "https://review.{{ external_plugin }}"
changeRefspec: "{{ 'master' if change_item | length < 1 else [ 'refs/changes', change_item[0].change[-2:], change_item[0].change, change_item[0].patchset ] | join('/') }}"
# This value will be used when the telemetry-tempest-plugin is released, and we no longer need to install from the master branch
# cifmw_test_operator_tempest_external_plugin: "{{ [] if change_item | length < 1 else [ { 'repository': 'https://' + external_plugin + '.git', 'changeRepository': 'https://review' + {{ external_plugin }}, 'changeRefspec': [ 'refs/changes', change_item[0].change[-2:], change_item[0].change, change_item[0].patchset ] | join('/') } ] }}"

- project-template:
name: rdo-telemetry-tempest-plugin-jobs
Expand Down

0 comments on commit 7b820da

Please sign in to comment.