-
Notifications
You must be signed in to change notification settings - Fork 15
Fix ci build #1390
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 ci build #1390
Conversation
Reviewer's Guide by SourceryThis PR updates the CI build environment to Ubuntu 24.04 and upgrades the protobuf package version. Additionally, it replaces No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
Hey @JoshuaSBrown - I've reviewed your changes - here's some feedback:
Overall Comments:
- It would be good to understand why these dependencies are being updated.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
…ially support 3.11
…ially support 3.11
Libsodium folder version number.
Make paths explicit.
Co-authored-by: Joshua S Brown <[email protected]>
Co-authored-by: Joshua S Brown <[email protected]>
Co-authored-by: Joshua S Brown <[email protected]>
Co-authored-by: Joshua S Brown <[email protected]>
… method (#1417) * changed install scripts to be consistent * added sudo check
@@ -66,7 +66,7 @@ COPY ./scripts/install_authz_dependencies.sh ${BUILD_DIR}/scripts/ | |||
COPY ./scripts/copy_dependency.sh ${BUILD_DIR}/scripts/ | |||
|
|||
RUN ${BUILD_DIR}/scripts/generate_datafed.sh | |||
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC ${BUILD_DIR}/scripts/install_authz_dependencies.sh unify | |||
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC ${BUILD_DIR}/scripts/install_authz_dependencies.sh |
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.
@nedvedba why this change?
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.
Looks like we weren't installing any of the dependencies with the 'unify' option.
install_python() { | ||
if [ ! -e "${DATAFED_DEPENDENCIES_INSTALL_PATH}/.python_installed-${DATAFED_PYTHON_VERSION}" ]; then | ||
# Check if the deadsnakes repository has already been added to avoid issues with gpg | ||
if ! grep -qr '^deb .\+deadsnakes' /etc/apt/sources.list.d/; then | ||
"$SUDO_CMD" apt update | ||
"$SUDO_CMD" apt install -y software-properties-common | ||
"$SUDO_CMD" add-apt-repository -y ppa:deadsnakes/ppa | ||
"$SUDO_CMD" apt update | ||
fi | ||
|
||
"$SUDO_CMD" apt install -y "python${DATAFED_PYTHON_VERSION}" "python${DATAFED_PYTHON_VERSION}-dev" "python${DATAFED_PYTHON_VERSION}-venv" "python${DATAFED_PYTHON_VERSION}-distutils" | ||
|
||
touch "${DATAFED_DEPENDENCIES_INSTALL_PATH}/.python_installed-${DATAFED_PYTHON_VERSION}" | ||
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.
We probably need a way to install all dependencies that is not distro specific, I really don't like using apt for this it makes things brittle.
PR Description
Tasks
Summary by Sourcery
Update CI and dependency configurations to improve build compatibility and dependency management
Build:
CI: