-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update package building scripts and images to use Conan #4435
Conversation
bump version to rc3 test on Fedora 37 rm docker user mapping on container builds (doesn't work with conan) rm dpkg dev pkg (was broken anyway) rm dependency builds (handled by Conan now)
@thejohnfreeman I'm still unsure about the removal from
|
RUN if [ "${CI_USE}" = true ] ; then /tmp/install_cmake.sh 3.9.0 /opt/local/cmake-3.9; fi | ||
|
||
RUN /tmp/build_deps.sh | ||
ENV PLANTUML_JAR="/opt/plantuml/plantuml.jar" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is PlantUML gone? We need it to build the Doxygen documentation.
RUN /tmp/install_cmake.sh 3.16.3 /opt/local/cmake-3.16 | ||
RUN ln -s /opt/local/cmake-3.16 /opt/local/cmake | ||
ENV PATH="/opt/local/cmake/bin:$PATH" | ||
# also install min supported cmake for testing | ||
RUN if [ "${CI_USE}" = true ] ; then /tmp/install_cmake.sh 3.9.0 /opt/local/cmake-3.9; fi | ||
# TODO: Install latest CMake for testing | ||
RUN if [ "${CI_USE}" = true ] ; then /tmp/install_cmake.sh 3.16.3 /opt/local/cmake-3.16; fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comments on the Ubuntu Dockerfile for my thoughts on moving all these RUN
commands to the install script and greatly simplifying / trivializing the Dockerfile.
I guess this might be a flaky test. I kicked it off again.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Just a minor indentation missing
--slave /usr/bin/gcov-tool gcov-tool /usr/bin/gcov-dump-7 \ | ||
--slave /usr/bin/gcov-dump gcov-dump /usr/bin/gcov-tool-7 | ||
if [[ ${VERSION_ID} =~ ^20\. ]] ; then | ||
apt-get install -y \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: indentation missing
if [ "${CI_USE}" = true ] ; then | ||
apt-get -y update | ||
if [[ ${VERSION_ID} =~ ^20\. ]] ; then | ||
for v in 12 14; do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: indentation missing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I started with a empty ~/.conan/data
, and it installed, generated, built and tested without errors for me on macOS, using the directions in BUILD.md.
@legleux to confirm this is ready to merge, you can put the |
How about that, I can add labels? |
* upstream/develop: Update package building scripts and images to use Conan (XRPLF#4435) Disable duplicate detector: (XRPLF#4438)
* upstream/develop: Set version to 1.10.0-rc4 Rename 'NFT' to 'NFToken' in DisallowIncoming flags (XRPLF#4442) Update Docker.md (XRPLF#4432) Update package building scripts and images to use Conan (XRPLF#4435) Disable duplicate detector: (XRPLF#4438)
* upstream/develop: Set version to 1.10.0-rc4 Rename 'NFT' to 'NFToken' in DisallowIncoming flags (XRPLF#4442) Update Docker.md (XRPLF#4432) Update package building scripts and images to use Conan (XRPLF#4435) Disable duplicate detector: (XRPLF#4438)
* upstream/develop: Set version to 1.10.0-rc4 Rename 'NFT' to 'NFToken' in DisallowIncoming flags (XRPLF#4442) Update Docker.md (XRPLF#4432) Update package building scripts and images to use Conan (XRPLF#4435) Disable duplicate detector: (XRPLF#4438)
* upstream/develop: Set version to 1.10.0-rc4 Rename 'NFT' to 'NFToken' in DisallowIncoming flags (XRPLF#4442) Update Docker.md (XRPLF#4432) Update package building scripts and images to use Conan (XRPLF#4435) Disable duplicate detector: (XRPLF#4438)
…ctionality * upstream/develop: Set version to 1.10.0-rc4 Rename 'NFT' to 'NFToken' in DisallowIncoming flags (XRPLF#4442) Update Docker.md (XRPLF#4432) Update package building scripts and images to use Conan (XRPLF#4435) Disable duplicate detector: (XRPLF#4438)
…tpage * upstream/develop: Set version to 1.10.0-rc4 Rename 'NFT' to 'NFToken' in DisallowIncoming flags (XRPLF#4442) Update Docker.md (XRPLF#4432) Update package building scripts and images to use Conan (XRPLF#4435) Disable duplicate detector: (XRPLF#4438)
* Set version to 1.10.0-rc3 * Test on Fedora 37 * Dependency builds are handled by Conan
High Level Overview of Change
Lots of changes needed to update the docker containers we use to build DEB and RPM packages.
Context of Change
rippled's dependencies are handled by Conan now so the package building process needs to be updated.
bump version to rc3
test on Fedora 37
rm docker user mapping on container builds (doesn't work with conan)
rm dpkg dev pkg (was broken anyway)
rm dependency builds (dependencies are handled by Conan now)
Supersedes #4362
Type of Change