Compare commits

..

4 Commits

Author SHA1 Message Date
Joao P Dubas
07d863c063 chore: remove unused service
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
pgcli is defined in a override file
2022-04-24 00:47:06 +00:00
Joao P Dubas
d0a50f684d chore (metric): enable ecto and absinthe 2022-04-24 00:47:06 +00:00
Joao P Dubas
4d1cdc5166 feat: add prom_ex to expose system metrics 2022-04-24 00:47:06 +00:00
423b26db4c feat: enable renovate (#7)
All checks were successful
continuous-integration/drone/push Build is passing
Welcome to [Renovate](https://github.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin.

🚦 To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged.

---
### Detected Package Files

 * `docker-compose.yml` (docker-compose)
 * `.drone.yml` (droneci)
 * `.github/workflows/ci.yml` (github-actions)
 * `mix.exs` (mix)

### Configuration Summary

Based on the default config's presets, Renovate will:

  - Start dependency updates only once this onboarding PR is merged
  - Enable Renovate Dependency Dashboard creation
  - If semantic commits detected, use semantic commit type <code>fix</code> for dependencies and <code>chore</code> for all others
  - Ignore `node_modules`, `bower_components`, `vendor` and various test/tests directories
  - Autodetect whether to pin dependencies or maintain ranges
  - Rate limit PR creation to a maximum of two per hour
  - Limit to maximum 10 open PRs at any time
  - Group known monorepo packages together
  - Use curated list of recommended non-monorepo package groupings
  - Fix some problems with very old Maven commons versions
  - Ignore spring cloud 1.x releases
  - Ignore web3j 5.0.0 release
  - Ignore http4s digest-based 1.x milestones
  - Use node versioning for @types/node
  - Limit concurrent requests to reduce load on Repology servers until we can fix this properly, see issue 10133
  - Do not upgrade from Alpine stable to edge

🔡 Would you like to change the way Renovate is upgrading your dependencies? Simply edit the `renovate.json` in this branch with your custom config and the list of Pull Requests in the "What to Expect" section below will be updated the next time Renovate runs.

---

### What to Expect

With your current configuration, Renovate will create 7 Pull Requests:

<details>
<summary>chore(deps): update styfle/cancel-workflow-action action to v0.9.1</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/styfle-cancel-workflow-action-0.x`
  - Merge into: `main`
  - Upgrade [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) to `0.9.1`

</details>

<details>
<summary>chore(deps): update dependency gettext to ~> 0.19</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/gettext-0.x`
  - Merge into: `main`
  - Upgrade gettext to `~> 0.19`

</details>

<details>
<summary>chore(deps): update dependency phoenix_live_dashboard to ~> 0.6</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/phoenix_live_dashboard-0.x`
  - Merge into: `main`
  - Upgrade phoenix_live_dashboard to `~> 0.6`

</details>

<details>
<summary>chore(deps): update dependency telemetry_metrics to ~> 0.6</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/telemetry_metrics-0.x`
  - Merge into: `main`
  - Upgrade telemetry_metrics to `~> 0.6`

</details>

<details>
<summary>chore(deps): update romeovs/lcov-reporter-action action to v0.3.1</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/romeovs-lcov-reporter-action-0.x`
  - Merge into: `main`
  - Upgrade [romeovs/lcov-reporter-action](https://github.com/romeovs/lcov-reporter-action) to `v0.3.1`

</details>

<details>
<summary>chore(deps): update actions/cache action to v3</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/actions-cache-3.x`
  - Merge into: `main`
  - Upgrade [actions/cache](https://github.com/actions/cache) to `v3`

</details>

<details>
<summary>chore(deps): update actions/checkout action to v3</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/actions-checkout-3.x`
  - Merge into: `main`
  - Upgrade [actions/checkout](https://github.com/actions/checkout) to `v3`

</details>

<br />

🚸 Branch creation will be limited to maximum 2 per hour, so it doesn't swamp any CI resources or spam the project. See docs for `prhourlylimit` for details.

---

 Got questions? Check out Renovate's [Docs](https://docs.renovatebot.com/), particularly the Getting Started section.
If you need any further assistance then you can also [request help here](https://github.com/renovatebot/renovate/discussions).

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).

Reviewed-on: #7
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2022-04-23 23:29:35 +00:00
3 changed files with 12 additions and 21 deletions

View File

@ -32,21 +32,6 @@ services:
working_dir: /opt/app
entrypoint: sleep
command: infinity
pgcli:
image: 'joaodubas/pgcli:latest'
hostname: development
depends_on:
- db
environment:
PGUSER: *db_user
PGPASSWORD: *db_pass
PGHOST: *db_host
PGDATABASE: wabanex_dev
volumes:
- './priv/docker/pgcli:/root/.config/pgcli'
restart: unless-stopped
entrypoint: sleep
command: 3650d
volumes:
db_data: {}

View File

@ -61,12 +61,12 @@ defmodule Wabanex.PromEx do
[
# PromEx built in plugins
Plugins.Application,
Plugins.Beam
Plugins.Beam,
# {Plugins.Phoenix, router: WabanexWeb.Router, endpoint: WabanexWeb.Endpoint},
# Plugins.Ecto,
Plugins.Ecto,
# Plugins.Oban,
# Plugins.PhoenixLiveView,
# Plugins.Absinthe,
Plugins.Absinthe
# Plugins.Broadway,
# Add your own PromEx metrics plugins
@ -87,12 +87,12 @@ defmodule Wabanex.PromEx do
[
# PromEx built in Grafana dashboards
{:prom_ex, "application.json"},
{:prom_ex, "beam.json"}
{:prom_ex, "beam.json"},
# {:prom_ex, "phoenix.json"},
# {:prom_ex, "ecto.json"},
{:prom_ex, "ecto.json"},
# {:prom_ex, "oban.json"},
# {:prom_ex, "phoenix_live_view.json"},
# {:prom_ex, "absinthe.json"},
{:prom_ex, "absinthe.json"}
# {:prom_ex, "broadway.json"},
# Add your dashboard definitions here with the format: {:otp_app, "path_in_priv"}

6
renovate.json Normal file
View File

@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
]
}