rustic-rs / nightly

Nightly builds of rustic, rustic_server, and rustic_scheduler
0 stars 0 forks source link

CI: Purge beta builds on new release #1

Open aawsome opened 1 year ago

aawsome commented 1 year ago

An ever-growing repo of beta builds increases the execution time of the CI a lot.

Idea: on release, do

rm -rf .git
git init
git remote add origin git@github.com:...
git add *
git commit -am 'new release'
git push -f origin master
dimejo commented 1 year ago

What about moving beta builds to a website like beta.restic.net? I would be willing to sponsor domain and hosting.

simonsan commented 10 months ago

Other possibility:

git checkout --orphan freshBranch
git add -A
git commit
git branch -D main 
git branch -m main 
git push -f origin main
git gc --aggressive --prune=all
git push -f origin main
simonsan commented 10 months ago

What about moving beta builds to a website like beta.restic.net? I would be willing to sponsor domain and hosting.

We should move the files to some other space at one point, for sure. Also, because we don't need any history of nightly builds, really. For now, I would say it's sufficient, though, as we don't have more stress with administrating that webspace. So we can always do that at a later date. Thank you for the proposal!