Skip to content

Commit

Permalink
test(COLIMA): adjust mount settings for osx 14
Browse files Browse the repository at this point in the history
  • Loading branch information
niall-byrne committed Jun 20, 2024
1 parent 6234dc3 commit 5f043a6
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/workflow-colima-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
secrets:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
strategy:
fail-fast: true
fail-fast: false
matrix:
scenario: ${{ fromJSON(needs.scenarios.outputs.SCENARIOS) }}
platform: ${{ fromJSON(needs.configuration.outputs.JSON_FILE_DATA).ci_molecule_test_platforms }}
Expand Down
1 change: 1 addition & 0 deletions .vale/Vocab/collection/accept.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ DOWNLOADER|downloader
HOMESHICK|homeshick
Homebrew|homebrew
JumpCloud|jumpcloud
OSX|osx
SUDO|sudo
URL|url
YAMLLINT
Expand Down
4 changes: 2 additions & 2 deletions roles/colima/molecule/buildkit/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 12 additions & 3 deletions roles/colima/molecule/common/tasks/display_logs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,22 @@
- name: Create Log File List
ansible.builtin.set_fact:
colima_molecule_log_list:
- "/Users/{{ colima_service_user }}/.lima/colima/ha.stderr.log"
- "/Users/{{ colima_service_user }}/.lima/colima/ha.stdout.log"
- "/Users/{{ colima_service_user }}/.colima/_lima/colima/ha.stderr.log"
- "/Users/{{ colima_service_user }}/.colima/_lima/colima/ha.stdout.log"
- "/Users/{{ colima_service_user }}/.colima/{{ colima_service_default_profile }}/daemon/daemon.log"
- "/Users/{{ colima_service_user }}/.lima/colima/serial.log"
- "/Users/{{ colima_service_user }}/.colima/_lima/colima/colima/serial.log"
- "{{ 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 }}"
Expand Down

0 comments on commit 5f043a6

Please sign in to comment.