Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4a863ae

Browse files
Build V2 migration instructions
1 parent90dfe23 commit4a863ae

File tree

1 file changed

+53
-3
lines changed

1 file changed

+53
-3
lines changed

‎_docs/troubleshooting/cfcr-deprecation.md‎

Lines changed: 53 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ then you can simply change the `registry` property to your external registry and
216216

217217
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).
218218

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).
220220

221221
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).
222222

@@ -230,13 +230,63 @@ Here is a summary of customer actions at the end of 15th March 2020
230230
* You need to evaluate external Docker registry services and connect at least one in your Codefresh account
231231
* Change Kubernetes deployments and Helm releases to pull images from the external Registry instead of the private one
232232
* 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
234234
* Promote essential images from the internal registry to the external Docker registry
235+
* No pipeline should push to the internal Codefresh registry.
235236

236237

237238
##Phase B Migration actions until 1st April 2020
238239

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+
240290

241291
###Summary of actions and results of migration phase B
242292

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp