Skip to content

Migrate loading buttons on cluster applications

What does this MR do?

Migrates update, install, and uninstall buttons on cluster applications

To simulate an "Upgrade available" state, the following commands can be executed:

Open rails console: bundle exec rails console

In rails console execute the following:

  1. cluster = Clusters::Cluster.find <id> Note: <id> can be found in the browser url when navigating to the cluster
  2. runner = cluster.application_runner
  3. runner.update!(version: '0.0.0')

Screenshots

before after
Screen_Shot_2020-08-18_at_3.23.12_PM Screen_Shot_2020-08-18_at_3.33.36_PM
2020-08-18_15.33.56
Screen_Shot_2020-08-18_at_3.36.16_PM

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

Closes #229209 (closed) Closes #229212 (closed)

Edited by Taurie Davis

Merge request reports

Loading