Home

Awesome

Setup Cassandra Action (Deprecated)

:warning: 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

<!-- prettier-ignore-start -->
NameRequiredDescriptionDefaultPossible values
hostYesCassandra host.<String>
portNoCassandra port.9042<Number>
usernameNoCassandra username.<Empty><String>
passwordNoCassandra password.<Empty><String>
connect-timeoutNoConnection timeout to Cassandra in seconds.10<Number>
keyspaceYesCassandra keyspace. Will be created automatically in case it does not exist.<String>
scripts_pathYesPath to the scripts folder.<Path>
<!-- prettier-ignore-end -->

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"