/setup-cassandra-action

This GitHub action helps you to setup Cassandra schema.

Primary LanguageShellMIT LicenseMIT

Setup Cassandra Action (Deprecated)

⚠️ This GitHub action is deprecated and no longer maintained.

Stand With Ukraine GitHub release (latest SemVer including pre-releases) linting

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

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"