Skip to content

Commit

Permalink
Update elixir, erlang, and software versions
Browse files Browse the repository at this point in the history
  • Loading branch information
dazuma committed Oct 29, 2019
1 parent 0f47394 commit 3feacde
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 23 deletions.
15 changes: 12 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,27 @@ choosing the following in your `app.yaml` config file:

However, you may also pin to a specific version of the runtime by specifying
the version name as the yaml file name. For example, to pin to the
`elixir-2019-07-01-065508` release, use:
`elixir-2019-10-09-181239` release, use:

runtime: gs://elixir-runtime/elixir-2019-07-01-065508.yaml
runtime: gs://elixir-runtime/elixir-2019-10-09-181239.yaml

There is currently no guarantee regarding how long older runtime releases will
continue to be supported. It is generally best not to pin to a specific
release unless absolutely necessary, and then you should return to latest as
soon as possible.

## Unreleased

* Prebuilt OTP up to 21.3.8.10 and 22.1.5
* Removed prebuilt OTP 21.0.1 through 21.0.8 (but kept 21.0 and 21.0.9)
* Update default elixir to 1.9.2
* Update default OTP to 22.1.5
* Update gcloud to 268.0.0
* Update nodejs to 12.13.0

## elixir-2019-10-09-181239

* Prebuilt OTP 21.3.8.6, 22.1, and 22.1.1.
* Prebuilt OTP 21.3.8.7, 22.1, and 22.1.1.
* Update default to elixir to 1.9.1.
* Update default OTP to 22.1.1.
* Allow custom debian packages with plus signs in the name.
Expand Down
15 changes: 7 additions & 8 deletions erlang-versions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@
20.3.8
20.3.8.21
21.0
21.0.1
21.0.2
21.0.3
21.0.4
21.0.5
21.0.6
21.0.7
21.0.8
21.0.9
21.1
21.1.1
Expand Down Expand Up @@ -49,6 +41,9 @@
21.3.8.5
21.3.8.6
21.3.8.7
21.3.8.8
21.3.8.9
21.3.8.10
22.0
22.0.1
22.0.2
Expand All @@ -59,3 +54,7 @@
22.0.7
22.1
22.1.1
22.1.2
22.1.3
22.1.4
22.1.5
10 changes: 5 additions & 5 deletions lib/tasks/build_local_images.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ defmodule Mix.Tasks.BuildLocalImages do
@shortdoc "Build images locally."

@os_name "ubuntu18"
@prebuilt_erlang_versions ["22.1.1"]
@base_erlang_version "22.1.1"
@base_elixir_version "1.9.1-otp-22"
@prebuilt_erlang_versions ["22.1.5"]
@base_erlang_version "22.1.5"
@base_elixir_version "1.9.2-otp-22"
@old_distillery_elixir_version "1.8.2-otp-22"
@asdf_version "0.7.4"
@nodejs_version "10.16.3"
@gcloud_version "265.0.0"
@nodejs_version "12.13.0"
@gcloud_version "268.0.0"

@prebuilt_erlang_image_prefix "elixir-prebuilt-erlang-"

Expand Down
8 changes: 4 additions & 4 deletions runtime-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
# limitations under the License.


DEFAULT_ERLANG_VERSION=22.1.1
DEFAULT_ELIXIR_VERSION=1.9.1-otp-22
DEFAULT_ERLANG_VERSION=22.1.5
DEFAULT_ELIXIR_VERSION=1.9.2-otp-22
OLD_DISTILLERY_ELIXIR_VERSION=1.8.2-otp-22
ASDF_VERSION=0.7.4
GCLOUD_VERSION=265.0.0
NODEJS_VERSION=10.16.3
GCLOUD_VERSION=268.0.0
NODEJS_VERSION=12.13.0


set -e
Expand Down
6 changes: 3 additions & 3 deletions test/sample_app_build_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ defmodule SampleAppBuildTest do

assert_cmd_output(
["docker", "run", "--rm", image, "elixir", "--version"],
~r{1\.9\.1},
~r{1\.9\.2},
show: true
)
end
Expand All @@ -144,7 +144,7 @@ defmodule SampleAppBuildTest do
check_container: fn _container ->
assert_cmd_output(
["curl", "-s", "-S", "http://localhost:8080/elixir-version"],
"1.9.1",
"1.9.2",
timeout: 10,
show: true,
verbose: true
Expand Down Expand Up @@ -177,7 +177,7 @@ defmodule SampleAppBuildTest do
check_container: fn _container ->
assert_cmd_output(
["curl", "-s", "-S", "http://localhost:8080/elixir-version"],
"1.9.1",
"1.9.2",
timeout: 10,
show: true,
verbose: true
Expand Down

0 comments on commit 3feacde

Please sign in to comment.