Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete SHARE_BUILD_WITH_JOB_TYPE feature. #4195

Open
jonathanmetzman opened this issue Aug 21, 2024 · 0 comments · May be fixed by #4197
Open

Delete SHARE_BUILD_WITH_JOB_TYPE feature. #4195

jonathanmetzman opened this issue Aug 21, 2024 · 0 comments · May be fixed by #4197

Comments

@jonathanmetzman
Copy link
Collaborator

It's unclear if we are using it at all and it's implementation requires this horrendous bit of code:

  # Check if this build is dependent on any other custom job. If yes,
  # then fake out our job name for setting up the build.
  old_job_name = ''
  share_build_job_type = environment.get_value('SHARE_BUILD_WITH_JOB_TYPE')
  if share_build_job_type:
    job_name = share_build_job_type
    old_job_name = environment.get_value('JOB_NAME', '')
    environment.set_value('JOB_NAME', job_name)
  else:
    job_name = environment.get_value('JOB_NAME', '')
jonathanmetzman added a commit that referenced this issue Aug 21, 2024
It's a clever feature that needs bad complexity to support and doesn't appear to
be used.
Fixes: #4195
@jonathanmetzman jonathanmetzman linked a pull request Aug 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant