mirror of
https://github.com/discourse/discourse.git
synced 2025-06-19 20:01:33 +08:00
DEV: Don't attempt to install minio binary in CI (#32438)
The binary is already preinstalled in the Docker image so we don't have to attempt to install it again. ### Reviewer notes Installing the minio binary is taking more than 45 seconds consistently causing the test to timeout: https://github.com/discourse/discourse/actions/runs/14638755310/job/41075932169 <img width="1091" alt="Screenshot 2025-04-24 at 6 15 48 PM" src="https://github.com/user-attachments/assets/ec746740-fe46-4ef8-8a76-c210be1e3204" />
This commit is contained in:

committed by
GitHub

parent
ed2740d0ca
commit
bc6dae07ee
@ -199,8 +199,7 @@ module SystemHelpers
|
||||
SiteSetting.secure_uploads = enable_secure_uploads
|
||||
|
||||
# On CI, the minio binary is preinstalled in the docker image so there is no need for us to check for a new binary
|
||||
MinioRunner.config.cache_time = 2.day.to_i if ENV["CI"]
|
||||
MinioRunner.start
|
||||
MinioRunner.start(install: ENV["CI"] ? false : true)
|
||||
end
|
||||
|
||||
def skip_unless_s3_system_specs_enabled!
|
||||
|
Reference in New Issue
Block a user