Skip to content
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

Remove CircleCI job to check for Tor package updates #493

Merged
merged 1 commit into from
Mar 29, 2024
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
35 changes: 0 additions & 35 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,40 +65,6 @@ jobs:
chown ci:root -R .
sudo -u ci bash -c "source .venv/bin/activate && pytest -vvs tests/test_reproducible_wheels.py"

reprepro-update-tor:
docker:
- image: debian:bullseye-backports
steps:
- checkout
- *addsshkeys
- run:
name: clone and run reprepro update
command: |
apt-get update
apt-get install -y reprepro ca-certificates dctrl-tools git git-lfs openssh-client \
gh python3

# Clone the dev repo and configure it
git clone [email protected]:freedomofpress/securedrop-apt-test.git
cd securedrop-apt-test
git lfs install
git config user.email "[email protected]"
git config user.name "sdcibot"

# Import the Tor repo signing key
gpg --import repo/conf/updates-keys/*.gpg
# Run reprepro update, skip export since we just want the debs (and we don't have
# the repo signing key anyways)
REPREPRO_BASE_DIR=repo reprepro --export=never update

# Move the new packages over, intentionally leaving the old ones around
mv repo/pool/main/t/tor/*.deb core/focal/
git add core/focal/*.deb
# If there are changes, diff-index will fail, so we commit and push
git diff-index --quiet HEAD || (git commit -m "Automatically updating Tor packages" \
&& git push origin main && ../scripts/new-tor-issue)


build-rpm:
parameters:
package:
Expand Down Expand Up @@ -179,7 +145,6 @@ workflows:
only:
- main
jobs:
- reprepro-update-tor
- build-rpm:
matrix:
parameters:
Expand Down
72 changes: 0 additions & 72 deletions scripts/new-tor-issue

This file was deleted.