Skip to content

Commit

Permalink
create_builds: Name the tasks to describe what's happening
Browse files Browse the repository at this point in the history
  • Loading branch information
elfiesmelfie committed Jul 28, 2023
1 parent 19e3c33 commit 9cb32a6
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions build/stf-run-ci/tasks/create_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,26 @@
set_fact:
build_describe: "{{ build_describe_results.stdout | from_json }}"

- debug:
- name: Show the ``oc get build ...`` results
debug:
var: build_describe

- debug:
- name: Show the outputDockerImageReference, which will be used for the image reference name
debug:
var: build_describe.status.outputDockerImageReference

- name: Set unique image reference for this artifact
set_fact:
"{{ artifact.image_reference_name }}": "{{ build_describe.status.outputDockerImageReference }}"

- debug:
- name: Set the image reference name for the build
debug:
var: "{{ artifact.image_reference_name }}"

- shell: oc get imagestreams
- name: Get a list of imagestreams
shell: oc get imagestreams
register: images
- debug:
msg: "ImageStreams: {{ images.stdout }}"

- name: Show the list of imagestreams
debug:
msg: "ImageStreams: {{ images.stdout }}"

0 comments on commit 9cb32a6

Please sign in to comment.