Skip to content

Commit e22eaa9

Browse files
committed
quick fixes for release automation
1 parent ab1f25e commit e22eaa9

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

Tools/scripts/ReleaseAutomation/release_config.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -98,16 +98,16 @@ def __init__(self):
9898

9999
self.yamato_build_automation_configs = [
100100
{
101-
"job_name": "Build Sample for Windows with minimal supported editor (2022.3), burst ON, IL2CPP",
101+
"job_name": "Build Sample for Windows with minimal supported editor (6000.0), burst ON, IL2CPP",
102102
"variables": [
103103
{ "key": "BURST_ON_OFF", "value": "on" },
104104
{ "key": "PLATFORM_WIN64_MAC_ANDROID", "value": "win64" },
105105
{ "key": "SCRIPTING_BACKEND_IL2CPP_MONO", "value": "il2cpp" },
106-
{ "key": "UNITY_VERSION", "value": "2022.3" } # Minimal supported editor
106+
{ "key": "UNITY_VERSION", "value": "6000.0" } # Minimal supported editor
107107
]
108108
},
109109
{
110-
"job_name": "Build Sample for Windows with latest functional editor (6000.2), burst ON, IL2CPP",
110+
"job_name": "Build Sample for Windows with latest functional editor (6000.3), burst ON, IL2CPP",
111111
"variables": [
112112
{ "key": "BURST_ON_OFF", "value": "on" },
113113
{ "key": "PLATFORM_WIN64_MAC_ANDROID", "value": "win64" },
@@ -125,16 +125,16 @@ def __init__(self):
125125
]
126126
},
127127
{
128-
"job_name": "Build Sample for MacOS with minimal supported editor (2022.3), burst OFF, Mono",
128+
"job_name": "Build Sample for MacOS with minimal supported editor (6000.0), burst OFF, Mono",
129129
"variables": [
130130
{ "key": "BURST_ON_OFF", "value": "off" },
131131
{ "key": "PLATFORM_WIN64_MAC_ANDROID", "value": "mac" },
132132
{ "key": "SCRIPTING_BACKEND_IL2CPP_MONO", "value": "mono" },
133-
{ "key": "UNITY_VERSION", "value": "2022.3" } # Minimal supported editor
133+
{ "key": "UNITY_VERSION", "value": "6000.0" } # Minimal supported editor
134134
]
135135
},
136136
{
137-
"job_name": "Build Sample for MacOS with latest functional editor (6000.2), burst OFF, Mono",
137+
"job_name": "Build Sample for MacOS with latest functional editor (6000.3), burst OFF, Mono",
138138
"variables": [
139139
{ "key": "BURST_ON_OFF", "value": "off" },
140140
{ "key": "PLATFORM_WIN64_MAC_ANDROID", "value": "mac" },
@@ -152,16 +152,16 @@ def __init__(self):
152152
]
153153
},
154154
{
155-
"job_name": "Build Sample for Android with minimal supported editor (2022.3), burst ON, IL2CPP",
155+
"job_name": "Build Sample for Android with minimal supported editor (6000.0), burst ON, IL2CPP",
156156
"variables": [
157157
{ "key": "BURST_ON_OFF", "value": "on" },
158158
{ "key": "PLATFORM_WIN64_MAC_ANDROID", "value": "android" },
159159
{ "key": "SCRIPTING_BACKEND_IL2CPP_MONO", "value": "il2cpp" },
160-
{ "key": "UNITY_VERSION", "value": "2022.3" } # Minimal supported editor
160+
{ "key": "UNITY_VERSION", "value": "6000.0" } # Minimal supported editor
161161
]
162162
},
163163
{
164-
"job_name": "Build Sample for Android with latest functional editor (6000.2), burst ON, IL2CPP",
164+
"job_name": "Build Sample for Android with latest functional editor (6000.3), burst ON, IL2CPP",
165165
"variables": [
166166
{ "key": "BURST_ON_OFF", "value": "on" },
167167
{ "key": "PLATFORM_WIN64_MAC_ANDROID", "value": "android" },

Tools/scripts/Utils/triggerYamatoJobsForReleasePreparation.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ def trigger_automated_builds_job_on_yamato(yamato_api_token, project_id, branch_
7575
7676
build_automation_configs = [
7777
{
78-
"job_name": "Build Sample for Windows with minimal supported editor (2022.3), burst ON, IL2CPP",
78+
"job_name": "Build Sample for Windows with latest supported editor (6000.3), burst ON, IL2CPP",
7979
"variables": [
8080
{ "key": "BURST_ON_OFF", "value": "on" },
8181
{ "key": "PLATFORM_WIN64_MAC_ANDROID", "value": "win64" },
8282
{ "key": "SCRIPTING_BACKEND_IL2CPP_MONO", "value": "il2cpp" },
83-
{ "key": "UNITY_VERSION", "value": "2022.3" }
83+
{ "key": "UNITY_VERSION", "value": "6000.3" }
8484
]
8585
}
8686
]
@@ -125,7 +125,8 @@ def trigger_release_preparation_jobs(config: ReleaseConfig):
125125
try:
126126
revision_sha = get_latest_git_revision(config.release_branch_name)
127127

128-
trigger_wrench_promotion_job_on_yamato(config.yamato_api_token, config.yamato_project_id, config.release_branch_name, revision_sha)
128+
# We don't need to trigger promotion job to run the tests for the release branch since those are being triggered automatically on release/ prefixed branches
129+
#trigger_wrench_promotion_job_on_yamato(config.yamato_api_token, config.yamato_project_id, config.release_branch_name, revision_sha)
129130
trigger_automated_builds_job_on_yamato(config.yamato_api_token, config.yamato_project_id, config.release_branch_name, revision_sha, config.yamato_samples_to_build, config.yamato_build_automation_configs)
130131

131132
except Exception as e:

0 commit comments

Comments
 (0)