Skip to content
代码片段 群组 项目
该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。 拉取镜像更新于
  1. 7月 05, 2023
  2. 1月 23, 2023
    • Eduardo Bonet's avatar
      Adds Candidate Search to Experiment page · 1ebcd3f3
      Eduardo Bonet 创作于
      Moves fetching code to CandidateFinder and adds a search box
      to ml_experiments.vue component, reusing RegistrySearch
      component. Using GlFilteredSearch is a bit of overkill here
      since we are not using Filters, but this is planned to come
      soon
      
      Changelog: added
      FeatureFlag: ml_experiment_tracking
      1ebcd3f3
  3. 8月 04, 2022
  4. 5月 05, 2022
  5. 3月 07, 2022
  6. 2月 18, 2022
  7. 2月 16, 2022
  8. 2月 15, 2022
  9. 12月 22, 2021
  10. 10月 13, 2021
  11. 10月 12, 2021
  12. 9月 28, 2021
  13. 7月 27, 2021
  14. 6月 02, 2021
  15. 5月 12, 2021
  16. 5月 10, 2021
  17. 4月 19, 2021
  18. 3月 05, 2021
  19. 7月 14, 2020
  20. 7月 13, 2020
  21. 7月 10, 2020
  22. 7月 09, 2020
  23. 7月 07, 2020
  24. 7月 01, 2020
  25. 4月 24, 2020
  26. 3月 12, 2020
    • Aishwarya Subramanian's avatar
      Fix logic used to determine project export status · a309861a
      Aishwarya Subramanian 创作于
      Currently, lock files are used to determine the state of a
      project export. However, the lock files are not stored in a shared
      volume, causing the export states to be reported incorrectly.
      
      In order to fix this, we now store the export states in database
      as a more reliable mechanism. The table used is project_export_jobs.
      It stores the project_id, job_id and the current state.
      
      In addition to existing states, also added are two new states
      queued and regeneration_in_progress states. They are used to indicate
      a job that's waiting to be started and the case when a project export
      operation has been requested to be re-generated.
      
      Failed jobs are re-tried 3 times, after which the state is updated
      to failed.
      
      To account for jobs that get stuck, a cron job runs every hour
      to set the stuck jobs to failed state.
      
      Closes https://gitlab.com/gitlab-org/gitlab/issues/32203
      a309861a
  27. 2月 10, 2020
  28. 2月 07, 2020
    • Vitali Tatarintev's avatar
      Move Alert from EE to CE · 825b97fa
      Vitali Tatarintev 创作于
      Moves `Alert` and its dependencies to CE:
      
      * Alert
      * Alert factory
      * Alerting::AlertAnnotation
      * Prometheus::AlertPresenter
      * Prometheus::AlertFinder
      825b97fa
  29. 1月 30, 2020
  30. 8月 07, 2019
    • Tiger Watson's avatar
      Use separate Kubernetes namespaces per environment · 36a01a88
      Tiger Watson 创作于
      Kubernetes deployments on new clusters will now have
      a separate namespace per project environment, instead
      of sharing a single namespace for the project.
      
      Behaviour of existing clusters is unchanged.
      
      All new functionality is controlled by the
      :kubernetes_namespace_per_environment feature flag,
      which is safe to enable/disable at any time.
      36a01a88
  31. 6月 04, 2019
    • Jacques Erasmus's avatar
      Adapt functions to work for external Knative · 1d219382
      Jacques Erasmus 创作于
      Remove Kn services cache from Clusters::Application::Knative
      
      Knative function can exist even if user did not installed Knative via
      GitLab managed apps.
      
      -> Move responsibility of finding services into the Cluster
      -> Responsability is inside Clusters::Cluster::KnativeServiceFinder
      -> Projects::Serverless::FunctionsFinder now calls depends solely on a
      cluster to find the Kn services.
      -> Detect Knative by resource presence instead of service presence
      -> Mock knative_installed response temporarily for frontend to develop
      
      Display loader while `installed === 'checking'`
      
      Added frontend work to determine if Knative is installed
      
      Memoize with_reactive_cache(*args, &block) to avoid race conditions
      
      When calling with_reactive_cache more than once, it's possible that the
      second call will already have the value populated. Therefore, in cases
      where we need the sequential calls to have consistent results, we'd fall
      under a race condition.
      
      Check knative installation via Knative resource presence
      
      Only load pods if Knative is discovered
      
      Always return a response in FunctionsController#index
      
      - Always indicate if Knative is installed, not installed or checking
      - Always indicate the partial response for functions. Final response is
      guaranteed when knative_installed is either true | false.
      
      Adds specs for Clusters::Cluster#knative_services_finder
      
      Fix method name when calling on specs
      
      Add an explicit check for functions
      
      Added an explicit check to see if there are any functions available
      
      Fix Serverless feature spec
      
      - we don't find knative installation via database anymore,
      rather via Knative resource
      
      Display error message for request timeouts
      
      Display an error message if the request times out
      
      Adds feature specs for when functions exist
      
      Remove a test purposed hardcoded flag
      
      Add ability to partially load functions
      
      Added the ability to partially load functions on the frontend
      
      Add frontend unit tests
      
      Added tests for the new frontend additions
      
      Generate new translations
      
      Generated new frontend translations
      
      Address review comments
      
      Cleaned up the frontend unit test.
      Added computed prop for `isInstalled`.
      
      Move string to constant
      
      Simplify nil to array conversion
      
      Put knative_installed states in a frozen hash for better read
      
      Pluralize list of Knative states
      
      Quey services and pods filtering name
      
      This way we don't need to filter the namespace in memory.
      Also, the data we get from the network is much smaller.
      
      Simplify cache_key and fix bug
      
      - Simplifies the cache_key by removing namespace duplicate
      - Fixes a bug with reactive_cache memoization
      1d219382
  32. 6月 03, 2019
    • João Cunha's avatar
      Move file one folder level up to avoid namespace conflict · 82e952a8
      João Cunha 创作于
      Clusters::Cluster::KnativeServicesFinder becomes
      Clusters::KnativeServicesFinder
      
      This is to avoid loading race condition between:
      
      ```
      module Clusters
        class Cluster < ApplicationRecord
      ```
      
      and
      
      ```
      module Clusters
        class Cluster
      ```
      82e952a8
  33. 5月 29, 2019
    • João Cunha's avatar
      Adapt functions to work for external Knative · a2aa160c
      João Cunha 创作于
      Remove Kn services cache from Clusters::Application::Knative
      
      Knative function can exist even if user did not installed Knative via
      GitLab managed apps.
      
      -> Move responsibility of finding services into the Cluster
      -> Responsability is inside Clusters::Cluster::KnativeServiceFinder
      -> Projects::Serverless::FunctionsFinder now calls depends solely on a
      cluster to find the Kn services.
      -> Detect Knative by resource presence instead of service presence
      -> Mock knative_installed response temporarily for frontend to develop
      
      Display loader while `installed === 'checking'`
      
      Added frontend work to determine if Knative is installed
      
      Memoize with_reactive_cache(*args, &block) to avoid race conditions
      
      When calling with_reactive_cache more than once, it's possible that the
      second call will already have the value populated. Therefore, in cases
      where we need the sequential calls to have consistent results, we'd fall
      under a race condition.
      
      Check knative installation via Knative resource presence
      
      Only load pods if Knative is discovered
      
      Always return a response in FunctionsController#index
      
      - Always indicate if Knative is installed, not installed or checking
      - Always indicate the partial response for functions. Final response is
      guaranteed when knative_installed is either true | false.
      
      Adds specs for Clusters::Cluster#knative_services_finder
      
      Fix method name when calling on specs
      
      Add an explicit check for functions
      
      Added an explicit check to see if there are any functions available
      
      Fix Serverless feature spec
      
      - we don't find knative installation via database anymore,
      rather via Knative resource
      
      Display error message for request timeouts
      
      Display an error message if the request times out
      
      Adds feature specs for when functions exist
      
      Remove a test purposed hardcoded flag
      
      Add ability to partially load functions
      
      Added the ability to partially load functions on the frontend
      
      Add frontend unit tests
      
      Added tests for the new frontend additions
      
      Generate new translations
      
      Generated new frontend translations
      
      Address review comments
      
      Cleaned up the frontend unit test.
      Added computed prop for `isInstalled`.
      
      Move string to constant
      
      Simplify nil to array conversion
      
      Put knative_installed states in a frozen hash for better read
      
      Pluralize list of Knative states
      
      Quey services and pods filtering name
      
      This way we don't need to filter the namespace in memory.
      Also, the data we get from the network is much smaller.
      
      Simplify cache_key and fix bug
      
      - Simplifies the cache_key by removing namespace duplicate
      - Fixes a bug with reactive_cache memoization
      a2aa160c
  34. 5月 22, 2019
    • Tiger's avatar
      Remove legacy Kubernetes #actual_namespace · 98793c2e
      Tiger 创作于
      When Kubernetes clusters were originally built they could only
      exist at the project level, and so there was logic included
      that assumed there would only ever be a single Kubernetes
      namespace per cluster. We now support clusters at the group
      and instance level, which allows multiple namespaces.
      
      This change consolidates various project-specific fallbacks to
      generate namespaces, and hands all responsibility to the
      Clusters::KubernetesNamespace model. There is now no concept of
      a single namespace for a Clusters::Platforms::Kubernetes; to
      retrieve a namespace a project must now be supplied in all cases.
      
      This simplifies upcoming work to use a separate Kubernetes
      namespace per project environment (instead of a namespace
      per project).
      98793c2e
    • Tiger's avatar
      Remove legacy Kubernetes #actual_namespace · 101c4480
      Tiger 创作于
      When Kubernetes clusters were originally built they could only
      exist at the project level, and so there was logic included
      that assumed there would only ever be a single Kubernetes
      namespace per cluster. We now support clusters at the group
      and instance level, which allows multiple namespaces.
      
      This change consolidates various project-specific fallbacks to
      generate namespaces, and hands all responsibility to the
      Clusters::KubernetesNamespace model. There is now no concept of
      a single namespace for a Clusters::Platforms::Kubernetes; to
      retrieve a namespace a project must now be supplied in all cases.
      
      This simplifies upcoming work to use a separate Kubernetes
      namespace per project environment (instead of a namespace
      per project).
      101c4480
  35. 4月 06, 2019
加载中