rename s3 bucket for internal test runner assets (#4398)

* rename s3 bucket for internal test runner assets

* more renames

* more renames

* flatten internal assets


Co-authored-by: Brian Mann <brian.mann86@gmail.com>
This commit is contained in:
Ben Kucera
2019-06-05 19:22:01 -04:00
committed by Brian Mann
parent c46b237061
commit 81309fcb1e
4 changed files with 7 additions and 7 deletions
@@ -21,5 +21,5 @@
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
<script type="text/javascript" src="https://s3.amazonaws.com/assets.cypress.io/mui.js"></script></body>
<script type="text/javascript" src="https://s3.amazonaws.com/internal-test-runner-assets.cypress.io/mui.js"></script></body>
</html>
@@ -2558,7 +2558,7 @@ describe "Routes", ->
pathToHugeAppJs = Fixtures.path("server/libs/huge_app.js")
getHugeFile = ->
rp("https://s3.amazonaws.com/assets.cypress.io/huge_app.js")
rp("https://s3.amazonaws.com/internal-test-runner-assets.cypress.io/huge_app.js")
.then (resp) ->
fs
.outputFileAsync(pathToHugeAppJs, resp)
@@ -11,7 +11,7 @@ config = require("#{root}lib/config")
Server = require("#{root}lib/server")
Fixtures = require("#{root}test/support/helpers/fixtures")
s3StaticHtmlUrl = "https://s3.amazonaws.com/static.cypress.io/cypress-project-internal-test-assets/index.html"
s3StaticHtmlUrl = "https://s3.amazonaws.com/internal-test-runner-assets.cypress.io/index.html"
describe "Server", ->
beforeEach ->
@@ -1073,7 +1073,7 @@ describe "Server", ->
# console.log "ON REQUEST!!!!!!!!!!!!!!!!!!!!!!"
# nock("https://s3.amazonaws.com")
# .get("/static.cypress.io/cypress-project-internal-test-assets/index.html")
# .get("/internal-test-runner-assets.cypress.io/index.html")
# .reply 200, "<html><head></head><body>jsonplaceholder</body></html>", {
# "Content-Type": "text/html"
# }
@@ -1147,7 +1147,7 @@ describe "Server", ->
.then =>
# @server.onNextRequest (req, res) ->
# nock("https://s3.amazonaws.com")
# .get("/static.cypress.io/cypress-project-internal-test-assets/index.html")
# .get("/internal-test-runner-assets.cypress.io/index.html")
# .reply 200, "<html><head></head><body>jsonplaceholder</body></html>", {
# "Content-Type": "text/html"
# }
@@ -201,8 +201,8 @@ describe "lib/util/security", ->
emberProd: "#{cdnUrl}/ember.js/2.18.2/ember.prod.js"
reactDev: "#{cdnUrl}/react/16.2.0/umd/react.development.js"
reactProd: "#{cdnUrl}/react/16.2.0/umd/react.production.min.js"
vendorBundle: "https://s3.amazonaws.com/assets.cypress.io/vendor.bundle.js"
hugeApp: "https://s3.amazonaws.com/assets.cypress.io/huge_app.js"
vendorBundle: "https://s3.amazonaws.com/internal-test-runner-assets.cypress.io/vendor.bundle.js"
hugeApp: "https://s3.amazonaws.com/internal-test-runner-assets.cypress.io/huge_app.js"
})
.value()