Skip to content

Commit

Permalink
add logging to propper debug
Browse files Browse the repository at this point in the history
Signed-off-by: mvaras <[email protected]>
  • Loading branch information
mvaras committed Aug 2, 2024
1 parent 97d02eb commit 3101e4b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion upstream/local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
- always
when: run_upstream|bool

- name: "Setting basic task variables"
- name: "Setting basic task variables (!)"
set_fact:
opm_cache_host_bug_line: 'RUN \["/bin/opm", "serve", "/configs", "--cache-dir=/tmp/cache", "--cache-only"\]'
dc_changes_allowed:
Expand Down
10 changes: 8 additions & 2 deletions upstream/roles/build_app_registry/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,14 @@

- name: "Building and pushing app registry"
block:
- name: "Build app registry image '{{ app_registry_image }}' using '{{ app_registry_build_file }}'"
shell: "{{ container_tool }} build --no-cache -t {{ app_registry_image }} -f {{ app_registry_build_dir }}/{{ app_registry_build_file }} {{ bundle_export_dir_app_registry | dirname }}"
- name: "Build app registry image '{{ app_registry_image }}' using '{{ app_registry_build_file }}' (!)"
shell: |
podman info
ls -la /var/tmp
df -h
podman system df
echo $TMPDIR
"{{ container_tool }} --tmpdir=/mnt/tmp build --no-cache --log-level=debug -t {{ app_registry_image }} -f {{ app_registry_build_dir }}/{{ app_registry_build_file }} {{ bundle_export_dir_app_registry | dirname }}"
- name: "Push app registry image '{{ app_registry_image }}'"
shell: "{{ container_tool }} push {{ container_push_extra }} {{ app_registry_image }}"
Expand Down

0 comments on commit 3101e4b

Please sign in to comment.