mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-06 08:35:55 +00:00
This adds the Terraform needed to create a gauntlet testing framework for a cluster that is a mirror of Samsung's. It is meant to be run once a day in CI via the GitLab scheduler.
28 lines
No EOL
504 B
Bash
28 lines
No EOL
504 B
Bash
#!/bin/bash
|
|
|
|
# To run script: ./deploySingleNodeCluster.sh
|
|
# requires TF_VAR_gitlab_token env var to be set
|
|
|
|
echo “$(pwd)”
|
|
|
|
pushd ./qa/tf/ci/singlenode
|
|
export TF_IN_AUTOMATION=1
|
|
terraform init -input=false
|
|
terraform apply -input=false -auto-approve
|
|
popd
|
|
|
|
# configure Featurebase
|
|
|
|
# step 1a: get IPs of the cluster
|
|
|
|
|
|
|
|
# step 1b: get IPs of the ingest nodes
|
|
|
|
# step 2: write a featurebase.conf file
|
|
|
|
# step 3: write featurebase.service
|
|
|
|
# step 4: start featurebase
|
|
|
|
# step 5: verify featurebase running |