mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-21 06:29:16 -05:00
ebaa7a375c
* adding S3 sdk * test binary folder * linting * before searching for binary * linting * grab folders in the given S3 prefix * grab folders in the given S3 prefix * find the last build * found last builds for commit * refactoring * add tests for upload dir name * create destination zip filename * copying S3 files * move s3 helpers into own object, prepare for testing * add realistic test * linting * chore: add documentation to DEPLOY.md file
27 lines
785 B
JavaScript
27 lines
785 B
JavaScript
exports['getCDN for binary'] = {
|
|
"input": {
|
|
"platform": "darwin-x64",
|
|
"filename": "cypress.zip",
|
|
"version": "3.3.0",
|
|
"hash": "ci-name-e154a40f3f76abd39a1d85c0ebc0ff9565015706-123"
|
|
},
|
|
"result": "https://cdn.cypress.io/beta/binary/3.3.0/darwin-x64/ci-name-e154a40f3f76abd39a1d85c0ebc0ff9565015706-123/cypress.zip"
|
|
}
|
|
|
|
exports['upload binary folder'] = {
|
|
"input": {
|
|
"platformArch": "darwin-x64",
|
|
"version": "3.3.0",
|
|
"hash": "ci-name-e154a40f3f76abd39a1d85c0ebc0ff9565015706-123"
|
|
},
|
|
"result": "beta/binary/3.3.0/darwin-x64/ci-name-e154a40f3f76abd39a1d85c0ebc0ff9565015706-123/"
|
|
}
|
|
|
|
exports['upload binary folder for platform'] = {
|
|
"input": {
|
|
"platformArch": "darwin-x64",
|
|
"version": "3.3.0"
|
|
},
|
|
"result": "beta/binary/3.3.0/darwin-x64"
|
|
}
|