Skip to content
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

Fix CentOS CI by using docker #190

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open

Fix CentOS CI by using docker #190

wants to merge 14 commits into from

Conversation

rolnico
Copy link
Member

@rolnico rolnico commented Dec 11, 2024

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Does this PR already have an issue describing the problem?
No

What kind of change does this PR introduce?
Bug fix / Feature

What is the current behavior?
CI doesn't work anymore on CentOS due to EOL of the OS and deprecation of the NodeJS version used

What is the new behavior (if this is a feature change)?
CI is done on a docker image of centos and it works

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

If yes, please check if the following requirements are fulfilled

  • The Breaking Change or Deprecated label has been added
  • The migration steps are described in the following section

What changes might users need to make in their application due to this PR? (migration steps)

Other information:

@rolnico rolnico self-assigned this Dec 11, 2024
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Copy link

sonarcloud bot commented Dec 13, 2024

Copy link

sonarcloud bot commented Dec 13, 2024

@rolnico rolnico marked this pull request as ready for review December 13, 2024 10:17
Comment on lines +43 to +44
#RUN wget --max-redirect=0 https://github.com/openssl/openssl/releases/download/OpenSSL_1_1_1w/openssl-${OPENSSL_VERSION}.tar.gz \
# && tar -xzf openssl-${OPENSSL_VERSION}.tar.gz
Copy link
Member

Choose a reason for hiding this comment

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

Can you remove the commented instructions?
Also in "Python" and "Boost" sections.

&& ln -sf /usr/local/bin/pip3.10 /usr/bin/pip3 \
&& python3 -V \
&& python3 -c "import ssl; print(ssl.OPENSSL_VERSION)" \
&& pip3 install cmake==${CMAKE_VERSION} \
Copy link
Member

Choose a reason for hiding this comment

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

It seems to be working but there is an error in the build execution:

No such file or directory: '/usr/local/bin/pip3'

(But it's only for a logging problem, I think)

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