Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-06-02Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-07-08Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-11-18Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-24Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-14Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-07-17Removes clusters_cte feature flagThong Kuah
This has been enabled on production without issue https://gitlab.com/gitlab-org/gitlab-ce/issues/64259
2019-07-08Create CTE query for clusters hierarchyThong Kuah
- This enables us to use a scope to query all clusters in group hierarchy order in one query, and also enables us to union to instance clusters later. - Handle case where clusters not present at level. In which case the query should go ahead and return the next level's clusters. - Swap with new CTE query behind Feature flag. This FF is default disabled.
2019-06-27Remove instance_clusters feature_flagThong Kuah
Now we have terminals for instance and group clusters we can remove the FF now. Deploying to instance clusters has been working without complaints too.
2019-06-27Remove group_clusters feature flagThong Kuah
Now we have terminals for instance and group clusters we can remove the FF now. Deploying to group clusters has been working without complaints too.
2019-06-21Remove Kubernetes service from deployment platformTiger
This will no longer be used for deployments, as all service templates have been migrated to clusters.
2019-05-06Convert instance level clusters enabled to class methodJames Fargher
2019-05-06Allow projects to use instance level clustersJames Fargher
There are two cluster hierarchies one for the deployment platform and one for controllers. The main difference is that deployment platforms do not check user permissions and only return the first match.
2018-12-05Unify into :group_clusters feature flagThong Kuah
With this MR, group clusters is now functional, so default to enabled. Have a single setting on the root ancestor group to enabled or disable group clusters feature as a whole
2018-12-05Various improvements to hierarchy sortingThong Kuah
- Rename ordered_group_clusters_for_project -> ancestor_clusters_for_clusterable - Improve name of order option. It makes much more sense to have `hierarchy_order: :asc` and `hierarchy_order: :desc` - Allow ancestor_clusters_for_clusterable for group - Re-use code already present in Project
2018-12-05Deploy to clusters for a project's groupsThong Kuah
Look for matching clusters starting from the closest ancestor, then go up the ancestor tree. Then use Ruby to get clusters for each group in order. Not that efficient, considering we will doing up to `NUMBER_OF_ANCESTORS_ALLOWED` number of queries, but it's a finite number Explicitly order query by depth This allows us to control ordering explicitly and also to reverse the order which is useful to allow us to be consistent with Clusters::Cluster.on_environment (EE) which does reverse ordering. Puts querying group clusters behind Feature Flag. Just in case we have issues with performance, we can easily disable this
2018-10-29Associate clusters model to groupsThong Kuah
Even though we currently only should have one group for a cluster, we allow the flexibility to associate to other groups in the future. This also matches the runner <=> groups association. - Adds Cluster#first_group, aliased to Cluster#group. For the conceivable future, a cluster will have at most one group. - Prevent mixing of group and project clusters. If project type clusters, it should only have projects assigned. Similarly with groups. - Default cluster_type to :project_type. As it's very small table we can set default and null: false in one release.
2018-08-07Enable more frozen string in app/models/**/*.rbgfyoung
Partially addresses #47424.
2018-03-27Re-arrange deployment_platform to avoid cop complainmentsMayra Cabrera
2018-03-22Rearrange DeploymentPlatform methodsMayra Cabrera
- Change find_cluster_platform_kubernetes to ignore environment argument - Fix broken specs CE Port of: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/5047/
2018-03-07Unify deployment_platform interface with EELin Jen-Shin
2018-01-05Just try to detect and assign onceLin Jen-Shin
2018-01-05Create Kubernetes based on Application TemplatesMayra Cabrera