<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/spec/models/deployment_spec.rb, branch docs/remove-cephfs-example</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>Remove un-used method</title>
<updated>2019-07-07T21:14:37+00:00</updated>
<author>
<name>Thong Kuah</name>
<email>tkuah@gitlab.com</email>
</author>
<published>2019-07-01T10:10:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=25ba11a2aad9571e4759cdc711199634e3392c5b'/>
<id>25ba11a2aad9571e4759cdc711199634e3392c5b</id>
<content type='text'>
We stopped calling the fallback so we can remove this now
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We stopped calling the fallback so we can remove this now
</pre>
</div>
</content>
</entry>
<entry>
<title>Extract deployment_metrics into own object</title>
<updated>2019-07-07T21:13:21+00:00</updated>
<author>
<name>Thong Kuah</name>
<email>tkuah@gitlab.com</email>
</author>
<published>2019-07-01T09:40:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=d2ba2951f737082edd568505f985ebf9a0808be7'/>
<id>d2ba2951f737082edd568505f985ebf9a0808be7</id>
<content type='text'>
We can now share project so that we don't have to load project twice.
Also, this extracts non-relevant logic out of Deployment.

Update DeploymentsController accordingly
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We can now share project so that we don't have to load project twice.
Also, this extracts non-relevant logic out of Deployment.

Update DeploymentsController accordingly
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove fallback to project.deployment_platform</title>
<updated>2019-07-07T21:13:21+00:00</updated>
<author>
<name>Thong Kuah</name>
<email>tkuah@gitlab.com</email>
</author>
<published>2019-07-01T08:24:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=1668f40f430c656ed9c20898605db21a66cb5937'/>
<id>1668f40f430c656ed9c20898605db21a66cb5937</id>
<content type='text'>
This improves query performance of
MergeRequestsController#ci_environments_status a lot.

However this means old deployments that deployed to kubernetes clusters
with prometheus installations will no longer show performance metrics as
we cannot backfill cluster_id from deployment_platform with certainty
(clusters may be edited/added/deleted, which changes the results of
deployment_platform).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This improves query performance of
MergeRequestsController#ci_environments_status a lot.

However this means old deployments that deployed to kubernetes clusters
with prometheus installations will no longer show performance metrics as
we cannot backfill cluster_id from deployment_platform with certainty
(clusters may be edited/added/deleted, which changes the results of
deployment_platform).
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove now unused KubernetesService methods</title>
<updated>2019-07-04T18:41:07+00:00</updated>
<author>
<name>James Fargher</name>
<email>proglottis@gmail.com</email>
</author>
<published>2019-06-21T07:54:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=398c0e48f70af0a0b1984ea5c4c58ea4d5cb9512'/>
<id>398c0e48f70af0a0b1984ea5c4c58ea4d5cb9512</id>
<content type='text'>
Now that KubernetesService can no longer be a DeploymentPlatform we can
remove all kubernetes client code and KubernetesService edge cases.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that KubernetesService can no longer be a DeploymentPlatform we can
remove all kubernetes client code and KubernetesService edge cases.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use #cluster for prometheus_adapter</title>
<updated>2019-06-27T05:28:52+00:00</updated>
<author>
<name>Thong Kuah</name>
<email>tkuah@gitlab.com</email>
</author>
<published>2019-06-24T02:08:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=04af6132b14e594aeddef2a6d0c171af667c9539'/>
<id>04af6132b14e594aeddef2a6d0c171af667c9539</id>
<content type='text'>
We still fallback to environment.deployment_platform until we can
backfill
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We still fallback to environment.deployment_platform until we can
backfill
</pre>
</div>
</content>
</entry>
<entry>
<title>Add cluster_id to deployments table as an FK</title>
<updated>2019-06-27T05:28:48+00:00</updated>
<author>
<name>Thong Kuah</name>
<email>tkuah@gitlab.com</email>
</author>
<published>2019-06-23T21:48:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=525edec78bc39ae41284927f1866def56d21a12a'/>
<id>525edec78bc39ae41284927f1866def56d21a12a</id>
<content type='text'>
We nullify when cluster is deleted as we want to keep the deployment
record around.

Add cluster as an optional association

We will have only cluster for deployments where the build deploys to a
kubernetes cluster
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We nullify when cluster is deleted as we want to keep the deployment
record around.

Add cluster as an optional association

We will have only cluster for deployments where the build deploys to a
kubernetes cluster
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename method to not clash with #cluster</title>
<updated>2019-06-24T04:59:22+00:00</updated>
<author>
<name>Thong Kuah</name>
<email>tkuah@gitlab.com</email>
</author>
<published>2019-06-24T01:46:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=ee18ca2fa590453b42c7cba28c334d1327aa8b33'/>
<id>ee18ca2fa590453b42c7cba28c334d1327aa8b33</id>
<content type='text'>
We will introduce #cluster at a later stage.
Also deprecate this method
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We will introduce #cluster at a later stage.
Also deprecate this method
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix remaining failures in shoulda-matcher</title>
<updated>2019-05-22T06:19:07+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2019-05-21T21:07:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=37a335e60edd4f4c8b61fd2f9ffe0f1d27e3bfb8'/>
<id>37a335e60edd4f4c8b61fd2f9ffe0f1d27e3bfb8</id>
<content type='text'>
Starting with Rails 5, belongs_to now adds a presence validation to the
association, and so as of shoulda-matchers 4.0.0 the belong_to matcher
follows suit and tests that this validation is there by setting the
association to nil and asserting that there are validation errors. This
exposed an error with the `validate_branches` method: we need to check
the source and target project exist.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Starting with Rails 5, belongs_to now adds a presence validation to the
association, and so as of shoulda-matchers 4.0.0 the belong_to matcher
follows suit and tests that this validation is there by setting the
association to nil and asserting that there are validation errors. This
exposed an error with the `validate_branches` method: we need to check
the source and target project exist.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix deployments for Kubernetes service templates</title>
<updated>2019-04-28T21:57:08+00:00</updated>
<author>
<name>Tiger</name>
<email>twatson@gitlab.com</email>
</author>
<published>2019-04-25T23:49:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=825d759634773c82b6417ba8e7a9fdcb0f76561c'/>
<id>825d759634773c82b6417ba8e7a9fdcb0f76561c</id>
<content type='text'>
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/27687
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/27687
</pre>
</div>
</content>
</entry>
<entry>
<title>Add deployment events to chat notification services</title>
<updated>2019-04-26T21:08:41+00:00</updated>
<author>
<name>Jason Goodman</name>
<email>jgoodman@gitlab.com</email>
</author>
<published>2019-04-26T21:08:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=fe86890b9d7a720648e7570d227c438d6ca7f25a'/>
<id>fe86890b9d7a720648e7570d227c438d6ca7f25a</id>
<content type='text'>
This enables sending a chat message to Slack or Mattermost
  upon a successful, failed, or canceled deployment
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This enables sending a chat message to Slack or Mattermost
  upon a successful, failed, or canceled deployment
</pre>
</div>
</content>
</entry>
</feed>
