Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/fabasoad/setup-cassandra-action

This GitHub action helps you to setup Cassandra schema.
https://github.com/fabasoad/setup-cassandra-action

cassandra github-action github-actions

Last synced: 6 days ago
JSON representation

This GitHub action helps you to setup Cassandra schema.

Awesome Lists containing this project

README

        

# Setup Cassandra Action (Deprecated)

> :warning: **This GitHub action is deprecated and no longer maintained.**

[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)
![GitHub release (latest SemVer including pre-releases)](https://img.shields.io/github/v/release/fabasoad/setup-cassandra-action?include_prereleases)
![linting](https://github.com/fabasoad/setup-cassandra-action/actions/workflows/linting.yml/badge.svg)

This GitHub Action helps you to set up Cassandra schema.

## Inputs

| Name | Required | Description | Default | Possible values |
|-----------------|----------|------------------------------------------------------------------------------|---------------|-----------------|
| host | Yes | Cassandra host. | | <String> |
| port | No | Cassandra port. | `9042` | <Number> |
| username | No | Cassandra username. | <Empty> | <String> |
| password | No | Cassandra password. | <Empty> | <String> |
| connect-timeout | No | Connection timeout to Cassandra in seconds. | `10` | <Number> |
| keyspace | Yes | Cassandra keyspace. Will be created automatically in case it does not exist. | | <String> |
| scripts_path | Yes | Path to the scripts folder. | | <Path> |

## Example usage

```yaml
name: Setup Cassandra

on: push

jobs:
setup:
name: Setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: fabasoad/setup-cassandra-action@v1
with:
host: "192.13.131.0"
port: 9042
username: ${{ secrets.CASSANDRA_USERNAME }}
password: ${{ secrets.CASSANDRA_PASSWORD }}
connect-timeout: 30
keyspace: test
scripts_path: "./scripts"
```