Skip to content

Commit

Permalink
Resolve latest os images from releases. (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit91 authored Apr 29, 2024
1 parent a89c501 commit f4f6a95
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions inventories/group_vars/control-plane/metal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,19 @@ metal_api_admin_key: metal-admin

metal_api_nsq_tcp_address: nsqd:4150

metal_api_latest_os_image_release_name: "{{ (lookup('url', 'https://api.github.com/repos/metal-stack/metal-images/releases/latest') | from_json).get('name') }}"

metal_api_images:
- id: firewall-ubuntu-3.0.20230710
name: Firewall 3 Ubuntu 20230710
description: Firewall 3 Ubuntu 20230710
url: https://images.metal-stack.io/metal-os/20230710/firewall/3.0-ubuntu/img.tar.lz4
- id: firewall-ubuntu-3.0.{{ metal_api_latest_os_image_release_name }}
name: Firewall 3 Ubuntu {{ metal_api_latest_os_image_release_name }}
description: Firewall 3 Ubuntu {{ metal_api_latest_os_image_release_name }}
url: https://images.metal-stack.io/metal-os/{{ metal_api_latest_os_image_release_name }}/firewall/3.0-ubuntu/img.tar.lz4
features:
- firewall
- id: ubuntu-22.04.20230710
name: Ubuntu 22.04 20230710
description: Ubuntu 22.04 20230710
url: https://images.metal-stack.io/metal-os/20230710/ubuntu/22.04/img.tar.lz4
- id: ubuntu-22.04.{{ metal_api_latest_os_image_release_name }}
name: Ubuntu 22.04 {{ metal_api_latest_os_image_release_name }}
description: Ubuntu 22.04 {{ metal_api_latest_os_image_release_name }}
url: https://images.metal-stack.io/metal-os/{{ metal_api_latest_os_image_release_name }}/ubuntu/22.04/img.tar.lz4
features:
- machine

Expand Down

0 comments on commit f4f6a95

Please sign in to comment.