fix(console): download runtime from deterministic latest-runtime tag
The online runtime download used releases/latest/download, which GitHub resolves to whichever release holds the 'Latest' flag. The console repo also publishes offline-ai-workspace-* build releases that take that flag and carry no console runtime asset -> HTTP 404 on the online/Debian path. Point at the stable latest-runtime release (published by the console-runtime workflow) and add a bounded download retry. The env-provided archive path still wins via the existing when-guard, so offline/bundled installs are unaffected. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
9e81f65a62
commit
e5fc29fa8a
@ -490,10 +490,14 @@
|
||||
|
||||
- name: Download XWorkspace Console runtime release
|
||||
ansible.builtin.get_url:
|
||||
url: "https://github.com/ai-workspace-lab/xworkspace-console/releases/latest/download/xworkspace-console-runtime-{{ ansible_system | lower }}-{{ 'amd64' if ansible_architecture in ['x86_64', 'amd64'] else 'arm64' }}.tar.gz"
|
||||
url: "https://github.com/ai-workspace-lab/xworkspace-console/releases/download/latest-runtime/xworkspace-console-runtime-{{ ansible_system | lower }}-{{ 'amd64' if ansible_architecture in ['x86_64', 'amd64'] else 'arm64' }}.tar.gz"
|
||||
dest: "/tmp/xworkspace-console-runtime.tar.gz"
|
||||
mode: "0644"
|
||||
force: true
|
||||
register: xworkspace_console_runtime_download
|
||||
until: xworkspace_console_runtime_download is succeeded
|
||||
retries: 3
|
||||
delay: 5
|
||||
when: xworkspace_console_runtime_archive | length == 0
|
||||
|
||||
- name: Set runtime archive path
|
||||
|
||||
Loading…
Reference in New Issue
Block a user