2 Commits

Author SHA1 Message Date
87eb5e0dd7 build: Fix typo in manifest parser
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-21 09:44:11 +02:00
f5ed60fa38 build: Move to external packer plugins 2023-08-21 09:39:05 +02:00
2 changed files with 10 additions and 1 deletions

View File

@ -17,7 +17,7 @@
- name: Parse pinniped manifests for container images - name: Parse pinniped manifests for container images
ansible.builtin.shell: ansible.builtin.shell:
# The pinniped manifest specify container images with *both* tag and digest; which is not supported by skopeo # The pinniped manifest specify container images with *both* tag and digest; which is not supported by skopeo
cmd: cat {{ item.dest }} | yq --no-doc eval '.. | .image? | select(.)' | awk '!/ /' | sub("@.*", "") cmd: cat {{ item.dest }} | yq --no-doc eval '.. | .image? | select(.) | sub("@.*", "")' | awk '!/ /'
register: pinniped_parsedmanifests register: pinniped_parsedmanifests
loop: "{{ pinniped_manifests.results }}" loop: "{{ pinniped_manifests.results }}"
loop_control: loop_control:

View File

@ -1,5 +1,14 @@
packer { packer {
required_plugins { required_plugins {
vsphere = {
source = "github.com/hashicorp/vsphere"
version = "~> 1"
}
ansible = {
source = "github.com/hashicorp/ansible"
version = "~> 1"
}
} }
} }