Commit Graph

12 Commits

Author SHA1 Message Date
Dylan Griffith f84fae1386 Rename #timeouted -> #timed_out 2019-04-29 22:55:13 -07:00
Thong Kuah 3c8df0c944 Destroy app on successful uninstallation
Rescue and put into :uninstall_errored if something goes wrong while
destroying, which can happen. I think it is safe to expose the full
error message from the destroy error.

Remove the :uninstalled state as no longer used.
2019-04-29 22:55:11 -07:00
Thong Kuah 43be4d54f3 Define state transitions for uninstalling apps
Added :uninstalled state as wasn't sure if we should be destroying the
cluster apps
2019-04-29 22:55:11 -07:00
João Cunha ed2f7e23d6 Rename scope to imply :installed and :updated result
- Adds to specs the case where apps are also updated
- Rename scope calls on Gitlab::UsageData and Clusters::Cluster
- Removes a duplicated spec
2019-02-15 11:16:45 +00:00
Thong Kuah 650d4f37fb Remove #make_updated! as have #make_installed! now
We can have multiple and conditional transistions in a event, so make
use of that.
2019-02-08 11:56:35 +13:00
Thong Kuah f67fc23727 Upgrade cluster applications, starting with runner 2019-02-07 21:40:55 +00:00
Thong Kuah d204ec3d37 Refactor specs to run shared parts only when used
All applications except for Jupyter have the same #set_initial_status,
so create a new shared example which we include in all application specs
except for juptyer_spec. Juptyer specs already have specs for it's
version of #set_initial_status
2019-02-07 00:25:33 +13:00
Thong Kuah e72f24d27b Update version on :installed, not :installing
This makes this consistent with :updated. And also avoids a potential
issue where an install errors which means that that the recorded version
won't necessarily reflect the version that is actually installed.
2019-02-07 00:07:49 +13:00
Thong Kuah 8ef1128f67 Update version column after application is updated
Note: updating version column after :updating is not ideal in the
updating -> update_erroed case. This will mean that the application now
records the version as the version that failed to upgrade, not the
version that it is currently on.
2019-02-06 22:39:38 +13:00
Dylan Griffith fe1469e12f Upgrade helm to 2.11.0 and upgrade on every install 2018-11-16 10:22:40 +00:00
Peter Leitzen 3a3ec6f021
Show available clusters when installed or updated
Before this commit updating Prometheus (e.g. adding alerts) made it
"updated" therefore not installed.
2018-10-16 09:16:43 +02:00
Mayra Cabrera c607008ee5 Extend Cluster Applications to install GitLab Runner to Kubernetes cluster 2018-03-01 23:46:02 +00:00