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

CI: Purge beta builds on new release #1

Open
aawsome opened this issue Mar 23, 2023 · 3 comments
Open

CI: Purge beta builds on new release #1

aawsome opened this issue Mar 23, 2023 · 3 comments
Labels
A-ci Area: Issues/Pull requests related to CI perf Performance: Tuning issue

Comments

@aawsome
Copy link
Member

aawsome commented Mar 23, 2023

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 [email protected]:...
git add *
git commit -am 'new release'
git push -f origin master
@aawsome aawsome added the perf Performance: Tuning issue label Mar 23, 2023
@dimejo
Copy link

dimejo commented Mar 28, 2023

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

@simonsan simonsan added the A-ci Area: Issues/Pull requests related to CI label Jul 16, 2023
@simonsan simonsan transferred this issue from rustic-rs/rustic Sep 18, 2023
@simonsan
Copy link
Contributor

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
Copy link
Contributor

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ci Area: Issues/Pull requests related to CI perf Performance: Tuning issue
Projects
None yet
Development

No branches or pull requests

3 participants