curl --retry 5 https://s3.amazonaws.com/mciuploads/${project}/${branch_name}/mongo-c-driver-${CURRENT_VERSION}.tar.gz --output mongoc.tar.gz -sS --max-time 120 ''', test=False, continue_on_err=True), )), ('upload release', Function( shell_exec( r'[ -f mongoc/cmake_build/mongo*gz ] && mv mongoc/cmake_build/mongo*gz mongoc.tar.gz', errexit=False, test=False), s3_put( '${project}/${branch_name}/mongo-c-driver-${CURRENT_VERSION}.tar.gz', project_path=False, aws_key='${aws_key}', aws_secret='${aws_secret}', local_file='mongoc.tar.gz', bucket='mciuploads', permissions='public-read', content_type='${content_type|application/x-gzip}'), )), ('upload build', Function( targz_pack('${build_id}.tar.gz', 'mongoc', './**'), s3_put('${build_variant}/${revision}/${task_name}/${build_id}.tar.gz', aws_key='${aws_key}', aws_secret='${aws_secret}', local_file='${build_id}.tar.gz', bucket='mciuploads', permissions='public-read', content_type='${content_type|application/x-gzip}'), )), ('release archive', Function( shell_mongoc(r''' # Need modern Sphinx for :caption: in literal includes. python -m virtualenv venv cd venv . bin/activate ./bin/pip install sphinx cd ..
curl --retry 5 https://s3.amazonaws.com/mciuploads/${project}/${branch_name}/mongo-c-driver-${CURRENT_VERSION}.tar.gz --output mongoc.tar.gz -sS --max-time 120 ''', test=False, continue_on_err=True), )), ('upload release', Function( shell_exec( r'[ -f mongoc/cmake_build/mongo*gz ] && mv mongoc/cmake_build/mongo*gz mongoc.tar.gz', errexit=False, test=False), s3_put( 'mongo-c-driver/${branch_name}/mongo-c-driver-${CURRENT_VERSION}.tar.gz', project_path=False, aws_key='${aws_key}', aws_secret='${aws_secret}', local_file='mongoc.tar.gz', bucket='mciuploads', permissions='public-read', content_type='${content_type|application/x-gzip}'), )), ('upload build', Function( targz_pack('${build_id}.tar.gz', 'mongoc', './**'), s3_put('${build_variant}/${revision}/${task_name}/${build_id}.tar.gz', aws_key='${aws_key}', aws_secret='${aws_secret}', local_file='${build_id}.tar.gz', bucket='mciuploads', permissions='public-read', content_type='${content_type|application/x-gzip}'), )), ('release archive', Function( shell_mongoc(r''' # Need modern Sphinx for :caption: in literal includes. python -m virtualenv venv cd venv . bin/activate ./bin/pip install sphinx cd ..