From fbb01fa467012ddf627e84d506b3d7e218a46fa3 Mon Sep 17 00:00:00 2001 From: Niall Byrne <9848926+niall-byrne@users.noreply.github.com> Date: Thu, 20 Jun 2024 12:46:14 -0400 Subject: [PATCH] test(COLIMA): adjust mount settings for osx 14 --- .vale/Vocab/collection/accept.txt | 1 + roles/colima/molecule/buildkit/vars/main.yml | 4 ++-- roles/colima/molecule/common/tasks/display_logs.yml | 9 +++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.vale/Vocab/collection/accept.txt b/.vale/Vocab/collection/accept.txt index a1ef034..403a214 100644 --- a/.vale/Vocab/collection/accept.txt +++ b/.vale/Vocab/collection/accept.txt @@ -9,6 +9,7 @@ DOWNLOADER|downloader HOMESHICK|homeshick Homebrew|homebrew JumpCloud|jumpcloud +OSX|osx SUDO|sudo URL|url YAMLLINT diff --git a/roles/colima/molecule/buildkit/vars/main.yml b/roles/colima/molecule/buildkit/vars/main.yml index 9a360bb..f00d230 100644 --- a/roles/colima/molecule/buildkit/vars/main.yml +++ b/roles/colima/molecule/buildkit/vars/main.yml @@ -31,10 +31,10 @@ colima_docker_config: features: buildkit: true -colima_vm_type: qemu +colima_vm_type: vz colima_use_rosetta: false -colima_mount_type: sshfs +colima_mount_type: virtiofs colima_mount_inotify: false colima_cpu_type: "" colima_layer: false diff --git a/roles/colima/molecule/common/tasks/display_logs.yml b/roles/colima/molecule/common/tasks/display_logs.yml index 3bafb47..96f427e 100644 --- a/roles/colima/molecule/common/tasks/display_logs.yml +++ b/roles/colima/molecule/common/tasks/display_logs.yml @@ -12,6 +12,15 @@ - "{{ colima_service_stdout_log_file }}" - "{{ colima_service_stderr_log_file }}" +- name: Temporary Log Scrape # noqa no-changed-when + ansible.builtin.command: "cat /Users/runner/.colima/_lima/colima/serial*.log" + register: file_dump + +- name: Temporary Log Data + ansible.builtin.debug: + msg: + - "{{ file_dump.stdout }}" + - name: Check For Existence of Logs ansible.builtin.stat: path: "{{ colima_molecule_log_file }}"