Skip to content

Commit

Permalink
Use image name
Browse files Browse the repository at this point in the history
  • Loading branch information
assumptionsandg committed Dec 3, 2024
1 parent a34f927 commit b993c1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/overcloud-host-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ jobs:
src/kayobe-config/etc/kayobe/ansible/pulp-image-upload.yml \
-e image_path=/opt/kayobe/images/overcloud-rocky-9 \
-e image_tag=${{ steps.host_image_tag.outputs.host_image_tag }} \
-e image_name="kayobe-images" \
-e os_distribution="rocky" \
-e os_release="9"
env:
Expand Down Expand Up @@ -294,6 +295,7 @@ jobs:
src/kayobe-config/etc/kayobe/ansible/pulp-image-upload.yml \
-e image_path=/opt/kayobe/images/overcloud-ubuntu-jammy \
-e image_tag=${{ steps.host_image_tag.outputs.host_image_tag }} \
-e image_name="kayobe-images" \
-e os_distribution="ubuntu" \
-e os_release="jammy"
env:
Expand Down
4 changes: 2 additions & 2 deletions etc/kayobe/ansible/pulp-image-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
remote_pulp_url: "{{ stackhpc_release_pulp_url }}"
remote_pulp_username: "{{ stackhpc_image_repository_username }}"
remote_pulp_password: "{{ stackhpc_image_repository_password }}"
repository_name: "kayobe-images-{{ openstack_release }}-{{ os_distribution }}-{{ os_release }}"
pulp_base_path: "kayobe-images/{{ openstack_release }}/{{ os_distribution }}/{{ os_release }}"
repository_name: "{{ image_name }}-{{ openstack_release }}-{{ os_distribution }}-{{ os_release }}"
pulp_base_path: "{{ image_name }}/{{ openstack_release }}/{{ os_distribution }}/{{ os_release }}"
file_extension: 'qcow2'
tasks:
- name: Print image tag
Expand Down

0 comments on commit b993c1a

Please sign in to comment.