A Buildkite plugin to set up oblt-cli.
[!NOTE] This plugin does not provide a way to automatically download the latest version of
oblt-cli
to ensure that the used version is stable and the plugin is reproducible. If you don't provide both theversion
orversion-file
input, then the default version defined in .default-oblt-cli-version will be used. The default version will be updated by updatecli when a new version ofoblt-cli
is available. Only maintainers will decide to merge the PR created by updatecli to update the version.
Name | Type | Default | Description |
---|---|---|---|
version |
string |
7.3.0 |
The version of the oblt-cli to install. |
version-file
|
string |
- | The file to get the version from. If both version and version-file are provided, the plugin will use version . |
username |
string |
obltmachine |
The oblt-cli username |
slack-channel
|
string |
#observablt-bots |
The slack channel for oblt-cli notifications |
steps:
- command: oblt-cli cluster create serverless
agents:
provider: gcp # currently only works on the gcp provider
plugins:
- elastic/oblt-cli#v0.1.0:
version-file: .tool-versions
This plugin requires the VAULT_GITHUB_TOKEN
, which is set by default in Buildkite agents.
The plugin requires the following GitHub token permissions in the elastic/observability-test-environments repository:
contents: write
pull_requests: read