From fb659119e158e120d50e4d663c7b86eabe954ff4 Mon Sep 17 00:00:00 2001 From: Kelly Merrick Date: Wed, 4 Oct 2023 15:09:27 -0500 Subject: [PATCH] test(cypress): update main to be default (#725) --- cypress/fixtures/deployment.json | 2 +- cypress/fixtures/enable_repo_response.json | 2 +- cypress/fixtures/hooks_10a.json | 20 +-- cypress/fixtures/hooks_10b.json | 20 +-- cypress/fixtures/hooks_5.json | 10 +- cypress/fixtures/overview_page.json | 8 +- cypress/fixtures/pipeline.json | 2 +- cypress/fixtures/pipeline_templates.json | 6 +- cypress/fixtures/repositories.json | 8 +- cypress/fixtures/repositories_100.json | 200 ++++++++++----------- cypress/fixtures/repositories_10a.json | 20 +-- cypress/fixtures/repositories_10b.json | 20 +-- cypress/fixtures/repositories_5.json | 10 +- cypress/fixtures/repository.json | 2 +- cypress/fixtures/repository_bad.json | 2 +- cypress/fixtures/repository_inactive.json | 2 +- cypress/fixtures/repository_updated.json | 2 +- cypress/fixtures/schedule.json | 4 +- cypress/fixtures/schedules.json | 4 +- cypress/fixtures/source_repos.json | 10 +- cypress/integration/pipeline.spec.js | 2 +- cypress/integration/schedule.spec.js | 4 +- 22 files changed, 180 insertions(+), 180 deletions(-) diff --git a/cypress/fixtures/deployment.json b/cypress/fixtures/deployment.json index f229a5568..cb1450980 100644 --- a/cypress/fixtures/deployment.json +++ b/cypress/fixtures/deployment.json @@ -4,7 +4,7 @@ "url": "https://github.com/github/octocat.git/deployments/5053", "user": "user", "commit": "ce729516b279c7d7e66012387b39a8c13463fac5", - "ref": "refs/heads/master", + "ref": "refs/heads/main", "task": "deploy:vela", "target": "production", "description": "Deployment request from Vela", diff --git a/cypress/fixtures/enable_repo_response.json b/cypress/fixtures/enable_repo_response.json index 812b1b83a..e5e815d70 100644 --- a/cypress/fixtures/enable_repo_response.json +++ b/cypress/fixtures/enable_repo_response.json @@ -6,7 +6,7 @@ "full_name": "github/octocat", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, diff --git a/cypress/fixtures/hooks_10a.json b/cypress/fixtures/hooks_10a.json index 91ca64c84..42de3144e 100644 --- a/cypress/fixtures/hooks_10a.json +++ b/cypress/fixtures/hooks_10a.json @@ -7,7 +7,7 @@ "created": 1575000000, "host": "github.com", "event": "push", - "branch": "master", + "branch": "main", "error": "", "status": "success", "link": "https://github.com/github/octocat/settings/hooks" @@ -20,7 +20,7 @@ "created": 1575000000, "host": "github.com", "event": "push", - "branch": "master", + "branch": "main", "error": "", "status": "success", "link": "https://github.com/github/octocat/settings/hooks" @@ -33,7 +33,7 @@ "created": 1574999999, "host": "github.com", "event": "push", - "branch": "master", + "branch": "main", "error": "", "status": "success", "link": "https://github.com/github/octocat/settings/hooks" @@ -46,7 +46,7 @@ "created": 1574888888, "host": "github.com", "event": "push", - "branch": "master", + "branch": "main", "error": "", "status": "success", "link": "https://github.com/github/octocat/settings/hooks" @@ -59,7 +59,7 @@ "created": 1574777777, "host": "github.com", "event": "tag", - "branch": "master", + "branch": "main", "error": "unable to process webhook: github/octocat does not have tag events enabled", "status": "failure", "link": "https://github.com/github/octocat/settings/hooks" @@ -72,7 +72,7 @@ "created": 1574699277, "host": "github.com", "event": "push", - "branch": "master", + "branch": "main", "error": "", "status": "success", "link": "https://github.com/github/octocat/settings/hooks" @@ -85,7 +85,7 @@ "created": 1574699277, "host": "github.com", "event": "push", - "branch": "master", + "branch": "main", "error": "", "status": "success", "link": "https://github.com/github/octocat/settings/hooks" @@ -98,7 +98,7 @@ "created": 1574580180, "host": "github.com", "event": "push", - "branch": "master", + "branch": "main", "error": "", "status": "success", "link": "https://github.com/github/octocat/settings/hooks" @@ -111,7 +111,7 @@ "created": 1574576611, "host": "github.com", "event": "push", - "branch": "master", + "branch": "main", "error": "", "status": "success", "link": "https://github.com/github/octocat/settings/hooks" @@ -124,7 +124,7 @@ "created": 1574444067, "host": "github.com", "event": "tag", - "branch": "master", + "branch": "main", "error": "unable to process webhook: github/octocat does not have tag events enabled", "status": "failure", "link": "https://github.com/github/octocat/settings/hooks" diff --git a/cypress/fixtures/hooks_10b.json b/cypress/fixtures/hooks_10b.json index 71b688e70..fad4dedaf 100644 --- a/cypress/fixtures/hooks_10b.json +++ b/cypress/fixtures/hooks_10b.json @@ -7,7 +7,7 @@ "created": 1574000000, "host": "github.com", "event": "push", - "branch": "master", + "branch": "main", "error": "", "status": "success", "link": "https://github.com/github/octocat/settings/hooks" @@ -20,7 +20,7 @@ "created": 1573999999, "host": "github.com", "event": "push", - "branch": "master", + "branch": "main", "error": "", "status": "success", "link": "https://github.com/github/octocat/settings/hooks" @@ -33,7 +33,7 @@ "created": 1573888888, "host": "github.com", "event": "push", - "branch": "master", + "branch": "main", "error": "", "status": "success", "link": "https://github.com/github/octocat/settings/hooks" @@ -46,7 +46,7 @@ "created": 1573777777, "host": "github.com", "event": "push", - "branch": "master", + "branch": "main", "error": "", "status": "success", "link": "https://github.com/github/octocat/settings/hooks" @@ -59,7 +59,7 @@ "created": 1573666666, "host": "github.com", "event": "tag", - "branch": "master", + "branch": "main", "error": "unable to process webhook: github/octocat does not have tag events enabled", "status": "failure", "link": "https://github.com/github/octocat/settings/hooks" @@ -72,7 +72,7 @@ "created": 1573555555, "host": "github.com", "event": "push", - "branch": "master", + "branch": "main", "error": "", "status": "success", "link": "https://github.com/github/octocat/settings/hooks" @@ -85,7 +85,7 @@ "created": 1573444444, "host": "github.com", "event": "push", - "branch": "master", + "branch": "main", "error": "", "status": "success", "link": "https://github.com/github/octocat/settings/hooks" @@ -98,7 +98,7 @@ "created": 1573333333, "host": "github.com", "event": "push", - "branch": "master", + "branch": "main", "error": "", "status": "failure", "link": "https://github.com/github/octocat/settings/hooks" @@ -111,7 +111,7 @@ "created": 1573222222, "host": "github.com", "event": "push", - "branch": "master", + "branch": "main", "error": "", "status": "failure", "link": "https://github.com/github/octocat/settings/hooks" @@ -124,7 +124,7 @@ "created": 1573111111, "host": "github.com", "event": "tag", - "branch": "master", + "branch": "main", "error": "unable to process webhook: github/octocat does not have tag events enabled", "status": "failure", "link": "https://github.com/github/octocat/settings/hooks" diff --git a/cypress/fixtures/hooks_5.json b/cypress/fixtures/hooks_5.json index 41e2c8670..494c0862a 100644 --- a/cypress/fixtures/hooks_5.json +++ b/cypress/fixtures/hooks_5.json @@ -8,7 +8,7 @@ "created": 1574699277, "host": "github.com", "event": "push", - "branch": "master", + "branch": "main", "error": "", "status": "success", "link": "https://github.com/github/octocat/settings/hooks" @@ -22,7 +22,7 @@ "created": 1574699277, "host": "github.com", "event": "push", - "branch": "master", + "branch": "main", "error": "", "status": "success", "link": "https://github.com/github/octocat/settings/hooks" @@ -36,7 +36,7 @@ "created": 1574580180, "host": "github.com", "event": "push", - "branch": "master", + "branch": "main", "error": "", "status": "success", "link": "https://github.com/github/octocat/settings/hooks" @@ -50,7 +50,7 @@ "created": 1574576611, "host": "github.com", "event": "push", - "branch": "master", + "branch": "main", "error": "", "status": "success", "link": "https://github.com/github/octocat/settings/hooks" @@ -64,7 +64,7 @@ "created": 1574444067, "host": "github.com", "event": "tag", - "branch": "master", + "branch": "main", "error": "unable to process webhook: github/octocat does not have tag events enabled", "status": "failure", "link": "https://github.com/github/octocat/settings/hooks" diff --git a/cypress/fixtures/overview_page.json b/cypress/fixtures/overview_page.json index c1dd921fb..fd645f210 100644 --- a/cypress/fixtures/overview_page.json +++ b/cypress/fixtures/overview_page.json @@ -7,7 +7,7 @@ "full_name": "vela/server", "link": "https://github.com/go-vela/server", "clone": "https://github.com/go-vela/server.git", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -28,7 +28,7 @@ "full_name": "vela/feature-requests", "link": "https://github.com/go-vela/feature-requests", "clone": "https://github.com/go-vela/feature-requests.git", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -49,7 +49,7 @@ "full_name": "vela/ideas", "link": "https://github.com/go-vela/ideas", "clone": "https://github.com/go-vela/ideas.git", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -70,7 +70,7 @@ "full_name": "CookieCat/applications", "link": "https://github.com/CookieCat/applications", "clone": "https://github.com/CookieCat/applications.git", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, diff --git a/cypress/fixtures/pipeline.json b/cypress/fixtures/pipeline.json index 1d391178b..905af489e 100644 --- a/cypress/fixtures/pipeline.json +++ b/cypress/fixtures/pipeline.json @@ -4,7 +4,7 @@ "commit": "9b1d8bded6e992ab660eaee527c5e3232d0a2441", "flavor": "", "platform": "", - "ref": "refs/heads/master", + "ref": "refs/heads/main", "type": "yaml", "version": "1", "external_secrets": false, diff --git a/cypress/fixtures/pipeline_templates.json b/cypress/fixtures/pipeline_templates.json index 385a29e84..0ab9a712d 100644 --- a/cypress/fixtures/pipeline_templates.json +++ b/cypress/fixtures/pipeline_templates.json @@ -1,18 +1,18 @@ { "template1": { - "link": "https://github.com/github/octocat/blob/master/template1.yml", + "link": "https://github.com/github/octocat/blob/main/template1.yml", "name": "template1_name", "source": "github.com/github/octocat/template1.yml", "type": "github" }, "template2": { - "link": "https://github.com/github/octocat/blob/master/template2.yml", + "link": "https://github.com/github/octocat/blob/main/template2.yml", "name": "template2_name", "source": "github.com/github/octocat/template2.yml", "type": "github" }, "template3": { - "link": "https://github.com/github/octocat/blob/master/template3.yml", + "link": "https://github.com/github/octocat/blob/main/template3.yml", "name": "template3_name", "source": "github.com/github/octocat/template3.yml", "type": "github" diff --git a/cypress/fixtures/repositories.json b/cypress/fixtures/repositories.json index d7d64c5ea..fc2f37eb4 100644 --- a/cypress/fixtures/repositories.json +++ b/cypress/fixtures/repositories.json @@ -7,7 +7,7 @@ "full_name": "vela/server", "link": "https://github.com/go-vela/server", "clone": "https://github.com/go-vela/server.git", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -30,7 +30,7 @@ "full_name": "vela/feature-requests", "link": "https://github.com/go-vela/feature-requests", "clone": "https://github.com/go-vela/feature-requests.git", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -53,7 +53,7 @@ "full_name": "vela/ideas", "link": "https://github.com/go-vela/ideas", "clone": "https://github.com/go-vela/ideas.git", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -75,7 +75,7 @@ "full_name": "CookieCat/applications", "link": "https://github.com/CookieCat/applications", "clone": "https://github.com/CookieCat/applications.git", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, diff --git a/cypress/fixtures/repositories_100.json b/cypress/fixtures/repositories_100.json index 21d0db573..d432f94ae 100644 --- a/cypress/fixtures/repositories_100.json +++ b/cypress/fixtures/repositories_100.json @@ -7,7 +7,7 @@ "full_name": "vela/bjajzltmfr", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -30,7 +30,7 @@ "full_name": "vela/epcuczo", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -53,7 +53,7 @@ "full_name": "vela/pncrdovo", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -76,7 +76,7 @@ "full_name": "vela/sfhshmiwwyk", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -99,7 +99,7 @@ "full_name": "vela/fvxrjqwqr", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -122,7 +122,7 @@ "full_name": "vela/uamaip", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -145,7 +145,7 @@ "full_name": "vela/yaumkvhd", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -168,7 +168,7 @@ "full_name": "vela/isxkgjbves", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -191,7 +191,7 @@ "full_name": "vela/qwunbamrun", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -214,7 +214,7 @@ "full_name": "vela/atclrzel", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -237,7 +237,7 @@ "full_name": "vela/gkgdajuj", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -260,7 +260,7 @@ "full_name": "vela/slcuueozw", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -283,7 +283,7 @@ "full_name": "vela/knsrbirh", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -306,7 +306,7 @@ "full_name": "vela/twlvuybol", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -329,7 +329,7 @@ "full_name": "vela/cceptb", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -352,7 +352,7 @@ "full_name": "vela/biumnadx", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -375,7 +375,7 @@ "full_name": "vela/kjwlvk", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -398,7 +398,7 @@ "full_name": "vela/guemqmucei", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -421,7 +421,7 @@ "full_name": "vela/syvdpeb", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -444,7 +444,7 @@ "full_name": "vela/svjzhodm", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -467,7 +467,7 @@ "full_name": "vela/kmkbvz", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -490,7 +490,7 @@ "full_name": "vela/kworoyw", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -513,7 +513,7 @@ "full_name": "vela/ihoaewjqj", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -536,7 +536,7 @@ "full_name": "vela/zoltkew", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -559,7 +559,7 @@ "full_name": "vela/qobjuhirf", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -582,7 +582,7 @@ "full_name": "vela/ulrebxrdt", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -605,7 +605,7 @@ "full_name": "vela/poenbulr", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -628,7 +628,7 @@ "full_name": "vela/tkjlrtkvj", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -651,7 +651,7 @@ "full_name": "vela/pscfamwlb", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -674,7 +674,7 @@ "full_name": "vela/smqjgrdbls", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -697,7 +697,7 @@ "full_name": "vela/xkvwuvqa", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -720,7 +720,7 @@ "full_name": "vela/jlfpzvn", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -743,7 +743,7 @@ "full_name": "vela/pazuutja", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -766,7 +766,7 @@ "full_name": "vela/qappbyfpnqa", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -789,7 +789,7 @@ "full_name": "vela/jxojtnpytb", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -812,7 +812,7 @@ "full_name": "vela/xahnlgwjl", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -835,7 +835,7 @@ "full_name": "vela/lqdtec", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -858,7 +858,7 @@ "full_name": "vela/odehbukzpo", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -881,7 +881,7 @@ "full_name": "vela/uegbwutiqe", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -904,7 +904,7 @@ "full_name": "vela/dxskasaerj", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -927,7 +927,7 @@ "full_name": "vela/dvbwlwi", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -950,7 +950,7 @@ "full_name": "vela/mhogepthp", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -973,7 +973,7 @@ "full_name": "vela/fximvwt", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -996,7 +996,7 @@ "full_name": "vela/qkuchrk", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1019,7 +1019,7 @@ "full_name": "vela/djqdkjew", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1042,7 +1042,7 @@ "full_name": "vela/bopuhhmvl", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1065,7 +1065,7 @@ "full_name": "vela/uqyijxkf", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1088,7 +1088,7 @@ "full_name": "vela/qhgajr", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1111,7 +1111,7 @@ "full_name": "vela/cytbyhxs", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1134,7 +1134,7 @@ "full_name": "vela/mhlgftt", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1157,7 +1157,7 @@ "full_name": "vela/nrlzbjc", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1180,7 +1180,7 @@ "full_name": "vela/xdezactvyn", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1203,7 +1203,7 @@ "full_name": "vela/gxhpvdoc", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1226,7 +1226,7 @@ "full_name": "vela/zofha", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1249,7 +1249,7 @@ "full_name": "vela/hwidanfvag", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1272,7 +1272,7 @@ "full_name": "vela/omdtpqusk", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1295,7 +1295,7 @@ "full_name": "vela/icnboqc", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1318,7 +1318,7 @@ "full_name": "vela/cttvrrrd", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1341,7 +1341,7 @@ "full_name": "vela/dagqqbuur", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1364,7 +1364,7 @@ "full_name": "vela/foushuyp", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1387,7 +1387,7 @@ "full_name": "vela/cbsxz", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1410,7 +1410,7 @@ "full_name": "vela/upnxmsnuqj", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1433,7 +1433,7 @@ "full_name": "vela/ilmgdcqik", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1456,7 +1456,7 @@ "full_name": "vela/lngzkwgwj", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1479,7 +1479,7 @@ "full_name": "vela/qtjv", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1502,7 +1502,7 @@ "full_name": "vela/vjbdgqkv", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1525,7 +1525,7 @@ "full_name": "vela/rxuskyqkl", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1548,7 +1548,7 @@ "full_name": "vela/cwllahm", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1571,7 +1571,7 @@ "full_name": "vela/mhsrnxq", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1594,7 +1594,7 @@ "full_name": "vela/nlwfrbk", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1617,7 +1617,7 @@ "full_name": "vela/sxaghqrkh", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1640,7 +1640,7 @@ "full_name": "vela/ihqvldnm", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1663,7 +1663,7 @@ "full_name": "vela/tpohnjk", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1686,7 +1686,7 @@ "full_name": "vela/tefxqpepc", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1709,7 +1709,7 @@ "full_name": "vela/rhxlpls", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1732,7 +1732,7 @@ "full_name": "vela/jfqdibjt", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1755,7 +1755,7 @@ "full_name": "vela/xrzygmeky", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1778,7 +1778,7 @@ "full_name": "vela/qcxalnox", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1801,7 +1801,7 @@ "full_name": "vela/llaqaweoq", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1824,7 +1824,7 @@ "full_name": "vela/xzvxkjj", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1847,7 +1847,7 @@ "full_name": "vela/xmvpimb", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1870,7 +1870,7 @@ "full_name": "vela/odpdfuvi", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1893,7 +1893,7 @@ "full_name": "vela/jilcu", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1916,7 +1916,7 @@ "full_name": "vela/zaglx", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1939,7 +1939,7 @@ "full_name": "vela/xvfejs", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1962,7 +1962,7 @@ "full_name": "vela/jsfxqtd", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -1985,7 +1985,7 @@ "full_name": "vela/caujzxk", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -2008,7 +2008,7 @@ "full_name": "vela/mkhcdsau", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -2031,7 +2031,7 @@ "full_name": "vela/tzmwzrh", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -2054,7 +2054,7 @@ "full_name": "vela/ckjtjdpi", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -2077,7 +2077,7 @@ "full_name": "vela/heiy", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -2100,7 +2100,7 @@ "full_name": "vela/lqhbtyjyb", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -2123,7 +2123,7 @@ "full_name": "vela/gqfroat", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -2146,7 +2146,7 @@ "full_name": "vela/vskhmpz", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -2169,7 +2169,7 @@ "full_name": "vela/kdtmvdnni", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -2192,7 +2192,7 @@ "full_name": "vela/zwykfzijn", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -2215,7 +2215,7 @@ "full_name": "vela/tzjoveby", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -2238,7 +2238,7 @@ "full_name": "vela/qnjeuuvqc", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -2261,7 +2261,7 @@ "full_name": "vela/clspaiyuiga", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -2284,7 +2284,7 @@ "full_name": "vela/uroqdgukd", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, diff --git a/cypress/fixtures/repositories_10a.json b/cypress/fixtures/repositories_10a.json index 0e39de326..689ab5801 100644 --- a/cypress/fixtures/repositories_10a.json +++ b/cypress/fixtures/repositories_10a.json @@ -7,7 +7,7 @@ "full_name": "vela/bjajzltmfr", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -30,7 +30,7 @@ "full_name": "vela/epcuczo", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -53,7 +53,7 @@ "full_name": "vela/pncrdovo", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -76,7 +76,7 @@ "full_name": "vela/sfhshmiwwyk", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -99,7 +99,7 @@ "full_name": "vela/fvxrjqwqr", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -122,7 +122,7 @@ "full_name": "vela/uamaip", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -145,7 +145,7 @@ "full_name": "vela/yaumkvhd", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -168,7 +168,7 @@ "full_name": "vela/isxkgjbves", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -191,7 +191,7 @@ "full_name": "vela/qwunbamrun", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -214,7 +214,7 @@ "full_name": "vela/atclrzel", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, diff --git a/cypress/fixtures/repositories_10b.json b/cypress/fixtures/repositories_10b.json index 8273fc013..82ae85f47 100644 --- a/cypress/fixtures/repositories_10b.json +++ b/cypress/fixtures/repositories_10b.json @@ -7,7 +7,7 @@ "full_name": "vela/gkgdajuj", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -30,7 +30,7 @@ "full_name": "vela/slcuueozw", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -53,7 +53,7 @@ "full_name": "vela/knsrbirh", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -76,7 +76,7 @@ "full_name": "vela/twlvuybol", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -99,7 +99,7 @@ "full_name": "vela/cceptb", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -122,7 +122,7 @@ "full_name": "vela/biumnadx", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -145,7 +145,7 @@ "full_name": "vela/kjwlvk", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -168,7 +168,7 @@ "full_name": "vela/guemqmucei", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -191,7 +191,7 @@ "full_name": "vela/syvdpeb", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -214,7 +214,7 @@ "full_name": "vela/svjzhodm", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, diff --git a/cypress/fixtures/repositories_5.json b/cypress/fixtures/repositories_5.json index e65d38cc2..b0f07d2e2 100644 --- a/cypress/fixtures/repositories_5.json +++ b/cypress/fixtures/repositories_5.json @@ -7,7 +7,7 @@ "full_name": "vela/wvyfnevn", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -30,7 +30,7 @@ "full_name": "vela/naxomeycs", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -53,7 +53,7 @@ "full_name": "vela/tqkxoukx", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -76,7 +76,7 @@ "full_name": "vela/sjotyv", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -99,7 +99,7 @@ "full_name": "vela/hhucst", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, diff --git a/cypress/fixtures/repository.json b/cypress/fixtures/repository.json index 3cd915618..3f91be0f5 100644 --- a/cypress/fixtures/repository.json +++ b/cypress/fixtures/repository.json @@ -6,7 +6,7 @@ "full_name": "github/octocat", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 81, diff --git a/cypress/fixtures/repository_bad.json b/cypress/fixtures/repository_bad.json index 7461eab12..d1f34a85f 100644 --- a/cypress/fixtures/repository_bad.json +++ b/cypress/fixtures/repository_bad.json @@ -4,7 +4,7 @@ "name": "octocat", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0 diff --git a/cypress/fixtures/repository_inactive.json b/cypress/fixtures/repository_inactive.json index e3d9ae381..92d8dfc58 100644 --- a/cypress/fixtures/repository_inactive.json +++ b/cypress/fixtures/repository_inactive.json @@ -6,7 +6,7 @@ "full_name": "github/octocat", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, diff --git a/cypress/fixtures/repository_updated.json b/cypress/fixtures/repository_updated.json index c0e1e978c..b9b18ffbf 100644 --- a/cypress/fixtures/repository_updated.json +++ b/cypress/fixtures/repository_updated.json @@ -6,7 +6,7 @@ "full_name": "github/octocat", "link": "", "clone": "", - "branch": "master", + "branch": "main", "build_limit": 15, "timeout": 80, "counter": 2000, diff --git a/cypress/fixtures/schedule.json b/cypress/fixtures/schedule.json index 13ddc84ca..767fc2062 100644 --- a/cypress/fixtures/schedule.json +++ b/cypress/fixtures/schedule.json @@ -8,7 +8,7 @@ "updated_at": 1685037152, "updated_by": "CookieCat", "scheduled_at": 0, - "branch": "master", + "branch": "main", "repo": { "id": 1, "user_id": 1, @@ -17,7 +17,7 @@ "full_name": "github/octocat", "link": "https://github.com/github/octocat", "clone": "https://github.com/github/octocat.git", - "branch": "master", + "branch": "main", "topics": [], "build_limit": 10, "timeout": 30, diff --git a/cypress/fixtures/schedules.json b/cypress/fixtures/schedules.json index a61fe51cf..e8f618bd7 100644 --- a/cypress/fixtures/schedules.json +++ b/cypress/fixtures/schedules.json @@ -17,7 +17,7 @@ "full_name": "github/octocat", "link": "https://github.com/github/octocat", "clone": "https://github.com/github/octocat.git", - "branch": "master", + "branch": "main", "topics": [], "build_limit": 10, "timeout": 30, @@ -53,7 +53,7 @@ "full_name": "github/octocat", "link": "https://github.com/github/octocat", "clone": "https://github.com/github/octocat.git", - "branch": "master", + "branch": "main", "topics": [], "build_limit": 10, "timeout": 30, diff --git a/cypress/fixtures/source_repos.json b/cypress/fixtures/source_repos.json index b043b14c6..49eca9c11 100644 --- a/cypress/fixtures/source_repos.json +++ b/cypress/fixtures/source_repos.json @@ -8,7 +8,7 @@ "full_name": "github/octocat-2", "link": "https://github.com/github/octocat-2", "clone": "https://github.com/github/octocat-2.git", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -30,7 +30,7 @@ "full_name": "github/octocat-1", "link": "https://github.com/github/octocat-1", "clone": "https://github.com/github/octocat-1.git", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -52,7 +52,7 @@ "full_name": "github/octocat", "link": "https://github.com/github/octocat", "clone": "https://github.com/github/octocat.git", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -74,7 +74,7 @@ "full_name": "github/server", "link": "https://github.com/github/server", "clone": "https://github.com/github/server.git", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, @@ -98,7 +98,7 @@ "full_name": "CookieCat/applications", "link": "https://github.com/CookieCat/applications", "clone": "https://github.com/CookieCat/applications.git", - "branch": "master", + "branch": "main", "build_limit": 10, "timeout": 30, "counter": 0, diff --git a/cypress/integration/pipeline.spec.js b/cypress/integration/pipeline.spec.js index 454b17410..6307fe818 100644 --- a/cypress/integration/pipeline.spec.js +++ b/cypress/integration/pipeline.spec.js @@ -82,7 +82,7 @@ context('Pipeline', () => { ); cy.get('[data-test=pipeline-template-template1_name]').should( 'contain', - 'https://github.com/github/octocat/blob/master/template1.yml', + 'https://github.com/github/octocat/blob/main/template1.yml', ); }); diff --git a/cypress/integration/schedule.spec.js b/cypress/integration/schedule.spec.js index e5d6d0abc..fb86543b3 100644 --- a/cypress/integration/schedule.spec.js +++ b/cypress/integration/schedule.spec.js @@ -151,7 +151,7 @@ context('View/Edit Schedule', () => { it('default branch value should show', () => { cy.get('[data-test=schedule-branch-name]') .should('exist') - .should('have.value', 'master'); + .should('have.value', 'main'); }); it('update button should show', () => { cy.get('[data-test=schedule-update-button]').should('exist'); @@ -186,7 +186,7 @@ context('View/Edit Schedule', () => { it('default branch value should show', () => { cy.get('[data-test=schedule-branch-name]') .should('exist') - .should('have.value', 'master'); + .should('have.value', 'main'); }); it('update button should show', () => { cy.get('[data-test=schedule-update-button]').should('exist');