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

This GitHub action helps you to setup Cassandra schema.

License

Notifications You must be signed in to change notification settings

fabasoad/setup-cassandra-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

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"