Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kc-workspace/asdf-k6


https://github.com/kc-workspace/asdf-k6

asdf asdf-plugin asdf-vm

Last synced: 30 days ago
JSON representation

Awesome Lists containing this project

README

        


asdf-k6


An extensible load testing tool built for developer happiness



github-main


version


version


k6
·
asdf

> This is an asdf-vm plugin generated from [template][template-gh].

## Before start

> If you still see this section, mean this plugin is not ready yet

There are several things template cannot generate for you,
below are a list of thing we should do:

1. make sure that your GitHub repository already exist at [kc-workspace/asdf-k6][plugin-gh]
2. please read [plugins create section][asdf-create-plugin] for more information
3. remove `before start` section once you completed

## Install

Plugin:

```sh
asdf plugin add "k6" "https://github.com/kc-workspace/asdf-k6.git"
```

App:

```sh
# Show all installable versions
asdf list all k6

# Install latest version
asdf install k6 latest

# Set a version globally
asdf global k6 latest
# Set a version locally
asdf local k6 latest

# Now k6 commands are available
k6
```

Check the [asdf][asdf-link] readme for instructions on
how to install & manage versions.

## Features

Plugins generated from asdf-plugin-template repository will
contains several extra features for every user including all below.

- `$DEBUG=` to enabled debug mode (debug logs will guarantee to show regardless of other settings)
- `$ASDF_FORCE_DOWNLOAD=` to always download even cache exist
- `$ASDF_INSECURE=` to disable security features (e.g. checksum)
- `$ASDF_NO_CHECK=` to disable pre-check features (e.g. check-cmd)
- `$ASDF_OVERRIDE_REF_REPO=` to override git repository URL when install with ref mode
- `$ASDF_OVERRIDE_OS=` to override os name
- `$ASDF_OVERRIDE_ARCH=` to override arch name
- `$ASDF_OVERRIDE_EXT=` to override download extension
- `$GITHUB_TOKEN=` to pass GitHub token on http request
- `$ASDF_LOG_FORMAT=` to custom log format, there are several variables
- **{datetime}** - for current datetime
- **{date}** - for current date
- **{time}** - for current time
- **{level}** - for log level (always be 3 characters uppercase)
- **{namespace}** - for formatted namespace (always have same length)
- **{ns}** - for raw namespace (no formatting applied)
- **{message}** - for log message
- `$ASDF_LOG_QUIET=` - to disable only info logs
- `$ASDF_LOG_SILENT=` - to disable all logs (including warning and error)

### Addition Features

The plugins might contains additional features
in addition to default features above.
You can take a look at [README.plugin.md][app-readme-md]

## Contributors

Read [CONTRIBUTING.md][contributing-md] file for more detail.

[app-readme-md]: ./README.plugin.md
[contributing-md]: ./CONTRIBUTING.md
[plugin-gh]: https://github.com/kc-workspace/asdf-k6
[template-gh]: https://github.com/kc-workspace/asdf-plugin-template
[asdf-link]: https://github.com/asdf-vm/asdf
[asdf-create-plugin]: https://asdf-vm.com/plugins/create.html