Skip to content

Commit

Permalink
Use ci-built occm in all e2e tests (#2352)
Browse files Browse the repository at this point in the history
Previously in e2e tests we only used ci-built occm for the occm e2e
test. The cinder and manila e2e tests used the latest release occm
image. With this change all e2e tests deploy a ci-built occm.

Co-authored-by: Matthew Booth <[email protected]>
  • Loading branch information
k8s-infra-cherrypick-robot and mdbooth authored Aug 29, 2023
1 parent 556b74e commit 2c9047b
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion tests/playbooks/roles/install-cpo-occm/defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ devstack_workdir: "{{ ansible_user_dir }}/devstack"

# Used for uploading image to local registry.
image_registry_host: localhost
build_image: false
build_image: true
run_e2e: false
# Used for access the private registry image from k8s
remote_registry_host: "{{ ansible_default_ipv4.address }}"
Expand Down
1 change: 0 additions & 1 deletion tests/playbooks/test-csi-cinder-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
cert_hosts: ' ["{{ ansible_default_ipv4.address }}"]'
- role: install-cpo-occm
run_e2e: false
build_image: false
environment: "{{ global_env }}"
- role: install-csi-cinder
environment: "{{ global_env }}"
1 change: 0 additions & 1 deletion tests/playbooks/test-csi-manila-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
cert_hosts: ' ["{{ ansible_default_ipv4.address }}"]'
- role: install-cpo-occm
run_e2e: false
build_image: false
- role: install-helm
- role: install-csi-manila
environment: "{{ global_env }}"
1 change: 0 additions & 1 deletion tests/playbooks/test-occm-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,4 @@
cert_hosts: ' ["{{ ansible_default_ipv4.address }}"]'
- role: install-cpo-occm
run_e2e: true
build_image: true
environment: "{{ global_env }}"

0 comments on commit 2c9047b

Please sign in to comment.