-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mises à jour techniques (Elixir, Erlang, NVM, NodeJS) (#33)
* Make sure the docker hub link is closer from the image * Update to most recent elixir/erlang couple * Bump NVM to latest https://github.com/nvm-sh/nvm/releases * Bump NodeJS to latest LTS available https://nodejs.org * Try to fix the build * Update test for NodeJS * Update test for Elixir version * Modify script to make it work with newer format * Add readme test to verify OTP version in full (improved) * Update GitHub action to assert on full version * Now use full version specifier * Add explanation about how the hex images are built * Add very useful help to see output of commands locally The CI already does that by default. * Upgrade packages (except kernel) for security See etalab/transport-deploy#46 for context * Bump to latest * Bump Node to latest LTS * Bump tests
- Loading branch information
Showing
4 changed files
with
44 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
task :get_image_version do | ||
version = IO.read("transport-site/Dockerfile")[/FROM (hexpm\/elixir.*)/, 1] | ||
version = version.gsub('hexpm/elixir:','elixir-') | ||
fail "Unexpected FROM format, script must be verified" unless version =~ /\Aelixir\-[^\-]+\-erlang\-[^\-]+\-alpine\-[^\-]+\z/ | ||
fail "Unexpected FROM value (got #{version}), script must be adapted?" unless version =~ /\Aelixir\-[^\-]+\-erlang\-[^\-]+\-ubuntu\-focal\-[^\-]+\z/ | ||
puts version | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters