Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/influxdata/influxdb-action

A GitHub action for setting up and configuring InfluxDB and the InfluxDB Cloud CLI
https://github.com/influxdata/influxdb-action

actions github-actions influxdb

Last synced: 1 day ago
JSON representation

A GitHub action for setting up and configuring InfluxDB and the InfluxDB Cloud CLI

Awesome Lists containing this project

README

        

# InfluxDB Action

This action downloads, installs, and configures an InfluxDB OSS instance and CLI tooling that can be used in your automation.

This downloads the specified version (or `latest` or `nightly`), and adds `influxd` and `influx` commands to `/usr/local/bin`.

# Usage

See [action.yml](action.yml)

### Setup and configure InfluxDB and CLI Tools
```yaml
steps:
- name: Check out repo
uses: actions/checkout@v2
- name: Setup InfluxDB
uses: influxdata/influxdb-action@v3
with:
influxdb_version: latest
influxdb_org: influxdata
influxdb_user: ci_user
influxdb_password: password
influxdb_bucket: dummy
```

### Install but don't start InfluxDB (influx CLI Tooling Only)
```yaml
steps:
- name: Check out repo
uses: actions/checkout@v2
- name: Setup InfluxDB
uses: influxdata/influxdb-action@v3
with:
influxdb_version: latest
influxdb_start: false
```

### Use a specific version of InfluxDB
```yaml
steps:
- name: Check out repo
uses: actions/checkout@v2
- name: Setup InfluxDB
uses: influxdata/influxdb-action@v3
with:
influxdb_version: 2.0.7
influxdb_org: influxdata
influxdb_user: ci_user
influxdb_password: password
influxdb_bucket: dummy
```