This repo contains some scripts to ease the iteration process on testing of the NoSQL charms during development.
git clone https://github.com/canonical/opensearch-operator
git clone https://github.com/Mehdi-Bendriss/charm-testing-scripts
cd charm-testing-scripts/opensearch
bash deploy.sh --type large --project ../../opensearch-operator/
# Add integrations
juju switch :dev1
juju integrate main:peer-cluster-orchestrator failover:peer-cluster
juju switch :dev2
juju integrate main:peer-cluster-orchestrator data:peer-cluster
juju integrate main:peer-cluster-orchestrator ml:peer-cluster
juju integrate failover:peer-cluster-orchestrator data:peer-cluster
juju integrate failover:peer-cluster-orchestrator ml:peer-cluster
bash deploy.sh --type small --project ../../opensearch-operator/