ci: add testing for image_manifest and implement fixes (#321)
Co-authored-by: okozachenko1203 <okozachenko1203@users.noreply.github.com>
diff --git a/roles/defaults/defaults/main.yml b/roles/defaults/defaults/main.yml
index fa3284f..20adde8 100644
--- a/roles/defaults/defaults/main.yml
+++ b/roles/defaults/defaults/main.yml
@@ -111,7 +111,7 @@
nova_archive_deleted_rows: quay.io/vexxhost/nova:zed
nova_cell_setup_init: quay.io/vexxhost/heat:zed
nova_cell_setup: quay.io/vexxhost/nova:zed
- nova_compute_ironic: docker.io/kolla/ubuntu-source-nova-compute-ironic:zed
+ nova_compute_ironic: quay.io/openstack.kolla/nova-compute-ironic:zed-ubuntu-jammy
nova_compute_ssh: quay.io/vexxhost/nova-ssh:latest
nova_compute: quay.io/vexxhost/nova:zed
nova_conductor: quay.io/vexxhost/nova:zed
diff --git a/roles/image_manifest/README.md b/roles/image_manifest/README.md
index 43e8546..da8e6f1 100644
--- a/roles/image_manifest/README.md
+++ b/roles/image_manifest/README.md
@@ -28,14 +28,6 @@
playbook:
```bash
-ansible-playbook vexxhost.atmosphere.image_manifest
-```
-
-The playbook will prompt you for the location of the file that you want to
-write the image manifest to. You can also provide it as a command line
-argument:
-
-```bash
ansible-playbook vexxhost.atmosphere.image_manifest \
-e image_manifest_path=/tmp/atmosphere_images.yml
```
@@ -79,10 +71,11 @@
```bash
ansible-playbook vexxhost.atmosphere.image_manifest \
-e image_manifest_mirror=true \
+ -e image_manifest_path=/tmp/atmosphere_images.yml
```
-If you want to provide the registry and the path as command line arguments, you
-can use the `image_manifest_registry` and `image_manifest_path` variables:
+If you want to provide the registry as a command line argument, you
+can use the `image_manifest_registry` variable:
```bash
ansible-playbook vexxhost.atmosphere.image_manifest \
diff --git a/roles/image_manifest/tasks/main.yml b/roles/image_manifest/tasks/main.yml
index 843f226..b07c9b7 100644
--- a/roles/image_manifest/tasks/main.yml
+++ b/roles/image_manifest/tasks/main.yml
@@ -13,6 +13,7 @@
- name: Mirror images
when: image_manifest_mirror
+ changed_when: false
ansible.builtin.command:
crane copy {{ atmosphere_images[item] }} {{ image_manifest_data['atmosphere_images'][item] }}
loop: |