Skip to content

Mobile DevOps Project Settings Page

Darby Frey requested to merge mobile-devops-settings-page into master

What does this MR do and why?

This MR adds the first iteration of the Mobile DevOps settings page. The initial iteration is focused on visualizing metadata in the code signing certificate files, but will be expanded to support more capabilities in the future.

This page is disabled by default via a features flag, and will only be available for projects which are detected to be ios projects.

Context

image

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

  1. Enabled the Feature Flags (in the rails console)
Feature.enable(:ci_secure_files)
Feature.enable(:secure_files_metadata_parsers)
Feature.enable(:mobile_devops_settings_page)
  1. Set the target platforms for a project (in the rails console)
project = Project.find(6)
project.project_setting.update(target_platforms: ['ios'])
  1. Upload sample files in Secure Files. In the project settings section:
  • On the left sidebar, select Settings > CI/CD.
  • In the Secure Files section, select Expand.
  • Select Upload File.
  • Browse to the gitlab project and upload files in gitlab/spec/fixtures/ci_secure_files/sample.cer and gitlab/spec/fixtures/ci_secure_files/sample.p12
  1. Go to the Mobile DevOps page at the URL, for example http://localhost:3000/flightjs/Flight/-/settings/mobile_devops

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Darby Frey

Merge request reports