build: update otp version

This commit is contained in:
zhouzb 2021-12-02 15:25:11 +08:00
parent fa40189209
commit caf1784a90
10 changed files with 24 additions and 24 deletions

View File

@ -3,7 +3,7 @@ version: '3.9'
services:
erlang23:
container_name: erlang23
image: ghcr.io/emqx/emqx-builder/5.0-2:23.3.4.9-3-ubuntu20.04
image: ghcr.io/emqx/emqx-builder/5.0-3:23.3.4.9-3-ubuntu20.04
env_file:
- conf.env
environment:
@ -23,7 +23,7 @@ services:
erlang24:
container_name: erlang24
image: ghcr.io/emqx/emqx-builder/5.0-2:24.1.5-2-ubuntu20.04
image: ghcr.io/emqx/emqx-builder/5.0-3:24.1.5-3-ubuntu20.04
env_file:
- conf.env
environment:

View File

@ -19,7 +19,7 @@ jobs:
prepare:
runs-on: ubuntu-20.04
# prepare source with any OTP version, no need for a matrix
container: "ghcr.io/emqx/emqx-builder/5.0-2:24.1.5-2-ubuntu20.04"
container: "ghcr.io/emqx/emqx-builder/5.0-3:24.1.5-3-ubuntu20.04"
outputs:
old_vsns: ${{ steps.find_old_versons.outputs.old_vsns }}
@ -129,7 +129,7 @@ jobs:
- emqx
- emqx-enterprise
otp:
- 24.1.5-2
- 24.1.5-3
macos:
- macos-11
- macos-10.15
@ -215,7 +215,7 @@ jobs:
- emqx
- emqx-enterprise
otp:
- 24.1.5-2 # we test with OTP 23, but only build package on OTP 24 versions
- 24.1.5-3 # we test with OTP 23, but only build package on OTP 24 versions
arch:
- amd64
- arm64
@ -301,7 +301,7 @@ jobs:
-v $(pwd):/emqx \
--workdir /emqx \
--platform linux/$ARCH \
ghcr.io/emqx/emqx-builder/5.0-2:$OTP-$SYSTEM \
ghcr.io/emqx/emqx-builder/5.0-3:$OTP-$SYSTEM \
bash -euc "make $PROFILE-zip || cat rebar3.crashdump; \
make $PROFILE-pkg || cat rebar3.crashdump; \
EMQX_NAME=$PROFILE && .ci/build_packages/tests.sh"
@ -336,7 +336,7 @@ jobs:
- emqx-enterprise
# NOTE: for docker, only support latest otp version, not a matrix
otp:
- 24.1.5-2 # update to latest
- 24.1.5-3 # update to latest
steps:
- uses: actions/download-artifact@v2
@ -377,7 +377,7 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
BUILD_FROM=ghcr.io/emqx/emqx-builder/5.0-2:${{ matrix.otp }}-alpine3.14
BUILD_FROM=ghcr.io/emqx/emqx-builder/5.0-3:${{ matrix.otp }}-alpine3.14
RUN_FROM=alpine:3.14
EMQX_NAME=${{ matrix.profile }}
file: source/deploy/docker/Dockerfile
@ -405,7 +405,7 @@ jobs:
- emqx
- emqx-enterprise
otp:
- 24.1.5-2
- 24.1.5-3
steps:
- uses: actions/checkout@v2

View File

@ -24,12 +24,12 @@ jobs:
- emqx
- emqx-enterprise
otp:
- 24.1.5-2
- 24.1.5-3
os:
- ubuntu20.04
- centos7
container: "ghcr.io/emqx/emqx-builder/5.0-2:${{ matrix.otp }}-${{ matrix.os }}"
container: "ghcr.io/emqx/emqx-builder/5.0-3:${{ matrix.otp }}-${{ matrix.os }}"
steps:
- uses: actions/checkout@v1
@ -55,7 +55,7 @@ jobs:
- emqx
- emqx-enterprise
otp:
- 24.1.5-2
- 24.1.5-3
macos:
- macos-11
- macos-10.15

