Skip to content

Commit

Permalink
Remove migrated CircleCI job and cleanup script
Browse files Browse the repository at this point in the history
  • Loading branch information
eloquence committed Apr 10, 2024
1 parent ce70803 commit 16f651a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 130 deletions.
10 changes: 2 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,24 +103,18 @@ jobs:
- run:
name: Commit and push
command: |
dnf install -y ca-certificates git git-lfs openssh-clients python3-rpm python3-debian rpmdevtools
dnf install -y ca-certificates git git-lfs openssh-clients
git clone [email protected]:freedomofpress/securedrop-yum-test.git
cd securedrop-yum-test
git lfs install
git config user.email "[email protected]"
git config user.name "sdcibot"
mkdir -p workstation/dom0/f32-nightlies
# Copy the new packages over and cleanup the old ones
# Copy the new packages over
cp -v /tmp/workspace/*.rpm workstation/dom0/f32-nightlies/
~/project/scripts/clean-old-packages workstation/dom0/f32-nightlies 7
git add .
# If there are changes, diff-index will fail, so we commit
git diff-index --quiet HEAD || git commit -m "Automated SecureDrop workstation build"
# And clean up non-nightly packages too
~/project/scripts/clean-old-packages workstation/dom0/f32 4
git add .
git diff-index --quiet HEAD || git commit -m "Cleanup old packages"
git push origin main
Expand Down
122 changes: 0 additions & 122 deletions scripts/clean-old-packages

This file was deleted.

0 comments on commit 16f651a

Please sign in to comment.