-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Introduce CI for files_external #11717
Comments
And also a lot of the S3 tests fail as well. |
ok. let´s do that. but it has to stay in the core repos because of other reasons. |
I'll put this on my agenda then |
We could use docker for some of the storage instances (FTP, SFTP, SMB, etc) |
If we agree with the docker approach, I'll try to play around with it a bit, for FTP as a proof of concept. For other storages like S3 and SWIFT we'll probably need an already running server (there's no docker image for these yet, and devstack is HUGE) Please note that docker instances can be reset/recycled without having to re-download the whole image every time. This, if the Jenkins images are not completely reset between runs. |
our jenkins deplyoment has no virtualization of any kind in place - nothing will be reset |
This docker based approach sounds reasonable - but requires analysis to determine if we can fire up docker on the current infrastructure. But this is the way to go from my current understanding. |
And I'd really go for a new script - autotest-external.sh where we can specify the storage type as argument. |
Yes, that sounds good. At least the first step would be to make these runnable locally without requiring the devs to manually setup extra envs (apart from docker itself). I'll leave the infrastructure question for you 😉 |
So here's the possible plan:
Also:
CC @MorrisJobke I heard you like docker ? 😉 |
I'd say we need at least the master script and an example docker instance, then we can get help to setup the other instances / make separate tickets for them. |
I will check for possible ways to bring docker instances of files_external backends to a CI ready state. I will check that tomorrow. |
Let's start with one, then need to think of a structure for the scripts. |
Can docker run inside another virtual machine? This is critical as we do not have a physical server (yet) in case needed. |
@DeepDiver1975 Yes. Docker is just a combination between set of available filesystem (and therefore executables and stuff that is in a filesystem) with a defined process which runs inside of this filesystem. And it is really lightweight, because it's just an encapsulated process running on the hosts kernel. |
thx @MorrisJobke - what will be our first external storage we want to test against? webdav? |
@DeepDiver1975 I just created a FTP container locally |
FTP: #14076 |
|
@DeepDiver1975 ping. For 8.2 or later? |
To be done:
|
9.0 |
Nice, we did make some progress. I just ticked swift 😄 |
@DeepDiver1975 close this ? We want to move everything to apps anyway so CI should be added there when doing just that. |
Closing this. We should focus on moving ext storage backend individually to separate apps and add CI there when possible. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
@DeepDiver1975 @karlitschek @LukasReschke @icewind1991
@craigpg @MTRichards
Whether we keep files_external in core or not it doesn't matter.
Most importantly we need to setup a CI solution for files_external (external storage app).
Let's discuss it here.
Follow up from #8002
The text was updated successfully, but these errors were encountered: