From 3feacde9ebd70971381f43bb8a5357823dcbd440 Mon Sep 17 00:00:00 2001 From: Daniel Azuma Date: Tue, 29 Oct 2019 15:07:56 -0700 Subject: [PATCH] Update elixir, erlang, and software versions --- CHANGELOG.md | 15 ++++++++++++--- erlang-versions.txt | 15 +++++++-------- lib/tasks/build_local_images.ex | 10 +++++----- runtime-build.sh | 8 ++++---- test/sample_app_build_test.exs | 6 +++--- 5 files changed, 31 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 19e92a7..805b3d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/erlang-versions.txt b/erlang-versions.txt index 4cceed6..78eae69 100644 --- a/erlang-versions.txt +++ b/erlang-versions.txt @@ -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 @@ -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 @@ -59,3 +54,7 @@ 22.0.7 22.1 22.1.1 +22.1.2 +22.1.3 +22.1.4 +22.1.5 diff --git a/lib/tasks/build_local_images.ex b/lib/tasks/build_local_images.ex index e13774a..68f4c34 100644 --- a/lib/tasks/build_local_images.ex +++ b/lib/tasks/build_local_images.ex @@ -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-" diff --git a/runtime-build.sh b/runtime-build.sh index 8c83919..9494f7d 100755 --- a/runtime-build.sh +++ b/runtime-build.sh @@ -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 diff --git a/test/sample_app_build_test.exs b/test/sample_app_build_test.exs index 10d6643..9f4279e 100644 --- a/test/sample_app_build_test.exs +++ b/test/sample_app_build_test.exs @@ -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 @@ -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 @@ -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