Skip to content

Commit c120980

Browse files
authored
Merge pull request #385 from mbaldessari/iib-cleanups
Small IIB cleanups
2 parents 0b72039 + 0b00146 commit c120980

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

ansible/playbooks/iib-ci/lookup.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
connection: local
55
gather_facts: false
66
vars:
7-
rh_url: "https://datagrepper.engineering.redhat.com/raw?topic=/topic/VirtualTopic.eng.ci.redhat-container-image.index.built&contains=%s&rows_per_page=20"
7+
rh_url: "https://datagrepper.engineering.redhat.com/raw?topic=/topic/VirtualTopic.eng.ci.redhat-container-image.index.built&delta=15780000&contains=%s"
88
operator: "openshift-gitops-1-gitops-operator-bundle"
99
ocp_versions: {}
1010
tasks:
1111
- name: Set url fact
1212
ansible.builtin.set_fact:
13-
url: "{{ rh_url | format(operator + ':v') }}"
13+
url: "{{ rh_url | format(operator) }}"
1414

1515
- name: Fetch URI
1616
ansible.builtin.uri:

ansible/roles/iib_ci/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
A set of ansible plays to fetch an IIB (Image Index Bundle, aka a container created by the operator sdk
44
that contains a bunch of references to operators that can be installed in an OpenShift cluster)
55

6-
Run `make lookup` to see which IIBs are available.
6+
Run `ansible-playbook common/ansible/playbooks/iib-ci/lookup.yml` to see which IIBs are available (defaults to
7+
openshift-gitops). If you want to look up IIBs for a different operator run:
8+
`ansible-playbook -e operator=acm-operator common/ansible/playbooks/iib-ci/lookup.yml`
79

810
Typically IIB are prerelease stuff that lives on some internal boxes. What these scripts do is fetch
911
the IIB internally, mirror it to the registry inside the cluster, parse all the needed images and mirror

0 commit comments

Comments
 (0)