Abandon variable-based job specification

You can only use variables to specify the dependency job if you also
specify the project and ref. I couldn't find a built-in variable that
evaluated to the current ref or particularly clear documentation of what
ref even meant in this context (GitLab uses it for a few different
things in CI as far as I can tell).

This is a combination of 2 commits.
This is the 1st commit message:

Project permits variables in job names?

This is the commit message #2:

Using a variable is getting too hard, just copy and paste some stuff

    pick cf1c4dfa73 Project permits variables in job names?
    squash e5e888ac77 Using a variable is getting too hard, just copy and paste some stuff
pull/3236/head
AnyOldName3 4 months ago
parent a8b8eb1462
commit 0e842d51de

@ -536,9 +536,6 @@ macOS14_Xcode15_arm64:
.Compress_And_Upload_Symbols_Base: .Compress_And_Upload_Symbols_Base:
extends: .Ubuntu_Image extends: .Ubuntu_Image
stage: build stage: build
needs:
- job: $DEPENDENCY_JOB_NAME
artifacts: true
variables: variables:
GIT_STRATEGY: none GIT_STRATEGY: none
script: script:
@ -668,8 +665,9 @@ macOS14_Xcode15_arm64:
.Windows_Compress_And_Upload_Symbols_Ninja_Release: .Windows_Compress_And_Upload_Symbols_Ninja_Release:
extends: extends:
- .Compress_And_Upload_Symbols_Base - .Compress_And_Upload_Symbols_Base
variables: needs:
DEPENDENCY_JOB_NAME: "Windows_Ninja_Release" - job: "Windows_Ninja_Release"
artifacts: true
.Windows_Ninja_Release_MultiView: .Windows_Ninja_Release_MultiView:
extends: extends:
@ -681,8 +679,9 @@ macOS14_Xcode15_arm64:
.Windows_Compress_And_Upload_Symbols_Ninja_Release_MultiView: .Windows_Compress_And_Upload_Symbols_Ninja_Release_MultiView:
extends: extends:
- .Compress_And_Upload_Symbols_Base - .Compress_And_Upload_Symbols_Base
variables: needs:
DEPENDENCY_JOB_NAME: "Windows_Ninja_Release_MultiView" - job: "Windows_Ninja_Release_MultiView"
artifacts: true
.Windows_Ninja_Debug: .Windows_Ninja_Debug:
extends: extends:
@ -693,8 +692,9 @@ macOS14_Xcode15_arm64:
.Windows_Compress_And_Upload_Symbols_Ninja_Debug: .Windows_Compress_And_Upload_Symbols_Ninja_Debug:
extends: extends:
- .Compress_And_Upload_Symbols_Base - .Compress_And_Upload_Symbols_Base
variables: needs:
DEPENDENCY_JOB_NAME: "Windows_Ninja_Debug" - job: "Windows_Ninja_Debug"
artifacts: true
.Windows_Ninja_RelWithDebInfo: .Windows_Ninja_RelWithDebInfo:
extends: extends:
@ -707,8 +707,9 @@ macOS14_Xcode15_arm64:
.Windows_Compress_And_Upload_Symbols_Ninja_RelWithDebInfo: .Windows_Compress_And_Upload_Symbols_Ninja_RelWithDebInfo:
extends: extends:
- .Compress_And_Upload_Symbols_Base - .Compress_And_Upload_Symbols_Base
variables: needs:
DEPENDENCY_JOB_NAME: "Windows_Ninja_RelWithDebInfo" - job: "Windows_Ninja_RelWithDebInfo"
artifacts: true
.Windows_Ninja_CacheInit: .Windows_Ninja_CacheInit:
# currently, Windows jobs for all configs share the same cache key as we only cache the dependencies # currently, Windows jobs for all configs share the same cache key as we only cache the dependencies
@ -809,8 +810,9 @@ macOS14_Xcode15_arm64:
.Windows_Compress_And_Upload_Symbols_MSBuild_Release: .Windows_Compress_And_Upload_Symbols_MSBuild_Release:
extends: extends:
- .Compress_And_Upload_Symbols_Base - .Compress_And_Upload_Symbols_Base
variables: needs:
DEPENDENCY_JOB_NAME: "Windows_MSBuild_Release" - job: "Windows_MSBuild_Release"
artifacts: true
.Windows_MSBuild_Debug: .Windows_MSBuild_Debug:
extends: extends:
@ -821,8 +823,9 @@ macOS14_Xcode15_arm64:
.Windows_Compress_And_Upload_Symbols_MSBuild_Debug: .Windows_Compress_And_Upload_Symbols_MSBuild_Debug:
extends: extends:
- .Compress_And_Upload_Symbols_Base - .Compress_And_Upload_Symbols_Base
variables: needs:
DEPENDENCY_JOB_NAME: "Windows_MSBuild_Debug" - job: "Windows_MSBuild_Debug"
artifacts: true
Windows_MSBuild_RelWithDebInfo: Windows_MSBuild_RelWithDebInfo:
extends: extends:
@ -839,8 +842,9 @@ Windows_MSBuild_RelWithDebInfo:
Windows_Compress_And_Upload_Symbols_MSBuild_RelWithDebInfo: Windows_Compress_And_Upload_Symbols_MSBuild_RelWithDebInfo:
extends: extends:
- .Compress_And_Upload_Symbols_Base - .Compress_And_Upload_Symbols_Base
variables: needs:
DEPENDENCY_JOB_NAME: "Windows_MSBuild_RelWithDebInfo" - job: "Windows_MSBuild_RelWithDebInfo"
artifacts: true
# temporarily enabled while we're linking the above on the downloads page # temporarily enabled while we're linking the above on the downloads page
rules: rules:
# run this for both pushes and schedules so 'latest successful pipeline for branch' always includes it # run this for both pushes and schedules so 'latest successful pipeline for branch' always includes it

Loading…
Cancel
Save