Upgrade elixir and erlang runtimes #83

Merged
joao.dubas merged 26 commits from jpd-feat-upgrade-runtimes into main 2024-07-08 21:04:27 +00:00
Owner

Upgrade runtimes:

Upgrade dependencies:

To make graphql work with the newer erlang and elixir, the absinthe is installed directly from github:

Finally, the ci routine was simplified, so test + lint is executed in parallel, and more core is reused.

Upgrade runtimes: * `erlang` [from 26.2.5 to 27.0][0] * `elixir` [from 1.16.3 to 1.17.2][1] Upgrade dependencies: * `castore` [from 1.0.6 to 1.0.8](https://diff.hex.pm/diff/castore/1.0.6..1.0.8) * `cowboy` [from 2.10.0 to 2.12.0](https://diff.hex.pm/diff/cowboy/2.10.0..2.12.0) * `cowlib` [from 2.12.1 to 2.13.0](https://diff.hex.pm/diff/cowlib/2.12.1..2.13.0) * `credo` [from 1.7.6 to 1.7.7](https://diff.hex.pm/diff/credo/1.7.6..1.7.7) * `db_connection` [from 2.6.0 to 2.7.0](https://diff.hex.pm/diff/db_connection/2.6.0..2.7.0) * `ecto_sql` [from 3.11.2 to 3.11.3](https://diff.hex.pm/diff/ecto_sql/3.11.2..3.11.3) * `erlex` [from 0.2.6 to 0.2.7](https://diff.hex.pm/diff/erlex/0.2.6..0.2.7) * `hpax` [from 0.1.2 to 1.0.0](https://diff.hex.pm/diff/hpax/0.1.2..1.0.0) * `jason` [from 1.4.1 to 1.4.3](https://diff.hex.pm/diff/jason/1.4.1..1.4.3) * `mime` [from 2.0.5 to 2.0.6](https://diff.hex.pm/diff/mime/2.0.5..2.0.6) * `mint` [from 1.5.2 to 1.6.2](https://diff.hex.pm/diff/mint/1.5.2..1.6.2) * `nimble_options` [from 1.1.0 to 1.1.1](https://diff.hex.pm/diff/nimble_options/1.1.0..1.1.1) * `nimble_pool` [from 1.0.0 to 1.1.0](https://diff.hex.pm/diff/nimble_pool/1.0.0..1.1.0) * `phoenix` [from 1.7.12 to 1.7.14](https://diff.hex.pm/diff/phoenix/1.7.12..1.7.14) * `phoenix_ecto` [from 4.6.1 to 4.6.2](https://diff.hex.pm/diff/phoenix_ecto/4.6.1..4.6.2) * `phoenix_live_dashboard` [from 0.8.3 to 0.8.4](https://diff.hex.pm/diff/phoenix_live_dashboard/0.8.3..0.8.4) * `phoenix_live_view` [from 0.20.14 to 0.20.17](https://diff.hex.pm/diff/phoenix_live_view/0.20.14..0.20.17) * `phoenix_view` [from 2.0.3 to 2.0.4](https://diff.hex.pm/diff/phoenix_view/2.0.3..2.0.4) * `plug` [from 1.15.3 to 1.16.1](https://diff.hex.pm/diff/plug/1.15.3..1.16.1) * `plug_crypto` [from 2.0.0 to 2.1.0](https://diff.hex.pm/diff/plug_crypto/2.0.0..2.1.0) * `telemetry_metrics_prometheus_core` [from 1.2.0 to 1.2.1](https://diff.hex.pm/diff/telemetry_metrics_prometheus_core/1.2.0..1.2.1) * `websock_adapter` [from 0.5.5 to 0.5.6](https://diff.hex.pm/diff/websock_adapter/0.5.5..0.5.6) * `yaml_elixir` [from 2.9.0 to 2.11.0](https://diff.hex.pm/diff/yaml_elixir/2.9.0..2.11.0) To make `graphql` work with the newer `erlang` and `elixir`, the `absinthe` is installed directly from github: * [`absinthe`](https://github.com/absinthe-graphql/absinthe/tree/358e273a26f3ce7660cd88bf0f6daf4fa51e1689) * [`absinthe_plug`](https://github.com/absinthe-graphql/absinthe_plug/tree/3a984cc341ebb32c79e7ae58b4ebd116d5c62f9e) Finally, the `ci` routine was simplified, so test + lint is executed in parallel, and more core is reused. [0]: https://www.erlang.org/news/170 [1]: https://github.com/elixir-lang/elixir/releases/tag/v1.17.2
joao.dubas added 2 commits 2024-06-12 14:23:23 +00:00
* erlang from 26.2.5 to 27.0
* elixir from 1.16.3 to 1.17.0-rc.0
feat: upgrade elixir runtime
Some checks failed
continuous-integration/drone/pr Build is failing
6ff64e2b31
joao.dubas added 1 commit 2024-06-12 14:48:09 +00:00
chore: upgrade internal deps
Some checks failed
continuous-integration/drone/pr Build is failing
888b750d59
joao.dubas added 1 commit 2024-06-14 19:33:39 +00:00
chore: upgrade deps
Some checks failed
continuous-integration/drone/pr Build is failing
4e99c96ebd
[Upgraded deps][0]:

1. credo from 1.7.6 to 1.7.7
2. ecto_sql from 3.11.2 to 3.11.3
3. phoenix_view from 2.0.3 to 2.0.4

[0]: https://diff.hex.pm/diffs?diffs[]=credo:1.7.6:1.7.7&diffs[]=ecto_sql:3.11.2:3.11.3&diffs[]=phoenix_view:2.0.3:2.0.4
joao.dubas added 1 commit 2024-06-18 16:57:48 +00:00
feat: upgrade elixir to 1.17.1
Some checks failed
continuous-integration/drone/pr Build is failing
b8e343fcc3
joao.dubas added 1 commit 2024-06-18 17:02:02 +00:00
feat(deps): bump phoenix
Some checks failed
continuous-integration/drone/pr Build is failing
be0ed2cba6
From [1.7.12 to 1.7.13][0].

[0]: https://diff.hex.pm/diffs?diffs[]=phoenix:1.7.12:1.7.13
joao.dubas added 1 commit 2024-06-23 04:51:53 +00:00
feat(deps): upgrade deps
Some checks failed
continuous-integration/drone/pr Build is failing
d77a5a2883
1. phoenix from 1.7.13 to 1.7.14
2. phoenix_live_dashboard from 0.8.3 to 0.8.4
joao.dubas added 1 commit 2024-07-08 10:50:29 +00:00
feat(deps): upgrade deps
Some checks failed
continuous-integration/drone/pr Build is failing
790600b630
1. `jason` from 1.4.1 to 1.4.3
2. `phoenix_ecto` from 4.6.1 to 4.6.2
joao.dubas added 1 commit 2024-07-08 11:00:23 +00:00
feat: upgarde elixir runtime
Some checks failed
continuous-integration/drone/pr Build is failing
ac6c4470a5
From 1.17.1 to 1.17.2
joao.dubas added 3 commits 2024-07-08 12:23:40 +00:00
1. `castore` from 1.0.7 to 1.0.8
2. `db_connection` from 2.6.0 to 2.7.0
3. `erlex` from 0.2.6 to 0.2.7
4. `hpax` from 0.2.0 to 1.0.0
5. `mime` from 2.0.5 to 2.0.6
6. `mint` from 1.6.1 to 1.6.2
7. `phoenix_live_view` from 0.20.14 to 0.20.17
8. `plug` from 1.16.09 to 1.16.1
9. `yaml_elixir` from 2.9.0 to 2.11.0
Use git deps:

1. `absinthe` on commit [358e273][0]
2. `absinthe_plug` on commit [3a984cc][1]

[0]: 358e273a26
[1]: 3a984cc341
chore: install git on Dockerfile
Some checks failed
continuous-integration/drone/pr Build is failing
ad169e7a22
With this update the system can install dependencies from git.
joao.dubas added 1 commit 2024-07-08 12:26:23 +00:00
chore(ci): install git
Some checks failed
continuous-integration/drone/pr Build is failing
aa66527232
This is needed to elixir install git dependencies.
joao.dubas force-pushed jpd-feat-upgrade-runtimes from aa66527232 to a04704cad4 2024-07-08 12:28:23 +00:00 Compare
joao.dubas added 2 commits 2024-07-08 12:38:56 +00:00
This image already has `make` and `git`.
feat(ci): run lint checks in parallel
Some checks failed
continuous-integration/drone/pr Build is failing
4a015d584f
joao.dubas added 1 commit 2024-07-08 12:43:05 +00:00
chore(ci): remove parallelism
Some checks failed
continuous-integration/drone/pr Build is failing
0cc3d2f4a5
joao.dubas added 1 commit 2024-07-08 14:07:38 +00:00
feat(ci): run test and lint in parallel
Some checks failed
continuous-integration/drone/pr Build is failing
217cae6f39
joao.dubas added 1 commit 2024-07-08 14:11:46 +00:00
fix(ci): use slim image and compile code on deps
Some checks failed
continuous-integration/drone/pr Build is failing
027fa424b7
joao.dubas added 1 commit 2024-07-08 14:22:17 +00:00
fix(ci): add rebar and hex in all steps
Some checks failed
continuous-integration/drone/pr Build is failing
3f19c2b25f
joao.dubas added 1 commit 2024-07-08 14:28:10 +00:00
fix(ci): remove parallelism again
Some checks reported errors
continuous-integration/drone/pr Build was killed
71f36bca5e
joao.dubas added 1 commit 2024-07-08 17:00:49 +00:00
feat(ci): use slim image with parallel steps
Some checks reported errors
continuous-integration/drone/pr Build encountered an error
1a1eaa7ef7
Also, install git and make in every step.
joao.dubas added 1 commit 2024-07-08 17:07:30 +00:00
fix(ci): fix dependency name
Some checks failed
continuous-integration/drone/pr Build is failing
65a4c099b2
joao.dubas added 1 commit 2024-07-08 18:21:16 +00:00
chore(ci): use volumes to share depedencies
Some checks reported errors
continuous-integration/drone/pr Build encountered an error
fe680c04e6
joao.dubas added 1 commit 2024-07-08 18:25:17 +00:00
fix(ci): use absolute path for volumes
Some checks failed
continuous-integration/drone/pr Build is failing
7125401e43
joao.dubas added 1 commit 2024-07-08 18:33:01 +00:00
chore(ci): install git/make
Some checks failed
continuous-integration/drone/pr Build is failing
a6af8a7013
joao.dubas added 1 commit 2024-07-08 18:41:28 +00:00
fix(ci): compile app during dependency fetch
All checks were successful
continuous-integration/drone/pr Build is passing
a8cd01b9f8
joao.dubas merged commit 3f83808335 into main 2024-07-08 21:04:27 +00:00
joao.dubas deleted branch jpd-feat-upgrade-runtimes 2024-07-08 21:04:27 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: joao.dubas/ex_trainer#83
No description provided.