Commit graph

18 commits

Author SHA1 Message Date
gfyoung
388cb319d5 Enable frozen string for app/models/**/*.rb
Partially addresses #47424.
2018-08-03 01:44:16 -07:00
Thong Kuah
0cd76190de Lock helm charts to the VERSION already specified for each application.
Fix up VERSION for each of the applications
* There is no 0.0.1 helm version for jupyterhub. Use the latest version instead
* `:nginx` is not a valid chart version. Lock the ingress application GitLab installs to the latest chart version.
* Use the latest gitlab-runner chart to prevent GitLab installing older versions when users have been installing the lastest version

Always install from the VERSION and not the database `version` column.
This should fix cases like https://gitlab.com/gitlab-org/gitlab-ee/issues/6795 in
the instances where an install command failed previously, which locked the version
in the database to an older version.

Also, ensure that the version column is updated to the version we are
installing.

Add specs to show how previously failed appplications will be handled when the helm installation is run again

Add changelog entry
2018-08-02 10:22:38 +12:00
Mayra Cabrera
b21730116e Revert "Merge branch '48098-mutual-auth-cluster-applications' into 'master'"
This reverts merge request !20801
2018-07-31 13:15:18 +00:00
Dylan Griffith
ce897f11a0 Refactor Cluster Application classes to pass through a has of config files
This is refactoring in the lead up to passing mutual TLS certs for helm applications. As such we expect all applications to need config files so we can remove the logic about which applications need and do not need this (ie `#config_map?`).
2018-07-28 09:50:31 +00:00
Mayra Cabrera
c607008ee5 Extend Cluster Applications to install GitLab Runner to Kubernetes cluster 2018-03-01 23:46:02 +00:00
Dylan Griffith
233cf07083 Remove redundant code and increase delay for ClusterWaitForIngressIpAddressWorker (#42643) 2018-02-25 12:50:03 +11:00
Dylan Griffith
3b320d675f Simplify retrying for ClusterWaitForIngressIpAddressWorker and style changes
(#42643)
2018-02-23 09:10:14 +11:00
Dylan Griffith
3d3d09fa9d Schedule Ingress IP address fetch from K8s after clusters page load (#42643) 2018-02-20 13:49:35 +11:00
Dylan Griffith
ba4114d25f Refactor ingress IP address waiting code (#42643) 2018-02-20 12:47:07 +11:00
Dylan Griffith
c1828eaed5 Persist external IP of ingress controller created for GKE (#42643) 2018-02-15 17:01:11 +11:00
Joshua Lambert
1f912880db Enable Prometheus metrics for deployed Ingresses 2018-02-05 12:46:31 +00:00
Mayra Cabrera
0d4548026f Extend Cluster Applications to allow installation of Prometheus 2017-12-22 17:23:43 +00:00
Kamil Trzcinski
1625adf5ba Make ingress to use install_command 2017-11-07 17:49:27 +01:00
Kamil Trzcinski
e40021cd3c Fix ingress.rb 2017-11-07 14:55:26 +01:00
Kamil Trzcinski
3cb4614273 Fix initial status again 2017-11-07 14:26:14 +01:00
Kamil Trzcinski
f96b5eae20 Fix initial_status 2017-11-07 13:56:09 +01:00
Kamil Trzcinski
ac927462dc Add support for not_installable/scheduled and to not show created banner 2017-11-06 15:48:44 +01:00
Kamil Trzcinski
d8223468ae Add ingress application 2017-11-06 10:41:27 +01:00