e616d01e63
chore(ci): upgrade database and erlang runtime on pipelines ( #74 )
...
continuous-integration/drone/push Build is passing
The following upgrades were made:
* Bump [`postgres` from 16.0 to 16.3][postgres-release].
* Bump [`erlang`][erlang-release] from [26.2.3 to 26.2.5][erlang-diffs].
Also, use the same `elixir` image/tag on both pipelines.
[postgres-release]: https://www.postgresql.org/docs/release/16.3/
[erlang-release]: https://www.erlang.org/patches/otp-26.2.5
[erlang-diffs]: https://github.com/erlang/otp/compare/OTP-26.2.3...OTP-26.2.5
Reviewed-on: #74
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2024-05-16 19:15:12 +00:00
9bd41ba3b8
chore(deps): bump erlang runtime and deps ( #67 )
...
continuous-integration/drone/push Build is passing
Update runtime:
* Bump [`erlang` from 26.2.2 to 26.2.3][0]
Update [dependencies][1]:
* credo from 1.7.4 to 1.7.5
* mix_audit from 2.1.2 to 2.1.3
* phoenix_ecto from 4.4.3 to 4.5.1
* postgrex from 0.17.4 to 0.17.5
[0]: https://www.erlang.org/patches/otp-26.2.3
[1]: https://diff.hex.pm/diffs?diffs[]=credo:1.7.4:1.7.5&diffs[]=mix_audit:2.1.2:2.1.3&diffs[]=phoenix_ecto:4.4.5:4.5.1&diffs[]=postgrex:0.17.4:0.17.5
Reviewed-on: #67
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2024-03-19 16:23:27 +00:00
24d75a2fd8
feat(ci): trigger on branch main ( #61 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: #61
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2024-02-11 14:09:51 +00:00
1b21556d2c
Upgrade runtime and deps ( #60 )
...
Upgrade project runtimes and dependencies to the latest versions.
1. Runtimes:
1. `elixir` to 1.16.1
1. `erlang` to 26.2.2
1. [Dependencies][0]:
1. `absinte` from 1.7.5 to 1.7.6
1. `credo` from 1.7.1 to 1.7.4
1. `dialyxir` from 1.4.2 to 1.4.3
1. `ecto_sql` from 3.10.3 to 3.11.1
1. `gettext` from 0.23.1 to 0.24.0
1. `mix_audit` from 2.1.1 to 2.1.2
1. `pg_ranges` from 1.1.0 to 1.1.1
1. `phoenix` from 1.7.10 to 1.7.11
1. `plug_cowboy` from 2.6.1 to 2.7.0
1. `postgrex` from 0.17.3 to 0.17.4
1. `telemetry_metrics` from 0.6.1 to 0.6.2
[0]: https://diff.hex.pm/diffs?diffs[]=absinte:1.7.5:1.7.6&diffs[]=credo:1.7.1:1.7.4&diffs[]=dialyxir:1.4.2:1.4.3&diffs[]=ecto_sql:3.10.3:3.11.1&diffs[]=gettext:0.23.1:0.24.0&diffs[]=mix_audit:2.1.1:2.1.2&diffs[]=pg_ranges:1.1.0:1.1.1&diffs[]=phoenix:1.7.10:1.7.11&diffs[]=plug_cowboy:2.6.1:2.7.0&diffs[]=postgrex:0.17.3:0.17.4&diffs[]=telemetry_metrics:0.6.1:0.6.2
Reviewed-on: #60
2024-02-11 13:53:11 +00:00
7420139650
feat(ci): additional code/deps/security checks ( #37 )
...
To improve `CI` quality the following checks were added:
* compile warnings
* deprecated dependencies
* insecure dependencies
* unused dependencies
* code vulnerabilities
Also, to improve `CI` execution time, dependencies checks and lining were separated from the test pipeline.
Last, but not least, to make local development easier a `Dockerfile` was created to contain any system dependencies, and targets to handle database creation and migration were added.
Reviewed-on: #37
2023-11-11 20:35:45 +00:00
88de0beeac
chore(deps): update elixir docker tag to v1.15.7 ( #49 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| elixir | docker | patch | `1.15.6-slim` -> `1.15.7-slim` |
| elixir | | patch | `1.15.6-slim` -> `1.15.7-slim` |
| [elixir](https://elixir-lang.org/ ) ([source](https://github.com/elixir-lang/elixir )) | | patch | `1.15.6` -> `1.15.7` |
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTcuMyIsInVwZGF0ZWRJblZlciI6IjM1LjExNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Reviewed-on: #49
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2023-11-09 21:47:25 +00:00
1c0a0b6853
chore(deps): update elixir docker tag to v1.15.6 ( #46 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| elixir | docker | patch | `1.15.4-slim` -> `1.15.6-slim` |
| elixir | | patch | `1.15.4-slim` -> `1.15.6-slim` |
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTcuMyIsInVwZGF0ZWRJblZlciI6IjM1LjExNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Reviewed-on: #46
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2023-10-06 14:19:13 +00:00
748d7f3381
chore(deps): update postgres docker tag to v16 ( #42 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| postgres | docker | major | `15.4-alpine` -> `16.0-alpine` |
| postgres | | major | `15.4-alpine` -> `16.0-alpine` |
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTcuMyIsInVwZGF0ZWRJblZlciI6IjM1LjExNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Reviewed-on: #42
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2023-09-20 22:29:26 +00:00
fbba19f4a7
chore(deps): update postgres docker tag to v15.4 ( #39 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| postgres | docker | minor | `15.3-alpine` -> `15.4-alpine` |
| postgres | | minor | `15.3-alpine` -> `15.4-alpine` |
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTcuMyIsInVwZGF0ZWRJblZlciI6IjM1LjExNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Reviewed-on: #39
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2023-08-16 13:58:06 +00:00
2039b43c53
feat: upgrade elixir/erlang runtimes ( #35 )
...
Upgrade runtimes to the latest versions:
* elixir to 1.15.4
* erlang to 26.0.2
Improve CI definition by using a cache that considers the runtime version.
Save disk space by using the `slim` image variant.
Co-authored-by: Joao P Dubas <joao.dubas@gmail.com>
Reviewed-on: #35
2023-07-23 23:01:03 +00:00
22b3823d8e
chore(deps): update elixir docker tag ( #32 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| elixir | docker | patch | `1.14.4` -> `1.14.5` |
| elixir | | patch | `1.14.4` -> `1.14.5` |
| [elixir](https://elixir-lang.org/ ) ([source](https://github.com/elixir-lang/elixir )) | | minor | `1.14.4` -> `1.15.0` |
Also upgrade deps listed on [hex.pm/l/vtvfy][0].
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTIuMCIsInVwZGF0ZWRJblZlciI6IjM0LjExMi4wIn0=-->
Co-authored-by: João Paulo Dubas <joao.dubas@noreply.gitea.dubas.dev>
Reviewed-on: #32
[0]: https://diff.hex.pm/diffs?diffs[]=absinthe:1.7.0:1.7.1&diffs[]=credo:1.6.4:1.7.0&diffs[]=dialyxir:1.1.0:1.3.0&diffs[]=ecto_sql:3.7.2:3.10.1&diffs[]=gettext:0.20.0:0.22.2&diffs[]=jason:1.3.0:1.4.0&diffs[]=lcov_ex:0.2.0:0.3.3&diffs[]=phoenix_ecto:4.4.0:4.4.2&diffs[]=phoenix_live_dashboard:0.6.5:0.8.0&diffs[]=prom_ex:1.7.1:1.8.0
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2023-06-20 03:06:58 +00:00
7befc86adc
chore(deps): update meltwater/drone-cache docker tag to v1.4.0 ( #29 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [meltwater/drone-cache](https://github.com/meltwater/drone-cache ) | docker | minor | `v1.3.0` -> `v1.4.0` |
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTIuMCIsInVwZGF0ZWRJblZlciI6IjM0LjExMi4wIn0=-->
Reviewed-on: #29
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2023-06-19 23:48:57 +00:00
39ff0979c7
chore(deps): update postgres docker tag to v15 ( #31 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| postgres | docker | major | `14.8-alpine` -> `15.3-alpine` |
| postgres | | major | `14.8-alpine` -> `15.3-alpine` |
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTIuMCIsInVwZGF0ZWRJblZlciI6IjM0LjExMi4wIn0=-->
Reviewed-on: #31
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2023-06-16 11:27:56 +00:00
a30611f310
chore(deps): update postgres docker tag to v14.8 ( #30 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| postgres | docker | minor | `14.5-alpine` -> `14.8-alpine` |
| postgres | | minor | `14.5-alpine` -> `14.8-alpine` |
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTIuMCIsInVwZGF0ZWRJblZlciI6IjM0LjExMi4wIn0=-->
Reviewed-on: #30
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2023-06-14 22:51:56 +00:00
686b23bc8e
chore(deps): update elixir docker tag to v1.14.4 ( #24 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| elixir | docker | patch | `1.14.3` -> `1.14.4` |
| elixir | | patch | `1.14.3` -> `1.14.4` |
| [elixir](https://elixir-lang.org/ ) ([source](https://github.com/elixir-lang/elixir )) | | patch | `1.14.3` -> `1.14.4` |
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTIuMCIsInVwZGF0ZWRJblZlciI6IjM0LjExMi4wIn0=-->
Reviewed-on: #24
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2023-04-16 22:56:12 +00:00
5dc3af3463
chore(deps): update elixir docker tag to v1.14.3 ( #23 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| elixir | docker | patch | `1.14.0` -> `1.14.3` |
| elixir | | patch | `1.14.0` -> `1.14.3` |
| [elixir](https://elixir-lang.org/ ) ([source](https://github.com/elixir-lang/elixir )) | | minor | `1.13.4-otp-24` -> `1.14.3` |
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTIuMCIsInVwZGF0ZWRJblZlciI6IjM0LjExMi4wIn0=-->
Reviewed-on: #23
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2023-02-27 03:25:24 +00:00
ea530b4775
chore(deps): update elixir docker tag to v1.14.0 ( #21 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| elixir | docker | minor | `1.13.4` -> `1.14.0` |
| elixir | | minor | `1.13.4` -> `1.14.0` |
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNzkuMCIsInVwZGF0ZWRJblZlciI6IjMyLjE3OS4wIn0=-->
Reviewed-on: #21
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2023-02-27 01:23:50 +00:00
fc08e32e1a
chore(deps): update postgres docker tag to v14.5 ( #20 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| postgres | docker | minor | `14.4-alpine` -> `14.5-alpine` |
| postgres | | minor | `14.4-alpine` -> `14.5-alpine` |
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xMjcuMSIsInVwZGF0ZWRJblZlciI6IjMyLjE3OS4wIn0=-->
Reviewed-on: #20
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2023-01-24 01:55:12 +00:00
c463839411
chore(deps): update dependency postgres to v14.4 ( #18 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| postgres | docker | minor | `14.3-alpine` -> `14.4-alpine` |
| postgres | | minor | `14.3-alpine` -> `14.4-alpine` |
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
Reviewed-on: #18
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2022-07-01 13:22:26 +00:00
7559f3dc71
chore(deps): update dependency postgres to v14.3 ( #17 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| postgres | docker | minor | `14.2-alpine` -> `14.3-alpine` |
| postgres | | minor | `14.2-alpine` -> `14.3-alpine` |
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
Reviewed-on: #17
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2022-06-09 11:39:26 +00:00
39419f8837
feat (ci): improve configuration ( #16 )
...
- Remove unused `github-actions` configuration
- Cache build and deps to make tests faster
- Add lint step
Reviewed-on: #16
2022-04-26 00:01:43 +00:00
e7df0322d7
Improve project usage ( #6 )
...
continuous-integration/drone/push Build is passing
1. Ignore unnecessary files, such as `pgcli` log/history, and extra `docker-compose` definitions.
2. Add `Makefile` with common tasks.
3. Add git pre-commit hook to ensure project is always properly formatted.
4. Add [`btree_gist`][0] extension to `postgres`.
Reviewed-on: #6
[0]: https://www.postgresql.org/docs/14/btree-gist.html
2022-04-23 17:15:16 +00:00
b7200555a8
feat: upgrade runtime and system dependencies ( #5 )
...
* Upgrade elixir, erlang, and postgres to their latest versions.
* Fix CI configuration, so tests are executed.
* Migrate project configuration from `Mix.Config` to `Config`.
Reviewed-on: #5
2022-04-22 15:21:25 +00:00
Joao P Dubas
087cfbc44a
[extra-02] configure drone ci/cd
continuous-integration/drone/push Build encountered an error
2021-07-22 02:05:29 +00:00