Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-94573

Remove or update experimental task from non-experimental build variant

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • ALL
    • Security 2024-09-16, Security 2024-09-30, Security 2024-10-14, Security 2024-10-28, Security 2024-11-11

      We have implemented a new linter called 'forbid-tasks-with-tag-on-variants'. This linter's main function is to forbid tasks with specific tags from being used in buildvariants with certain tags.
       

      The following tasks are currently affected:
      selinux_rhel9_enterprise: "Enterprise RHEL 9.3"

      selinux_rhel8_org: "RHEL 8"

      selinux_rhel9_org: "RHEL 9.3"

      selinux_rhel8_enterprise: "Enterprise RHEL 8"

      These tasks have an 'experimental' tag but have been added to their corresponding build variants. These build variants are considered non-experimental because they include tasks of type '.release_critical', '.development_critical', '.default', and others.
       
      To resolve this issue, I have a couple of ways in mind like:
      1: Update the tag for those two tasks
      2. Remove those tasks from. the build variant

      Please choose the option that works best for your team and fits the purpose of this task.

      Here is more info about Task Tags

      I have currently added those tasks to the 'ignored_tasks' list in the evergreen-linter rule 'forbid-tasks-with-tag-on-variants' so it will not trigger any problem for now. However, please update them whenever your team can

      Here is my PR with more info.

            Assignee:
            adam.rayner@mongodb.com Adam Rayner
            Reporter:
            juan.gu@mongodb.com Juan Gu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: