-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove migrated CircleCI job and cleanup script
- Loading branch information
Showing
2 changed files
with
2 additions
and
130 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 |
---|---|---|
|
@@ -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 | ||
|
This file was deleted.
Oops, something went wrong.