View File

@ -5,7 +5,7 @@ on: [pull_request]
jobs:
check_deps_integrity:
runs-on: ubuntu-20.04
container: "ghcr.io/emqx/emqx-builder/5.0-2:24.1.5-2-ubuntu20.04"
container: "ghcr.io/emqx/emqx-builder/5.0-3:24.1.5-3-ubuntu20.04"
steps:
- uses: actions/checkout@v2

View File

@ -13,10 +13,10 @@ jobs:
matrix:
otp:
- 23.3.4.9-3
- 24.1.5-2
- 24.1.5-3
runs-on: ubuntu-20.04
container: "ghcr.io/emqx/emqx-builder/5.0-2:${{ matrix.otp }}-ubuntu20.04"
container: "ghcr.io/emqx/emqx-builder/5.0-3:${{ matrix.otp }}-ubuntu20.04"
steps:
- uses: actions/checkout@v2

View File

@ -14,7 +14,7 @@ jobs:
prepare:
runs-on: ubuntu-20.04
# prepare source with any OTP version, no need for a matrix
container: ghcr.io/emqx/emqx-builder/5.0-2:24.1.5-2-alpine3.14
container: ghcr.io/emqx/emqx-builder/5.0-3:24.1.5-3-alpine3.14
steps:
- uses: actions/checkout@v2
@ -55,7 +55,7 @@ jobs:
- name: make docker image
working-directory: source
env:
EMQX_BUILDER: ghcr.io/emqx/emqx-builder/5.0-2:24.1.5-2-alpine3.14
EMQX_BUILDER: ghcr.io/emqx/emqx-builder/5.0-3:24.1.5-3-alpine3.14
run: |
make ${{ matrix.profile }}-docker
- name: run emqx
@ -100,7 +100,7 @@ jobs:
- name: make docker image
working-directory: source
env:
EMQX_BUILDER: ghcr.io/emqx/emqx-builder/5.0-2:24.1.5-2-alpine3.14
EMQX_BUILDER: ghcr.io/emqx/emqx-builder/5.0-3:24.1.5-3-alpine3.14
run: |
make ${{ matrix.profile }}-docker
echo "TARGET=emqx/${{ matrix.profile }}" >> $GITHUB_ENV

View File

@ -19,10 +19,10 @@ jobs:
- emqx
- emqx-enterprise
otp_vsn:
- 24.1.5-2
- 24.1.5-3
runs-on: ubuntu-20.04
container: "ghcr.io/emqx/emqx-builder/5.0-2:${{ matrix.otp_vsn }}-ubuntu20.04"
container: "ghcr.io/emqx/emqx-builder/5.0-3:${{ matrix.otp_vsn }}-ubuntu20.04"
defaults:
run:

View File

@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
emqx_builder:
- 5.0-2:24.1.5-2 # run dialyzer on latest OTP
- 5.0-3:24.1.5-3 # run dialyzer on latest OTP
runs-on: ubuntu-20.04
container: "ghcr.io/emqx/emqx-builder/${{ matrix.emqx_builder }}-ubuntu20.04"
@ -32,7 +32,7 @@ jobs:
strategy:
matrix:
emqx_builder:
- 5.0-2:24.1.5-2
- 5.0-3:24.1.5-3
runs-on: ubuntu-20.04
container: "ghcr.io/emqx/emqx-builder/${{ matrix.emqx_builder }}-ubuntu20.04"

View File

@ -1 +1 @@
erlang 24.1.5-2
erlang 24.1.5-3

View File

@ -1,4 +1,4 @@
ARG BUILD_FROM=ghcr.io/emqx/emqx-builder/5.0-2:24.1.5-2-alpine3.14
ARG BUILD_FROM=ghcr.io/emqx/emqx-builder/5.0-3:24.1.5-3-alpine3.14
ARG RUN_FROM=alpine:3.14
FROM ${BUILD_FROM} AS builder