mirror of
https://github.com/linuxserver/docker-ci.git
synced 2026-02-05 03:01:45 +08:00
updates for python2 and try to slow down the upload loop to make DO happy
This commit is contained in:
parent
f96d9b25a2
commit
9716de3765
3
ci/ci.py
3
ci/ci.py
@ -15,6 +15,8 @@ from selenium.common.exceptions import ErrorInResponseException,TimeoutException
|
||||
from jinja2 import Template
|
||||
client = docker.from_env()
|
||||
session = boto3.session.Session()
|
||||
reload(sys)
|
||||
sys.setdefaultencoding('utf8')
|
||||
|
||||
# Global Vars
|
||||
global report_status
|
||||
@ -314,6 +316,7 @@ def report_upload():
|
||||
core_fail('Upload Error ' + str(error))
|
||||
# Loop for all others
|
||||
for filename in os.listdir(outdir):
|
||||
time.sleep(0.5)
|
||||
# Set content types for files
|
||||
if filename.lower().endswith('.svg'):
|
||||
CT = 'image/svg+xml'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user