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

built-in tar: provider #10

Closed
pi0 opened this issue Sep 10, 2022 · 4 comments · Fixed by #129
Closed

built-in tar: provider #10

pi0 opened this issue Sep 10, 2022 · 4 comments · Fixed by #129
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@pi0
Copy link
Member

pi0 commented Sep 10, 2022

Support a built-in provider to automatically resolve from a URL to a tar file

@pi0 pi0 added enhancement New feature or request good first issue Good for newcomers labels Sep 10, 2022
@eulier1
Copy link

eulier1 commented Nov 7, 2022

What would be the use case for this?. Just wanna understand it with an example to see if I can help.

@pi0
Copy link
Member Author

pi0 commented Nov 9, 2022

This way we can support any artillery template provider using a known convention without the need to create a custom one, out of the box.

Something like this: tar:https://my-template-registry.com/template/v1.tar#name=pikachu&version=1.0.0

Resolves to:

{
    name: 'pikachu',
    version: '1.0.0',
    tar: `https://my-template-registry.com/template/v1.tar`
}

This way, other than custom CDN, we can support npm registry and github releases as template provider! Examples:

@alex-key
Copy link

@pi0 I can take this if you approve the scope described above

@JupaCCLH
Copy link

When will this functionality be in master?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
4 participants