ci: update OTP version

This commit is contained in:
Zaiming (Stone) Shi 2022-08-17 16:26:36 +02:00
parent 71610b01c6
commit 10cabddb07
13 changed files with 18 additions and 18 deletions

View File

@ -1,4 +1,4 @@
ARG BUILD_FROM=emqx/build-env:erl23.2.7.2-emqx-3-ubuntu20.04
ARG BUILD_FROM=emqx/build-env:erl23.3.4.9-3-ubuntu20.04
FROM ${BUILD_FROM}
ARG EMQX_NAME=emqx

View File

@ -3,7 +3,7 @@ version: '3.9'
services:
erlang:
container_name: erlang
image: emqx/build-env:erl23.2.7.2-emqx-3-ubuntu20.04
image: emqx/build-env:erl23.3.4.9-3-ubuntu20.04
env_file:
- conf.env
environment:

View File

@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
erl_otp:
- erl23.2.7.2-emqx-3
- erl23.3.4.9-3
os:
- ubuntu20.04

View File

@ -18,7 +18,7 @@ on:
jobs:
prepare:
runs-on: ubuntu-20.04
container: emqx/build-env:erl23.2.7.2-emqx-3-ubuntu20.04
container: emqx/build-env:erl23.3.4.9-3-ubuntu20.04
outputs:
profiles: ${{ steps.set_profile.outputs.profiles}}
@ -125,7 +125,7 @@ jobs:
matrix:
profile: ${{fromJSON(needs.prepare.outputs.profiles)}}
erl_otp:
- 23.2.7.2-emqx-3
- 23.3.4.9-3
exclude:
- profile: emqx-edge
macos:

View File

@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
erl_otp:
- erl23.2.7.2-emqx-3
- erl23.3.4.9-3
os:
- ubuntu20.04
- centos7
@ -55,7 +55,7 @@ jobs:
strategy:
matrix:
erl_otp:
- 23.2.7.2-emqx-3
- 23.3.4.9-3
macos:
- macos-11
runs-on: ${{ matrix.macos }}

View File

@ -5,7 +5,7 @@ on: [pull_request]
jobs:
check_deps_integrity:
runs-on: ubuntu-20.04
container: emqx/build-env:erl23.2.7.2-emqx-3-ubuntu20.04
container: emqx/build-env:erl23.3.4.9-3-ubuntu20.04
steps:
- uses: actions/checkout@v2

View File

@ -7,7 +7,7 @@ on:
jobs:
prepare:
runs-on: ubuntu-20.04
container: emqx/build-env:erl23.2.7.2-emqx-3-ubuntu20.04
container: emqx/build-env:erl23.3.4.9-3-ubuntu20.04
outputs:
profiles: ${{ steps.set_profile.outputs.profiles}}

View File

@ -5,7 +5,7 @@ on: workflow_dispatch
jobs:
test:
runs-on: ubuntu-20.04
container: emqx/build-env:erl23.2.7.2-emqx-3-ubuntu20.04
container: emqx/build-env:erl23.3.4.9-3-ubuntu20.04
strategy:
fail-fast: true
env:

View File

@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v1
- uses: erlef/setup-beam@v1
with:
otp-version: "23.2"
otp-version: "23.3.4.9"
- name: make docker
run: |
if make emqx-ee --dry-run > /dev/null 2>&1; then
@ -67,7 +67,7 @@ jobs:
- uses: actions/checkout@v1
- uses: erlef/setup-beam@v1
with:
otp-version: "23.2"
otp-version: "23.3.4.9"
- name: prepare
run: |
if make emqx-ee --dry-run > /dev/null 2>&1; then
@ -176,7 +176,7 @@ jobs:
relup_test_plan:
runs-on: ubuntu-20.04
container: emqx/build-env:erl23.2.7.2-emqx-3-ubuntu20.04
container: emqx/build-env:erl23.3.4.9-3-ubuntu20.04
outputs:
profile: ${{ steps.profile-and-versions.outputs.profile }}
vsn: ${{ steps.profile-and-versions.outputs.vsn }}
@ -222,7 +222,7 @@ jobs:
relup_test_build:
needs: relup_test_plan
runs-on: ubuntu-20.04
container: emqx/build-env:erl23.2.7.2-emqx-3-ubuntu20.04
container: emqx/build-env:erl23.3.4.9-3-ubuntu20.04
defaults:
run:
shell: bash

View File

@ -10,7 +10,7 @@ on:
jobs:
run_proper_test:
runs-on: ubuntu-20.04
container: emqx/build-env:erl23.2.7.2-emqx-3-ubuntu20.04
container: emqx/build-env:erl23.3.4.9-3-ubuntu20.04
steps:
- uses: actions/checkout@v2

View File

@ -1 +1 @@
erlang 23.2.7.2-emqx-3
erlang 23.3.4.9-3

View File

@ -4,7 +4,7 @@ REBAR = $(CURDIR)/rebar3
BUILD = $(CURDIR)/build
SCRIPTS = $(CURDIR)/scripts
export EMQX_RELUP ?= true
export EMQX_DEFAULT_BUILDER = emqx/build-env:erl23.2.7.2-emqx-3-alpine
export EMQX_DEFAULT_BUILDER = emqx/build-env:erl23.3.4.9-3-alpine
export EMQX_DEFAULT_RUNNER = alpine:3.12
export PKG_VSN ?= $(shell $(CURDIR)/pkg-vsn.sh)
export DOCKERFILE := deploy/docker/Dockerfile

View File

@ -29,7 +29,7 @@ The second path is for CMD to setup environment variables.
### Erlang/OTP
Install Erlang/OTP 23.2 from https://www.erlang.org/downloads
Install Erlang/OTP 23.3 from https://www.erlang.org/downloads
You may need to edit the `Path` environment variable to allow running
Erlang commands such as `erl` from CMD.