-
Notifications
You must be signed in to change notification settings - Fork 29
[CI] issue: HPCINFRA-3581 Clang-tools-extra 19.1.7 #359
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
Draft
NirWolfer
wants to merge
1
commit into
Mellanox:vNext
Choose a base branch
from
NirWolfer:updated_clang
base: vNext
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,24 +5,32 @@ ARG _UID=6213 | |
| ARG _GID=101 | ||
| ARG _LOGIN=swx-jenkins | ||
| ARG _HOME=/var/home/$_LOGIN | ||
|
|
||
| RUN echo "${_LOGIN} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \ | ||
| echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \ | ||
| mkdir -p ${_HOME} && \ | ||
| groupadd -f -g "$_GID" "$_LOGIN" && \ | ||
| useradd -u "$_UID" -g "$_GID" -s /bin/bash -m -d ${_HOME} "${_LOGIN}" && \ | ||
| chown -R ${_LOGIN} ${_HOME} && \ | ||
| mkdir /build && chown -R ${_LOGIN} /build | ||
| RUN rm -f /etc/yum.repos.d/sw-rivermax ubi.repo | ||
|
|
||
| FROM core as static | ||
| ARG _LOGIN=swx-jenkins | ||
|
|
||
| RUN yum install -y yum-utils \ | ||
| && yum-config-manager --add-repo https://archives.fedoraproject.org/pub/archive/epel/7/x86_64/ \ | ||
| && yum --nogpgcheck install -y cppcheck \ | ||
| && yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm \ | ||
| && yum install -y csbuild clang-tools-extra sudo curl autoconf automake make libtool \ | ||
| libnl3-devel libnl3 rdma-core-devel rdma-core bc \ | ||
| && yum clean all | ||
| RUN echo "[sw-rivermax-rpm]" > /etc/yum.repos.d/sw-rivermax-rpm.repo && \ | ||
| echo "name=sw-rivermax-rpm" >> /etc/yum.repos.d/sw-rivermax-rpm.repo && \ | ||
| echo "baseurl=https://urm.nvidia.com/artifactory/sw-rivermax-rpm/" >> /etc/yum.repos.d/sw-rivermax-rpm.repo && \ | ||
| echo "enabled=1" >> /etc/yum.repos.d/sw-rivermax-rpm.repo && \ | ||
| echo "gpgcheck=0" >> /etc/yum.repos.d/sw-rivermax-rpm.repo && \ | ||
| yum makecache && \ | ||
| yum install -y yum-utils clang-tools-extra-19.1.7 sudo curl autoconf automake make libtool \ | ||
| libnl3-devel libnl3 rdma-core-devel rdma-core bc && \ | ||
| yum-config-manager --add-repo https://archives.fedoraproject.org/pub/archive/epel/7/x86_64/ && \ | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That this mean we need epel7 for cppcheck and epel8 for csbuild ? |
||
| yum --nogpgcheck install -y cppcheck && \ | ||
| yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \ | ||
| yum install -y csbuild && \ | ||
| yum clean all | ||
|
|
||
| RUN pip3 install -U pip --no-cache-dir \ | ||
| && pip3 install compiledb --no-cache-dir | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
add comment here why we are removing this repo - in few weeks we will forget why we did it