-
Notifications
You must be signed in to change notification settings - Fork 26
Refactor setup scripts as kibble cli command #91
Conversation
|
@skekre98 have you tried using docker? |
Got it working now, still getting used to the repository 😅 . I've also made the change to the docker compose file to use the new setup workflow with the cli. $ docker-compose -f docker-compose-dev.yaml up setup
kibble_elasticsearch_1 is up-to-date
Recreating kibble_setup_1 ...
Recreating kibble_setup_1 ... done
Attaching to kibble_setup_1
setup_1 | Welcome to the Apache Kibble setup script!
setup_1 | Elasticsearch: elasticsearch:9200
setup_1 | Trying to create ES index...
setup_1 | {'name': 'es01', 'cluster_name': 'kibble', 'cluster_uuid': '8-2XRavIQiaZFKLh7n0u_w', 'version': {'number': '7.9.2', 'build_flavor': 'default', 'build_type': 'docker', 'build_hash': 'd34da0ea4a966c4e49417f2da2f244e3e97b4e6e', 'build_date': '2020-09-23T00:45:33.626720Z', 'build_snapshot': False, 'lucene_version': '8.6.2', 'minimum_wire_compatibility_version': '6.8.0', 'minimum_index_compatibility_version': '6.0.0-beta1'}, 'tagline': 'You Know, for Search'}
setup_1 | DB prefix exists, but --skiponexist used, skipping this step.
setup_1 |
setup_1 | All done, Kibble should...work now :) |
Easy, it's open source. :) |
turbaszek
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @skekre98 🎉 🎉
|
Great job @skekre98. Thanks! |
Hi, really sorry about the delay. I was able to completely migrate the setup workflow to be implemented with
click. I am running into a minor error while runningcreate_es_indexwhich I don't believe has anything to do with the new cli implementation. Was wondering if I could get some assistance with figuring out the issue as I am a bit new to ElasticSearch 😅?Seems I am receiving a connection error when calling elasticsearch:
The actual cli commands and arguments are working now though 👍