nautobot / nautobot-app-version-control

Version Control App that uses and requires a Dolt Database
Other
29 stars 6 forks source link

Add hosted back #197

Closed itdependsnetworks closed 1 year ago

PavelSafronov commented 1 year ago

development/docker-compose.base.yml has a reference to db, which is not present if we're using hosted db.

Here's the error I'm getting currently:

$ time invoke clean-tests
Running tests with hosted dolt database.
mysql: [Warning] Using a password on the command line interface can be insecure.
mysql: [Warning] Using a password on the command line interface can be insecure.
mysql: [Warning] Using a password on the command line interface can be insecure.
mysql: [Warning] Using a password on the command line interface can be insecure.
mysql: [Warning] Using a password on the command line interface can be insecure.
mysql: [Warning] Using a password on the command line interface can be insecure.
Destroying Nautobot...
Running docker-compose command "down --volumes"
service "nautobot" depends on undefined service db: invalid compose project
invoke clean-tests  0.26s user 0.14s system 25% cpu 1.585 total
PavelSafronov commented 1 year ago

I had to make a few changes for this to work, but I was able to run tests and start a local server, both using hosted dolt.

Changes: https://github.com/dolthub/nautobot-plugin-version-control/commit/7f348c5efb805de5f1aab26e6e56537bc985473a