Skip to content

Commit

Permalink
Merge pull request #285 from bettio/prepare-0.11.0-rc.1
Browse files Browse the repository at this point in the history
Prepare 0.11.0-rc.1
  • Loading branch information
rbino authored Mar 26, 2020
2 parents ad83e7f + 51a1dbd commit 3fa5d13
Show file tree
Hide file tree
Showing 20 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [0.11.0-rc.1] - Unreleased
## [0.11.0-rc.1] - 2020-03-26
### Fixed
- [data_updater_plant] Discard unexpected object aggregated values on individual interfaces.
- [trigger_engine] 500 was not included in the range of HTTP server errors, causing a crash.
Expand Down
2 changes: 1 addition & 1 deletion apps/astarte_appengine_api/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ defmodule Astarte.AppEngine.API.Mixfile do
def project do
[
app: :astarte_appengine_api,
version: "0.11.0-rc.0",
version: "0.11.0-rc.1",
elixir: "~> 1.8",
elixirc_paths: elixirc_paths(Mix.env()),
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ info:
an impact on devices and their data. Most Astarte applications would want to
use this API to interact with devices, stream and receive data, and oversee
their fleet.
version: 0.11.0-rc.0
version: 0.11.0-rc.1
title: Astarte App Engine API
contact:
email: [email protected]
Expand Down
2 changes: 1 addition & 1 deletion apps/astarte_data_updater_plant/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defmodule Astarte.DataUpdaterPlant.Mixfile do
def project do
[
app: :astarte_data_updater_plant,
version: "0.11.0-rc.0",
version: "0.11.0-rc.1",
elixir: "~> 1.8",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
Expand Down
2 changes: 1 addition & 1 deletion apps/astarte_housekeeping/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defmodule Astarte.Housekeeping.Mixfile do
def project do
[
app: :astarte_housekeeping,
version: "0.11.0-rc.0",
version: "0.11.0-rc.1",
build_path: "_build",
config_path: "config/config.exs",
deps_path: "deps",
Expand Down
2 changes: 1 addition & 1 deletion apps/astarte_housekeeping_api/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defmodule Astarte.Housekeeping.API.Mixfile do
def project do
[
app: :astarte_housekeeping_api,
version: "0.11.0-rc.0",
version: "0.11.0-rc.1",
elixir: "~> 1.8",
elixirc_paths: elixirc_paths(Mix.env()),
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ info:
configuration. This API is usually accessible only to system administrators,
and is not meant for the average user of Astarte, which should refer to
Realm Management API instead.
version: 0.11.0-rc.0
version: 0.11.0-rc.1
title: Astarte Housekeeping API
contact:
email: [email protected]
Expand Down
2 changes: 1 addition & 1 deletion apps/astarte_pairing/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defmodule Astarte.Pairing.Mixfile do
def project do
[
app: :astarte_pairing,
version: "0.11.0-rc.0",
version: "0.11.0-rc.1",
elixir: "~> 1.8",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
Expand Down
2 changes: 1 addition & 1 deletion apps/astarte_pairing_api/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defmodule Astarte.Pairing.API.Mixfile do
def project do
[
app: :astarte_pairing_api,
version: "0.11.0-rc.0",
version: "0.11.0-rc.1",
elixir: "~> 1.8",
elixirc_paths: elixirc_paths(Mix.env()),
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ servers:
instance, it is most likely `https://<your host>/pairing`.
info:
description: 'Control device registration, authentication an authorization'
version: 0.11.0-rc.0
version: 0.11.0-rc.1
title: Astarte Pairing API
contact:
email: [email protected]
Expand Down
2 changes: 1 addition & 1 deletion apps/astarte_realm_management/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defmodule Astarte.RealmManagement.Mixfile do
def project do
[
app: :astarte_realm_management,
version: "0.11.0-rc.0",
version: "0.11.0-rc.1",
elixir: "~> 1.8",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
Expand Down
2 changes: 1 addition & 1 deletion apps/astarte_realm_management_api/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defmodule Astarte.RealmManagement.API.Mixfile do
def project do
[
app: :astarte_realm_management_api,
version: "0.11.0-rc.0",
version: "0.11.0-rc.1",
build_path: "_build",
config_path: "config/config.exs",
deps_path: "deps",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ info:
Astarte's Realm Management API is the main mechanism to configure a Realm.
It allows installing and managing Interfaces, Triggers and any configuration
of the Realm itself.
version: 0.11.0-rc.0
version: 0.11.0-rc.1
title: Astarte Realm Management API
contact:
email: [email protected]
Expand Down
2 changes: 1 addition & 1 deletion apps/astarte_trigger_engine/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defmodule Astarte.TriggerEngine.Mixfile do
def project do
[
app: :astarte_trigger_engine,
version: "0.11.0-rc.0",
version: "0.11.0-rc.1",
elixir: "~> 1.8",
elixirc_paths: elixirc_paths(Mix.env()),
build_embedded: Mix.env() == :prod,
Expand Down
2 changes: 1 addition & 1 deletion doc/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Doc.MixProject do
def project do
[
app: :doc,
version: "0.11.0-rc.0",
version: "0.11.0-rc.1",
elixir: "~> 1.4",
start_permanent: Mix.env() == :prod,
deps: deps(),
Expand Down
2 changes: 1 addition & 1 deletion doc/pages/administrator/060-setup_cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ metadata:
spec:
# This is the most minimal set of reasonable configuration to spin up an Astarte
# instance with reasonable defaults and enough control over the deployment.
version: 0.11.0-rc.0
version: 0.11.0-rc.1
api:
host: "api.astarte.yourdomain.com" # MANDATORY
rabbitmq:
Expand Down
10 changes: 5 additions & 5 deletions doc/pages/tutorials/010-astarte_in_5_minutes.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Also, on the machine(s) or device(s) you will use as a client, you will need eit
To get our Astarte instance running as fast as possible, we will install Astarte's standalone distribution. It includes a tunable Docker Compose which brings up Astarte and every companion service needed for it to work. To do so, simply clone Astarte's main repository and use its scripts to bring it up:

```sh
$ git clone https://github.com/astarte-platform/astarte.git -b v0.11.0-rc.0 && cd astarte
$ git clone https://github.com/astarte-platform/astarte.git -b v0.11.0-rc.1 && cd astarte
$ docker run -v $(pwd)/compose:/compose astarte/docker-compose-initializer
$ docker-compose up -d
```
Expand Down Expand Up @@ -125,13 +125,13 @@ Depending on what your client supports, you can either compile `stream-qt5-test`
Astarte's `stream-qt5-test` can be pulled from Docker Hub with:

```sh
$ docker pull astarte/astarte-stream-qt5-test:0.11.0-rc.0
$ docker pull astarte/astarte-stream-qt5-test:0.11.0-rc.1
```

Its most basic invocation (from your `astarte` repository tree) is:

```sh
$ docker run --net="host" -e "DEVICE_ID=$(astartectl utils device-id generate-random)" -e "PAIRING_HOST=http://localhost:4003" -e "REALM=test" -e "AGENT_KEY=$(astartectl utils gen-jwt pairing -k test_private.pem)" -e "IGNORE_SSL_ERRORS=true" astarte/astarte-stream-qt5-test:0.11.0-rc.0
$ docker run --net="host" -e "DEVICE_ID=$(astartectl utils device-id generate-random)" -e "PAIRING_HOST=http://localhost:4003" -e "REALM=test" -e "AGENT_KEY=$(astartectl utils gen-jwt pairing -k test_private.pem)" -e "IGNORE_SSL_ERRORS=true" astarte/astarte-stream-qt5-test:0.11.0-rc.1
```

This will generate a random datastream from a brand new, random Device ID. You can tweak those parameters to whatever suits you better by having a look at the Dockerfile. You can spawn any number of instances you like, or you can have the same Device ID send longer streams of data by saving the container's persistency through a Docker Volume. If you wish to do so, simply add `-v /persistency:<your persistency path>` to your `docker run` invocation.
Expand All @@ -151,15 +151,15 @@ If your target platform does not support running containers, you can build `stre
Once your dependencies are installed, compile your components:

```sh
$ git clone https://github.com/astarte-platform/astarte-device-sdk-qt5.git -b v0.11.0-rc.0
$ git clone https://github.com/astarte-platform/astarte-device-sdk-qt5.git -b v0.11.0-rc.1
$ cd astarte-device-sdk-qt5
$ mkdir build
$ cd build
$ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
$ make
$ make install
$ cd -
$ git clone https://github.com/astarte-platform/stream-qt5-test.git -b v0.11.0-rc.0
$ git clone https://github.com/astarte-platform/stream-qt5-test.git -b v0.11.0-rc.1
$ cd stream-qt5-test
$ qmake .
$ make
Expand Down
24 changes: 12 additions & 12 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '2'
services:
astarte-housekeeping:
image: astarte/astarte_housekeeping:0.11.0-rc.0
image: astarte/astarte_housekeeping:0.11.0-rc.1
env_file:
- ./compose.env
ports:
Expand All @@ -12,7 +12,7 @@ services:
- "scylla"

astarte-housekeeping-api:
image: astarte/astarte_housekeeping_api:0.11.0-rc.0
image: astarte/astarte_housekeeping_api:0.11.0-rc.1
env_file:
- ./compose.env
environment:
Expand All @@ -26,7 +26,7 @@ services:
- "rabbitmq"

astarte-realm-management:
image: astarte/astarte_realm_management:0.11.0-rc.0
image: astarte/astarte_realm_management:0.11.0-rc.1
env_file:
- ./compose.env
ports:
Expand All @@ -37,7 +37,7 @@ services:
- "scylla"

astarte-realm-management-api:
image: astarte/astarte_realm_management_api:0.11.0-rc.0
image: astarte/astarte_realm_management_api:0.11.0-rc.1
env_file:
- ./compose.env
ports:
Expand All @@ -47,7 +47,7 @@ services:
- "rabbitmq"

astarte-pairing:
image: astarte/astarte_pairing:0.11.0-rc.0
image: astarte/astarte_pairing:0.11.0-rc.1
env_file:
- ./compose.env
ports:
Expand All @@ -60,7 +60,7 @@ services:
- "scylla"

astarte-pairing-api:
image: astarte/astarte_pairing_api:0.11.0-rc.0
image: astarte/astarte_pairing_api:0.11.0-rc.1
env_file:
- ./compose.env
ports:
Expand All @@ -70,7 +70,7 @@ services:
- "rabbitmq"

astarte-appengine-api:
image: astarte/astarte_appengine_api:0.11.0-rc.0
image: astarte/astarte_appengine_api:0.11.0-rc.1
env_file:
- ./compose.env
environment:
Expand All @@ -86,7 +86,7 @@ services:
- "scylla"

astarte-data-updater-plant:
image: astarte/astarte_data_updater_plant:0.11.0-rc.0
image: astarte/astarte_data_updater_plant:0.11.0-rc.1
env_file:
- ./compose.env
ports:
Expand All @@ -104,7 +104,7 @@ services:
- "scylla"

astarte-trigger-engine:
image: astarte/astarte_trigger_engine:0.11.0-rc.0
image: astarte/astarte_trigger_engine:0.11.0-rc.1
env_file:
- ./compose.env
ports:
Expand All @@ -117,7 +117,7 @@ services:
- "scylla"

astarte-dashboard:
image: astarte/astarte-dashboard:0.11.0-rc.0
image: astarte/astarte-dashboard:0.11.0-rc.1
ports:
- "4040:80"
volumes:
Expand All @@ -127,7 +127,7 @@ services:
- "astarte-appengine-api"

astarte-grafana:
image: astarte/grafana:0.11.0-rc.0
image: astarte/grafana:0.11.0-rc.1
ports:
- "3000:3000"
depends_on:
Expand Down Expand Up @@ -168,7 +168,7 @@ services:

# VerneMQ
vernemq:
image: astarte/vernemq:0.11.0-rc.0
image: astarte/vernemq:0.11.0-rc.1
env_file:
- ./compose.env
environment:
Expand Down
2 changes: 1 addition & 1 deletion tools/astarte_export/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule AstarteExport.MixProject do
def project do
[
app: :astarte_export,
version: "0.11.0-rc.0",
version: "0.11.0-rc.1",
elixir: "~> 1.8",
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls],
Expand Down
2 changes: 1 addition & 1 deletion tools/astarte_import/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Astarte.Import.MixProject do
def project do
[
app: :astarte_import,
version: "0.11.0-rc.0",
version: "0.11.0-rc.1",
elixir: "~> 1.8",
start_permanent: Mix.env() == :prod,
deps: deps()
Expand Down

0 comments on commit 3fa5d13

Please sign in to comment.