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

feat:purge all build to save spaces on the server and also env file uploads #1197

Open
nusktec opened this issue Feb 15, 2025 · 7 comments
Open
Labels
bug Something isn't working docker

Comments

@nusktec
Copy link

nusktec commented Feb 15, 2025

Is your feature request related to a problem? Please describe

I want to purge all unsed images and save spaces on my server, also i want to upload env file

Describe the solution you'd like

I want a button to be able to purge all unused images and to delete builds manually also to be able to revert back to an old build.
I want to be able to upload env file or using textarea to upload all

Are you working on this?

No

@tanmoysrt
Copy link
Member

Hi @nusktec
In Swiftwave, we have a automated job, which cleanup all the unused images evryday.
Is it not working as expected ?

For the ui thing, we are revamping the UI, will add that option there as well. Thanks for feedback.

@nusktec
Copy link
Author

nusktec commented Feb 15, 2025

My server space got filled up not until I had to go prune the docker and remove all unused images.
also, i do not need to pull request anymore since you are revamping the ui. i was already working on the multiline .env importer

@tanmoysrt
Copy link
Member

@nusktec
Will take a look at the pruning issue, might be we need to pass some more flags to docker to forcefully prune images

@tanmoysrt tanmoysrt added bug Something isn't working docker labels Feb 15, 2025
@nusktec
Copy link
Author

nusktec commented Feb 15, 2025

Can we have a button to also do that ?.
Also, why can't we delete build that is stalled or failed ?

@tanmoysrt
Copy link
Member

tanmoysrt commented Feb 15, 2025

@nusktec

  • I will add a button in new version, as I am just avoiding to do same changes on current one.
  • I just saw most of the platforms show this builds as a log, so they dont keep option to delete those. That's why not added. There is no limitation to add a delete option to remove failed or stalled builds.

@nusktec
Copy link
Author

nusktec commented Feb 15, 2025

That makes sense. You can keep the logs but the files behind it should be deleted.
Do you also think, having a user type can also make sense as we cannot differentiate admin, user and otehr.

Do you have idea when the new version will be up ?

@tanmoysrt
Copy link
Member

@nusktec

Yes, in v3, it will have a proper team management and role based access control mechanism.
Also, doing major architecture revamp.

It will be a major release, so it will take 2~3 months more to do stable release after some beta test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working docker
Projects
None yet
Development

No branches or pull requests

2 participants