Skip to content
Snippets Groups Projects

Part 3: Abstract pipeline_variables_form to its own component - clean up

Merged Briley Sandlin requested to merge 520831-remove-redundant-code into master
All threads resolved!

What does this MR do and why?

Part 3 for #520831 (closed)

We are abstracting the pipeline variables form to it's own component in order to accommodate inputs work and also hide the component depending on settings.

Part 3 removes the redundant pipeline variables code

Step MR
Set up component/query !182376 (merged)
Build out pipeline variable form component !182455 (merged)
Clean up and integration [Current MR]

Screenshots or screen recordings

No UI change

Screenshot_2025-02-28_at_10.07.46_AM

How to set up and validate locally

  1. Navigate to Build > Pipeline editor and enter the following into your gitlab-ci.yml
variables:
  DEPLOY_ENVIRONMENT:
    value: "staging"
    options:
      - "production"
      - "staging"
      - "canary"
    description: "The deployment target. Set to 'staging' by default."

job:
  script: echo 1
  1. Navigate to -/pipelines/new and verify that your variables are output in the pipeline variables form.
  2. update variables and click "New pipeline"

Related to #520831 (closed)

Edited by Briley Sandlin

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added workflowin review label and removed workflowin dev label

  • Briley Sandlin removed review request for @anna_vovchenko

    removed review request for @anna_vovchenko

  • Briley Sandlin requested review from @pburdette

    requested review from @pburdette

  • requested review from @anna_vovchenko

  • Briley Sandlin removed review request for @pburdette

    removed review request for @pburdette

  • Anna Vovchenko
  • Anna Vovchenko left review comments without approving or requesting changes

    left review comments without approving or requesting changes

  • Briley Sandlin added 99 commits

    added 99 commits

    Compare with previous version

  • requested review from @anna_vovchenko

  • Briley Sandlin resolved all threads

    resolved all threads

  • Anna Vovchenko approved this merge request

    approved this merge request

  • Thanks for the update, @bsandlin! It looks great :thumbsup:

  • Before you set this MR to auto-merge

    This merge request will progress on pipeline tiers until it reaches the last tier: pipelinetier-3. We will trigger a new pipeline for each transition to a higher tier.

    Before you set this MR to auto-merge, please check the following:

    • You are the last maintainer of this merge request
    • The latest pipeline for this merge request is pipelinetier-3 (You can find which tier it is in the pipeline name)
    • This pipeline is recent enough (created in the last 8 hours)

    If all the criteria above apply, please set auto-merge for this merge request.

    See pipeline tiers and merging a merge request for more details.

  • Anna Vovchenko enabled automatic add to merge train when checks pass

    enabled automatic add to merge train when checks pass

  • Bundle size analysis [beta]

    This compares changes in bundle size for entry points between the commits 927253a6 and 2dc470f0

    :sparkles: Special assets

    Entrypoint / Name Size before Size after Diff Diff in percent
    average 4.95 MB 4.95 MB - -0.0 %
    mainChunk 3.88 MB 3.88 MB - 0.0 %

    :tada: Significant Reduction: 1

    Expand
    Entrypoint / Name Size before Size after Diff Diff in percent
    pages.projects.pipelines.new 305.38 KB 289.56 KB -15.83 KB -5.2 %

    Note: We do not have exact data for 927253a6. So we have used data from: 2fdc69a4.
    The target commit was too new, so we used the latest commit from master we have info on.
    It might help to rerun the bundle-size-review job
    This might mean that you have a few false positives in this report. If something unrelated to your code changes is reported, you can check this comparison in order to see if they caused this change.

    Please look at the full report for more details


    Read more about how this report works.

    Generated by :no_entry_sign: Danger

    Edited by ****
  • Briley Sandlin aborted automatic add to merge train because the source branch was updated. Learn more.

    aborted automatic add to merge train because the source branch was updated. Learn more.

  • Briley Sandlin added 253 commits

    added 253 commits

    Compare with previous version

  • Briley Sandlin reset approvals from @anna_vovchenko by pushing to the branch

    reset approvals from @anna_vovchenko by pushing to the branch

  • Briley Sandlin added 67 commits

    added 67 commits

    Compare with previous version

  • Tiffany Rea mentioned in issue #523094

    mentioned in issue #523094

  • Tiffany Rea added 1 commit

    added 1 commit

    • 2dc470f0 - Quarantine prefilled and custom variable specs for investigation

    Compare with previous version

  • requested review from @anna_vovchenko

  • Briley Sandlin resolved all threads

    resolved all threads

  • Briley Sandlin requested review from @lauraXD

    requested review from @lauraXD

  • Anna Vovchenko approved this merge request

    approved this merge request

  • Anna Vovchenko resolved all threads

    resolved all threads

  • Anna Vovchenko enabled automatic add to merge train when checks pass

    enabled automatic add to merge train when checks pass

  • merged

  • Anna Vovchenko mentioned in commit 906aaafd

    mentioned in commit 906aaafd

  • added workflowstaging label and removed workflowcanary label

  • added workflowproduction label and removed workflowstaging label

  • Please register or sign in to reply
    Loading