Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow a path variable for local VM archive fetching #126

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

leopaul36
Copy link
Contributor

Linked issues

Changes

  • Allow the use of a path variable to upload the VM binary from a local file instead of fetching a GitHub release. Will be useful for debugging.

Additional comments

Example:

avalanchego_vms_list:
  tokenvm:
    # download_url and path are mutually exclusive
    # download_url: https://github.com/AshAvalanche/hypersdk/releases/download
    path: "{{ inventory_dir }}/../../files" # tokenvm_0.0.999_linux_amd64.tar.gz
    id: tHBYNu8ikqo4MWMHehC9iKB9mR5tB3DWzbkYmTfe9buWQ5GZ8
    # Used in Ash CLI
    ash_vm_type: Custom
    binary_filename: tokenvm
    aliases:
      - tokenvm
    versions_comp:
      0.0.999:
        ge: 1.10.10
        le: 1.10.10

@leopaul36 leopaul36 merged commit 45e088b into main Feb 20, 2024
@leopaul36 leopaul36 deleted the 125-vm-archive-path branch February 20, 2024 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow avalanchego_vms_list to define a path variable to fetch the archive locally
2 participants