-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix circleci bullseye permission issue
Signed-off-by: Allie Crevier <[email protected]>
- Loading branch information
Allie Crevier
committed
May 26, 2022
1 parent
bfe24cb
commit fd7e808
Showing
1 changed file
with
18 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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,7 +5,8 @@ common-steps: | |
name: Install base dependencies for Bullseye python | ||
command: | | ||
set -e | ||
apt-get update && apt-get install -y sudo make git gnupg | ||
pip uninstall virtualenv -y || true | ||
sudo apt update && sudo apt install -y make git gnupg | ||
- &install_deps_on_buster | ||
run: | ||
|
@@ -52,6 +53,20 @@ common-steps: | |
make safety | ||
- &install_packaging_dependencies | ||
run: | ||
name: Install Debian packaging dependencies and download wheels | ||
command: | | ||
set -x | ||
mkdir ~/packaging && cd ~/packaging | ||
# local builds may not have an ssh url, so || true | ||
git config --global --unset url.ssh://[email protected] || true | ||
git clone https://github.com/freedomofpress/securedrop-debian-packaging.git | ||
cd securedrop-debian-packaging | ||
sudo apt update && sudo apt install -y make | ||
make install-deps | ||
PKG_DIR=~/project make requirements | ||
- &install_packaging_dependencies_buster | ||
run: | ||
name: Install Debian packaging dependencies and download wheels | ||
command: | | ||
|
@@ -103,7 +118,7 @@ jobs: | |
steps: | ||
- *install_deps | ||
- checkout | ||
- run: apt-get update && apt-get install -y sqlite3 libqt5x11extras5 xvfb python3-tk python3-dev | ||
- run: sudo apt-get update && apt-get install -y sqlite3 libqt5x11extras5 xvfb python3-tk python3-dev | ||
- *run_tests | ||
- store_test_results: | ||
path: test-results | ||
|
@@ -116,7 +131,7 @@ jobs: | |
steps: | ||
- *install_deps_on_buster | ||
- checkout | ||
- *install_packaging_dependencies | ||
- *install_packaging_dependencies_buster | ||
- *verify_requirements | ||
- *build_debian_package | ||
|
||
|