Skip to content

Commit

Permalink
Remove ubuntu guest image from tobiko
Browse files Browse the repository at this point in the history
With recent changes in tobiko 0.8.4, the tobiko pods will download an
already customized image instead of using official ubuntu images that
were customized during tobiko execution.
  • Loading branch information
eduolivares committed Dec 17, 2024
1 parent d0b9e01 commit bc8ad4b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 5 deletions.
4 changes: 0 additions & 4 deletions container-images/tcib/base/tobiko/tobiko.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ tcib_actions:
| tar -zxvf - -C /usr/local/bin/
- run: 'git clone https://opendev.org/x/tobiko /usr/local/src/tobiko'
- run: 'pip install -e /usr/local/src/tobiko -c /usr/local/src/tobiko/upper-constraints.txt -r /usr/local/src/tobiko/extra-requirements.txt'
- run: >-
curl
https://cloud-images.ubuntu.com/minimal/releases/jammy/release/ubuntu-22.04-minimal-cloudimg-amd64.img
-o /usr/local/share/ubuntu-minimal
- run: python3 -m pip install --upgrade pip
- run: python3 -m pip install 'tox==4.13'
- run: cp /usr/share/tcib/container-images/tcib/base/tobiko/run_tobiko.sh /usr/local/bin/run_tobiko.sh
Expand Down
27 changes: 26 additions & 1 deletion zuul.d/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,32 @@
cifmw_test_operator_tobiko_registry: "{{ cifmw_test_operator_tempest_registry }}"
cifmw_test_operator_tobiko_namespace: "{{ cifmw_test_operator_tempest_namespace }}"
cifmw_test_operator_tobiko_image_tag: "{{ content_provider_dlrn_md5_hash }}"
cifmw_test_operator_tobiko_testenv: "sanity"
cifmw_test_operator_tobiko_override_conf:
ubuntu:
customized_image_provided: "True"
image_url: "https://chandankumar.fedorapeople.org/ubuntu-minimal-customized-enp3s0"
cifmw_test_operator_tobiko_workflow:
- stepName: sanity
testenv: sanity
- stepName: scenario-nova
testenv: nova
# enabling heat is needed for some tobiko tests
cifmw_edpm_prepare_kustomizations:
- apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: openstack
patches:
- patch: |-
apiVersion: core.openstack.org/v1beta1
kind: OpenStackControlPlane
metadata:
name: unused
spec:
heat:
enabled: true
target:
kind: OpenStackControlPlane
- job:
name: tcib-crc-podified-edpm-baremetal
Expand Down

0 comments on commit bc8ad4b

Please sign in to comment.