Skip to content

Commit

Permalink
fix circleci bullseye permission issue
Browse files Browse the repository at this point in the history
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.
21 changes: 18 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -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
Expand All @@ -116,7 +131,7 @@ jobs:
steps:
- *install_deps_on_buster
- checkout
- *install_packaging_dependencies
- *install_packaging_dependencies_buster
- *verify_requirements
- *build_debian_package

Expand Down

0 comments on commit fd7e808

Please sign in to comment.