-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
astarte_dev_tool
: setup and features
#978
astarte_dev_tool
: setup and features
#978
Conversation
8c0c1ea
to
b802f25
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #978 +/- ##
==========================================
+ Coverage 67.99% 69.49% +1.50%
==========================================
Files 281 267 -14
Lines 7420 6613 -807
==========================================
- Hits 5045 4596 -449
+ Misses 2375 2017 -358 ☔ View full report in Codecov by Sentry. |
b802f25
to
ff08b56
Compare
006ecc8
to
7230a50
Compare
astarte_dev_tool
: setup and featuresastarte_dev_tool
: setup and features
4330f4c
to
c2ee6f9
Compare
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.
I suggest using a different commit structure:
- First, a "new" commit, containing the command used to generate the folder, and the generated files
- If needed, a "cleanup" commit, very briefly stating what's been removed and why
- A commit to add the different functionalities, explaining with some more detail what's the goal of these
cbec7f0
to
b3890e4
Compare
eea6086
to
a9aad2e
Compare
The branch is based on astarte-platform#956, which is necessary to start `docker compose` in development mode Signed-off-by: Gabriele Ghio <gabriele.ghio@secomind.com>
cac6ca8
to
19e8140
Compare
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.
We're almost there!
19e8140
to
f4c1f04
Compare
tools/astarte_dev_tool/lib/mix/tasks/astarte_dev_tool/system/down.ex
Outdated
Show resolved
Hide resolved
f4c1f04
to
4a47d1f
Compare
Addition of `astarte_dev_tool` functionalities: the functionalities are stateless and based on the `mix task` mechanism - [X] `mix astarte_dev_tool.system.up`: start `docker compose` in dev mode - [x] `mix astarte_dev_tool.system.down`: stop `docker compose` in dev mode - [X] `mix astarte_dev_tool.system.watch`: watch mode to enable hot-code-reloading Signed-off-by: Gabriele Ghio <gabriele.ghio@secomind.com>
4a47d1f
to
cbb2db2
Compare
In order to _local_ develop astarte via `dev mode`, using [`astarte-dev-tool up`](astarte-platform#978) or using `docker compose watch`, cassandra/scylla needs to expose the port used to connection. Otherwise, the connection are only available via cluster. With this PR scylla/cassandra is exposed on `localhost:9042` Signed-off-by: Gabriele Ghio <gabriele.ghio@secomind.com>
astarte_dev_tool
first commitThe branch is based on #956, which is necessary to start
docker compose
in development modeAddition of
astarte_dev_tool
functionalities: the functionalities are statelessand based on the
mix task
mechanismmix astarte_dev_tool.system.up
: startdocker compose
in dev modemix astarte_dev_tool.system.down
: stopdocker compose
in dev modemix astarte_dev_tool.system.watch
: watch mode to enable hot-code-reloading