Skip to content

Add readonly editor to display current CI config

Miguel Rincon requested to merge 263141-ci-cd-home-mvc-disabled-editor into master

What does this MR do?

Add readonly editor to visualize ci config

As a first iteration on the CI editor, this change adds an simple editor (editor lite) and loads data of a single .gitlab-ci file.

New page pipeline authoring behind feature flag :ci_pipeline_editor_page

TODO

  • Implement using a state management (such as apollo)
  • Load data using Graph QL
  • [-] Check if other data (such as ref, default branch, etc...) is relevant at this stage.
    • The branch has to be considered later, but for now, we just use the default branch.

Screenshots (strongly suggested)

image

Sometimes the file is missing...

no branches exist no file in repo
image image

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #263141 (closed)

Edited by Miguel Rincon

Merge request reports