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
2019-03-21Update dashboards to additionally use new environment selectorJames Fargher
Deploy boards now will check for app.gitlab.com/env and app.gitlab.com/app
2019-03-08Add support for ingress hostnameswalkafwalka
2019-03-07Resolve "Mask the existing variables"Matija Čupić
2019-03-07Merge branch 'restrict-jupyter-login' of ↵Amit Rathi
https://gitlab.com/amit1rrr/gitlab-ce into restrict-jupyter-login
2019-03-07Merge branch '56937-edit-knative-domain' into 'master'Grzegorz Bizon
Edit Knative domain after it has been deployed Closes #56937 See merge request gitlab-org/gitlab-ce!25386
2019-03-05Creates Clusterss::ApplciationsController update endpointJoão Cunha
- Creates new route - Creates new controller action - Creates call stack: Clusterss::ApplciationsController calls --> Clusters::Applications::UpdateService calls --> Clusters::Applications::ScheduleUpdateService calls --> ClusterUpdateAppWorker calls --> Clusters::Applications::PatchService --> ClusterWaitForAppInstallationWorker DRY req params Adds gcp_cluster:cluster_update_app queue Schedule_update_service is uneeded Extract common logic to a parent class (UpdateService will need it) Introduce new UpdateService Fix rescue class namespace Fix RuboCop offenses Adds BaseService for create and update services Remove request_handler code duplication Fixes update command Move update_command to ApplicationCore so all apps can use it Adds tests for Knative update_command Adds specs for PatchService Raise error if update receives an unistalled app Adds update_service spec Fix RuboCop offense Use subject in favor of go Adds update endpoint specs for project namespace Adds update endpoint specs for group namespace
2019-03-04Merge branch 'security-kubernetes-local-ssrf' into 'master'Yorick Peterse
Block local URLs for Kubernetes integration See merge request gitlab/gitlabhq!2901
2019-02-22Update GitLab Runner Helm Chart to 0.2.0Tomasz Maczukin
2019-02-21Do not allow local urls in Kubernetes formThong Kuah
Use existing `public_url` validation to block various local urls. Note that this validation will allow local urls if the "Allow requests to the local network from hooks and services" admin setting is enabled. Block KubeClient from using local addresses It will also respect `allow_local_requests_from_hooks_and_services` so if that is enabled KubeClinet will allow local addresses
2019-02-19Merge branch 'move_ready_to_application_concern' into 'master'Stan Hu
Remove application `#ready?` See merge request gitlab-org/gitlab-ce!25128
2019-02-15Merge branch '57650-remove-tld-validation-from-cluster' into 'master'Nick Thomas
Remove TLD validation from cluster domain Closes #57650 See merge request gitlab-org/gitlab-ce!25262
2019-02-15Rename scope to imply :installed and :updated resultJoão Cunha
- 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-15Move common method to application concernThong Kuah
This could be potentially useful to all cluster applications. Address followup issue https://gitlab.com/gitlab-org/gitlab-ce/issues/56524
2019-02-15Remove TLD validation from Cluster#domainDylan Griffith
2019-02-11Merge branch '55447-validate-k8s-ca-cert' into 'master'Dmitriy Zaporozhets
Validate k8s CA certificate at cluster creation See merge request gitlab-org/gitlab-ce!24990
2019-02-08Validate kubernetes cluster CA certificateTiger
No certificate is still accepted, but if one is provided it must be valid. Only run validation if the certificate has changed to avoid making existing records invalid.
2019-02-08Upgrade cluster applications, starting with runnerThong Kuah
2019-02-07Merge branch '52363-ui-changes-to-cluster-and-ado-pages' into 'master'Grzegorz Bizon
Moves domain setting to Clusters page Closes #52363 See merge request gitlab-org/gitlab-ce!24580
2019-02-07Addresses UX and BE comments:Mayra Cabrera
- Changes help text on clusters form to make it more explicit. - Removes unnecessary warnings on auto devops form - Simplifies cluster methods logic
2019-02-06Refactor specs to run shared parts only when usedThong Kuah
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-06Update version on :installed, not :installingThong Kuah
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-04Moves domain setting to Cluster settingMayra Cabrera
Changes domain field to be on the Cluster page show, removing it from Auto DevOps setting. Also injects the new environment variable KUBE_INGRESS_BASE_DOMAIN into kubernetes#predefined_variables. Migration to move the information from ProjectAutoDevops#domain to Clusters::Cluster#domain. As well as necessary modifications to qa selectors Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52363
2019-01-24Enable the Layout/ExtraSpacing copRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-01-22Add domain field into Clusters::ClusterMayra Cabrera
This is the 1st step for moving Auto DevOps domain into cluster settings, whether is project or group. Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/52363
2019-01-22Update GitLab Runner Helm Chart to 0.1.45Tomasz Maczukin
2019-01-18Merge branch '55544-port-upgrade-command' into 'master'Kamil Trzciński
Port generic Helm upgrade functionality to CE See merge request gitlab-org/gitlab-ce!23924
2019-01-15Port generic upgrade functionality to CEThong Kuah
Port from EE generic upgrade related functionality used to upgrade Helm applications Remove memoization which could be incorrect It looks like we are memoizing without regard to the method's argument so this could result in an incorrect upgrade_command Remove `const_get` indirection now we are no longer in EE
2019-01-14Merge branch 'bump-ingress-chart-112' into 'master'Dmitriy Zaporozhets
Bump nginx-ingress chart to 1.1.2 See merge request gitlab-org/gitlab-ce!24203
2019-01-11Initial Serverless Functions detailed viewChris Baumbauer
2019-01-10Bump nginx-ingress chart to 1.1.2Thong Kuah
2019-01-05Require Knative to be installed only on an RBAC kubernetes clusterChris Baumbauer
2019-01-04Make RBAC enabled default for new clustersDylan Griffith
Many changes were also made to tests that expected this to default to false.
2019-01-04Add Knative metrics to PrometheusChris Baumbauer
2018-12-31Update GitLab Runner Helm Chart to 0.1.43Tomasz Maczukin
2018-12-31Merge branch '55716-update-cert-manager-chart-from-v0-5-0-to-v0-5-2' into ↵Sean McGivern
'master' Update cert-manager chart from v0.5.0 to v0.5.2 Closes #55716 See merge request gitlab-org/gitlab-ce!24025
2018-12-27Merge branch '55551-nomethoderror-undefined-method-for-nil-nilclass' into ↵Kamil Trzciński
'master' Handle nil terminals in Clusters::Platforms::Kubernetes Closes #55551 See merge request gitlab-org/gitlab-ce!23925
2018-12-25Update cert-manager chart from v0.5.0 to v0.5.2Takuya Noguchi
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2018-12-21Rename `ClusterPlatformConfigureWorker`George Tsiolis
2018-12-19Handle nil terminals in Clusters::Platforms::KubernetesRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-12-12Upgrade Knative from 0.1.3 to 0.2.2Chris Baumbauer
2018-12-07Update gitlab runner helm chart to 0.1.39Tomasz Maczukin
2018-12-06Introduce Knative Serverless TabDylan Griffith
2018-12-05Eager load clusters to prevent N+1Thong Kuah
This also means we need to apply the `current_scope` otherwise this method will return all clusters associated with the groups regardless of any scopes applied to this method
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-05Create k8s namespace for project in group clustersThong Kuah
AFAIK the only relevant place is Projects::CreateService, this gets called when user creates a new project, forks a new project and does those things via the api. Also create k8s namespace for new group hierarchy when transferring project between groups Uses new Refresh service to create k8s namespaces - Ensure we use Cluster#cluster_project If a project has multiple clusters (EE), using Project#cluster_project is not guaranteed to return the cluster_project for this cluster. So switch to using Cluster#cluster_project - at this stage a cluster can only have 1 cluster_project. Also, remove rescue so that sidekiq can retry
2018-12-05Teach Cluster about #all_projectsThong Kuah
For project level, it's the project directly associated. For group level, it's the projects under that group.
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-12-04Merge branch 'check-unique-values-of-pipeline-enum' into 'master'Kamil Trzciński
Check the uniqueness of the values of pipeline enum See merge request gitlab-org/gitlab-ce!23504
2018-12-04Fix coding offenceShinya Maeda
2018-12-04Fallback to admin token for project clusters onlyThong Kuah
We do not want group level clusters to fall back to what was old behaviour for project level clusters. So instead we will not return any KUBE_TOKEN if we cannot find a suitable kubernetes_namespace for the project, in the group level cluster case. Add test cases to assert above