<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/spec/models/clusters, branch patch-58</title>
<subtitle>gitlab.com: gitlab-org/gitlab-ce.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/'/>
<entry>
<title>Setup Git client for Jupyter</title>
<updated>2019-06-05T19:50:29+00:00</updated>
<author>
<name>Amit  Rathi</name>
<email>amit.juschill@gmail.com</email>
</author>
<published>2019-06-05T19:50:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=13a8722464565b272bc00acd608761a3a83dcce0'/>
<id>13a8722464565b272bc00acd608761a3a83dcce0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move file one folder level up to avoid namespace conflict</title>
<updated>2019-06-03T14:42:06+00:00</updated>
<author>
<name>João Cunha</name>
<email>j.a.cunha@gmail.com</email>
</author>
<published>2019-06-03T14:42:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=82e952a8f3fa5dd58eb7113caca6216fab5bab60'/>
<id>82e952a8f3fa5dd58eb7113caca6216fab5bab60</id>
<content type='text'>
Clusters::Cluster::KnativeServicesFinder becomes
Clusters::KnativeServicesFinder

This is to avoid loading race condition between:

```
module Clusters
  class Cluster &lt; ApplicationRecord
```

and

```
module Clusters
  class Cluster
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Clusters::Cluster::KnativeServicesFinder becomes
Clusters::KnativeServicesFinder

This is to avoid loading race condition between:

```
module Clusters
  class Cluster &lt; ApplicationRecord
```

and

```
module Clusters
  class Cluster
```
</pre>
</div>
</content>
</entry>
<entry>
<title>Adapt functions to work for external Knative</title>
<updated>2019-05-29T10:21:53+00:00</updated>
<author>
<name>João Cunha</name>
<email>j.a.cunha@gmail.com</email>
</author>
<published>2019-04-09T19:45:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=a2aa160cea36fd8969e38eafb352154ee7d8f6f0'/>
<id>a2aa160cea36fd8969e38eafb352154ee7d8f6f0</id>
<content type='text'>
Remove Kn services cache from Clusters::Application::Knative

Knative function can exist even if user did not installed Knative via
GitLab managed apps.

-&gt; Move responsibility of finding services into the Cluster
-&gt; Responsability is inside Clusters::Cluster::KnativeServiceFinder
-&gt; Projects::Serverless::FunctionsFinder now calls depends solely on a
cluster to find the Kn services.
-&gt; Detect Knative by resource presence instead of service presence
-&gt; 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, &amp;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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove Kn services cache from Clusters::Application::Knative

Knative function can exist even if user did not installed Knative via
GitLab managed apps.

-&gt; Move responsibility of finding services into the Cluster
-&gt; Responsability is inside Clusters::Cluster::KnativeServiceFinder
-&gt; Projects::Serverless::FunctionsFinder now calls depends solely on a
cluster to find the Kn services.
-&gt; Detect Knative by resource presence instead of service presence
-&gt; 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, &amp;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
</pre>
</div>
</content>
</entry>
<entry>
<title>Add changelog entry</title>
<updated>2019-05-27T08:23:17+00:00</updated>
<author>
<name>Jacques Erasmus</name>
<email>jerasmus@gitlab.com</email>
</author>
<published>2019-05-27T08:23:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=3c913df28eb390bc2746b05b4911a62b76593d8b'/>
<id>3c913df28eb390bc2746b05b4911a62b76593d8b</id>
<content type='text'>
Added a changelog entry for the feature
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added a changelog entry for the feature
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop emitting AUTO_DEVOPS_DOMAIN Ci variable</title>
<updated>2019-05-24T02:40:12+00:00</updated>
<author>
<name>Thong Kuah</name>
<email>tkuah@gitlab.com</email>
</author>
<published>2019-05-20T03:55:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=f0efa2f91f8687a1cf0f39596790edaf338e8ec5'/>
<id>f0efa2f91f8687a1cf0f39596790edaf338e8ec5</id>
<content type='text'>
Update documentation to reflect removal
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update documentation to reflect removal
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'sh-bump-shoulda-matcher' into 'master'</title>
<updated>2019-05-22T14:08:38+00:00</updated>
<author>
<name>Jan Provaznik</name>
<email>jprovaznik@gitlab.com</email>
</author>
<published>2019-05-22T14:08:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=bc4a18ecb9e85a5ee51541ed25b2cb9c4a2768b5'/>
<id>bc4a18ecb9e85a5ee51541ed25b2cb9c4a2768b5</id>
<content type='text'>
Bump shoulda-matchers to 4.0.1

See merge request gitlab-org/gitlab-ce!28443</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bump shoulda-matchers to 4.0.1

See merge request gitlab-org/gitlab-ce!28443</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure subject passes validations</title>
<updated>2019-05-22T06:19:07+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2019-05-19T11:01:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=d707e2a49f2efe4670b5ebe62fb61554640ca7e9'/>
<id>d707e2a49f2efe4670b5ebe62fb61554640ca7e9</id>
<content type='text'>
Rails 5 requires that belongs_to associations have the associated record
present. These tests were failing because they had nil values.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rails 5 requires that belongs_to associations have the associated record
present. These tests were failing because they had nil values.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove legacy Kubernetes #actual_namespace</title>
<updated>2019-05-21T16:38:11+00:00</updated>
<author>
<name>Tiger</name>
<email>twatson@gitlab.com</email>
</author>
<published>2019-05-16T22:49:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=101c4480b32044682e453753c6bb18c2a296b044'/>
<id>101c4480b32044682e453753c6bb18c2a296b044</id>
<content type='text'>
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).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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).
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow projects to use instance level clusters</title>
<updated>2019-05-06T20:37:03+00:00</updated>
<author>
<name>James Fargher</name>
<email>proglottis@gmail.com</email>
</author>
<published>2019-04-18T02:45:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=8db382b05545fdef0a60bcff65f8c23e8b1ed282'/>
<id>8db382b05545fdef0a60bcff65f8c23e8b1ed282</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Instance level kubernetes clusters admin</title>
<updated>2019-05-06T20:37:03+00:00</updated>
<author>
<name>James Fargher</name>
<email>proglottis@gmail.com</email>
</author>
<published>2019-04-10T02:13:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=733da6d6a015e8c951dcc02250cfe1fab87789c0'/>
<id>733da6d6a015e8c951dcc02250cfe1fab87789c0</id>
<content type='text'>
Instance level clusters were already mostly supported, this change adds
admin area controllers for cluster CRUD
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instance level clusters were already mostly supported, this change adds
admin area controllers for cluster CRUD
</pre>
</div>
</content>
</entry>
</feed>
