Skip to content

Fix debian package build v3.10 #1138

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

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .evergreen/debian_package_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ if [ ! -z "${DEB_BUILD_PROFILES}" ]; then
echo "DEB_BUILD_PROFILES was set; building with profiles: ${DEB_BUILD_PROFILES}"
fi

git config user.email "[email protected]"
git config user.name "Evergreen Build"

if [ "${IS_PATCH}" = "true" ]; then
git diff HEAD > ../upstream.patch
git clean -fdx
Expand Down Expand Up @@ -54,6 +57,7 @@ cp -a mongo-cxx-driver ./unstable-chroot/tmp/
sudo DEB_BUILD_PROFILES="${DEB_BUILD_PROFILES}" chroot ./unstable-chroot /bin/bash -c "
(apt-get install -y ca-certificates cmake debhelper doxygen git libboost-dev libsasl2-dev libsnappy-dev libssl-dev libutf8proc-dev pkgconf zlib1g-dev build-essential curl fakeroot furo git-buildpackage python3-sphinx python3-sphinx-design && \
mkdir /tmp/mongo-c-driver && \
cd /tmp/mongo-c-driver && \
curl -o deb.tar.gz -L https://s3.amazonaws.com/mciuploads/mongo-c-driver/master/mongo-c-driver-debian-packages-latest.tar.gz && \
tar zxvf deb.tar.gz && \
apt-get install -y ./*.deb && \
Expand Down
4 changes: 2 additions & 2 deletions .mci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,7 @@ tasks:
./build/hello_mongocxx

- name: debian-package-build
run_on: ubuntu1804-test
run_on: debian12-latest-small
commands:
- func: "setup"
- command: shell.exec
Expand All @@ -989,7 +989,7 @@ tasks:
display_name: "deb.tar.gz"

- name: debian-package-build-mnmlstc
run_on: ubuntu1804-test
run_on: debian12-latest-small
commands:
- func: "setup"
- command: shell.exec
Expand Down