Skip to content

Conversation

@nickva
Copy link
Contributor

@nickva nickva commented Jul 11, 2024

Erlang: 25.3.2.13, 26.2.5.2
Elixir: 1.17.2

Elixir 1.17 is the only that seems to be supported for Erlang 25, 26 and 27.

Updated the README file with some more recent version and OS examples.

Images are already uploaded to:

https://hub.docker.com/repository/docker/apache/couchdbci-debian/tags
https://hub.docker.com/repository/docker/apache/couchdbci-centos/tags
https://hub.docker.com/repository/docker/apache/couchdbci-ubuntu/tags

Full CI passes with the new images

@nickva nickva requested a review from big-r81 July 11, 2024 05:20
Copy link
Contributor

@big-r81 big-r81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Erlang: 25.3.2.13, 26.2.5.2
Elixir: 1.17.2

Elixir 1.17 is the only that seems to be supported for Erlang 25, 26
and 27.

Unfortunately Erlang 26 + OpenSSL 3.x doesn't work with FIPS OTP
config flag even with runtime fips mode off, so disable it for now.
@nickva nickva force-pushed the upgrade-elixir-and-erlang-25 branch from cc86a96 to 0ef7685 Compare July 12, 2024 02:13
@nickva
Copy link
Contributor Author

nickva commented Jul 12, 2024

With this patch:

if [[ ${ERLANGMAJORVERSION} -gt 25 ]]; then
    echo "*************************  WARNING ***************************"
    echo "As of 2024-07-11 Erlang 26.2.5* fails access any crypto functions"
    echo "on OSes with OpenSSL 3.0.x (Debian Bookworm, at least) if the "
    echo "--enable-fips flag is enabled. See: github.com/erlang/otp/issues/8562"
    echo "**************************************************************"
    ENABLE_FIPS=""
else
    ENABLE_FIPS="--enable-fips"
fi

Both the PR and the full CI passes.
https://ci-couchdb.apache.org/blue/organizations/jenkins/jenkins-cm1%2FPullRequests/detail/PR-5128/7/pipeline
https://ci-couchdb.apache.org/blue/organizations/jenkins/jenkins-cm1%2FFullPlatformMatrix/detail/jenkins-update-ci-erlang/1/pipeline/

@nickva nickva merged commit aa7fec1 into main Jul 12, 2024
@nickva nickva deleted the upgrade-elixir-and-erlang-25 branch July 12, 2024 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants