You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/troubleshooting/cfcr-deprecation.md
+53-3Lines changed: 53 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -216,7 +216,7 @@ then you can simply change the `registry` property to your external registry and
216
216
217
217
Note that`my-external-registry` is just the unique name assigned to your registry from the[Registry settings screen](https://g.codefresh.io/account-admin/account-conf/integration/registry).
218
218
219
-
You can also promote images from the[manually from the UI]({{site.baseurl}}/docs/docker-registries/codefresh-registry/#promoting-docker-images)or with a[pipeline]({{site.baseurl}}/docs/docker-registries/working-with-docker-registries/#promoting-docker-images).
219
+
You can also promote images from the[manually from the UI]({{site.baseurl}}/docs/docker-registries/codefresh-registry/#promoting-docker-images)or with a[pipeline]({{site.baseurl}}/docs/docker-registries/working-with-docker-registries/#promoting-docker-images).
220
220
221
221
If you wish to perform migration of Docker images in a batch manner, you can also use the[migration script offered by Codefresh](https://github.com/codefresh-io/cfcr-migration).
222
222
@@ -230,13 +230,63 @@ Here is a summary of customer actions at the end of 15th March 2020
230
230
* You need to evaluate external Docker registry services and connect at least one in your Codefresh account
231
231
* Change Kubernetes deployments and Helm releases to pull images from the external Registry instead of the private one
232
232
* Do not use private Codefresh images in any pipeline (especially freestyle steps). Use images from the external registry only
233
-
* Change all pipeline steps to use specifically the external Docker registry
233
+
* Change all pipelinepushsteps to use specifically the external Docker registry
234
234
* Promote essential images from the internal registry to the external Docker registry
235
+
* No pipeline should push to the internal Codefresh registry.
235
236
236
237
237
238
##Phase B Migration actions until 1st April 2020
238
239
239
-
TBD
240
+
At that start of Phase B (15th March 2020) Codefresh will offer the following new features:
241
+
242
+
1. The ability to define a default registry for the build step to push to (currently the build step is always pushing to the private Registry)
243
+
1. The ability to define an explicit registry in the build step (overriding the default)
244
+
1. The ability to disable the automatic push of the build step completely (currently a build will always push to the internal Codefresh registry)
245
+
1. The ability to define an explicit registry for[caching]({{site.baseurl}}/docs/configure-ci-cd-pipeline/pipeline-caching/)
246
+
1. A new image dashboard that will show docker images from all connected registries (and not just the private Codefresh registry)
247
+
248
+
###Using a default registry for pipelines
249
+
250
+
Once these features are available for customers, you need to inspect your pipelines and make sure you:
251
+
252
+
1. Set as default registry in your Codefresh account the external one
253
+
1. Set as default caching registry in your Codefresh account the external one
254
+
1. If you have more than one external registries, override the default one in any build steps that you want to use another registry other than the default (if this scenario is useful to you)
255
+
1. Disable auto-push on pipelines that don't need it if they also have a push step.
256
+
257
+
For the second point here is the syntax for the new build step:
258
+
259
+
260
+
{% highlight yaml %}
261
+
{% raw %}
262
+
build_step:
263
+
type: build
264
+
stage: build
265
+
tag: ${{CF_BRANCH_TAG_NORMALIZED}}
266
+
image_name: codefresh/cf-api
267
+
registry: my-external-registry
268
+
{% endraw %}
269
+
{% endhighlight %}
270
+
271
+
For the third point, here is the syntax for disabling auto-push
272
+
273
+
{% highlight yaml %}
274
+
{% raw %}
275
+
build_step:
276
+
type: build
277
+
stage: build
278
+
tag: ${{CF_BRANCH_TAG_NORMALIZED}}
279
+
image_name: codefresh/cf-api
280
+
disablePush: true
281
+
{% endraw %}
282
+
{% endhighlight %}
283
+
284
+
This way you get maximum flexibility on what build and push steps are doing in your pipelines.
285
+
286
+
###Using the new Docker image dashboard
287
+
288
+
289
+
240
290
241
291
###Summary of actions and results of migration phase B