Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

waylayio/influxdb-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Setup and configure InfluxDB and CLI Tools

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
      influxdb_token: apitoken

Install but don't start InfluxDB (influx CLI Tooling Only)

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

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
      influxdb_token: apitoken

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%