Skip to content

Pass gitlab projects' IDs through variables

Vladimir Shushlin requested to merge pass-gitlab-project-id-as-variables into master

Why is this change being made?

Extract hardcoded project id's to environment variables and set vars in CI. This allows to test it locally more easily without being afraid of accidentally breaking releases on the main project.

Also copied a bunch of stuff from gitlab to add support for rake specs.

If you want to test this locally, look for the changed markdown file in the diff, it has updated instructions on how to run this locally.

Part of POC: Add description from release post content ... (gitlab-org/gitlab#369032 - closed)

Author Checklist

  • Provided a concise title for this Merge Request (MR)
  • Added a description to this MR explaining the reasons for the proposed change, per say why, not just what
    • Copy/paste the Slack conversation to document it for later, or upload screenshots. Verify that no confidential data is added.
  • Assign reviewers for this MR to the correct Directly Responsible Individual/s (DRI)
    • If the DRI for the page/s being updated isn’t immediately clear, then assign it to one of the people listed in the Maintained by section on the page being edited
    • If your manager does not have merge rights, please ask someone to merge it AFTER it has been approved by your manager in #mr-buddies
  • If the changes affect team members, or warrant an announcement in another way, please consider posting an update in #whats-happening-at-gitlab linking to this MR
    • If this is a change that directly impacts the majority of global team members, it should be a candidate for #company-fyi. Please work with internal communications and check the handbook for examples.

Edited by Vladimir Shushlin

Merge request reports