Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Auf dieser Seite wird beschrieben, wie Sie Ihre Anwendung manuell auf einem bestimmten Ziel bereitstellen.
Bei normalem Gebrauch stellt Cloud Deploy Ihre Anwendung nacheinander in allen Zielen der Abfolge bereit.
Sie können Ihre Anwendung aber auch manuell auf einem beliebigen Ziel bereitstellen.
Sie können manuell ein neues oder ein vorhandenes Release bereitstellen.
Vorhandenes Release manuell bereitstellen
Wurde bereits ein Release erstellt, können Sie es einfach zum gewünschten Ziel hochstufen:
RELEASE_NAME ist der Name des Release, das Sie manuell für das gewünschte Ziel hochstufen.
PIPELINE_NAME ist der Name der Lieferpipeline, die den automatisierten Bereitstellungsfortschritt beschreibt, den Sie überschreiben.
TARGET_NAME ist der Name des Ziels, auf das Sie die Bereitstellung manuell ausführen.
REGION ist der Name der Region, in der die Version erstellt wurde, z. B. us-central1. Das ist ein Pflichtfeld.
Neuen Release manuell bereitstellen
Wenn Sie einen Release erstellen, wird er standardmäßig automatisch von Cloud Deploy für das erste Ziel in der Release-Sequenz bereitgestellt. Sie können aber ein anderes Ziel als das erste angeben.
Wie beim ersten Standardziel der Sequenz erstellt Cloud Deploy die rollout für das angegebene Ziel automatisch und stellt den Release dort bereit.
Führen Sie folgenden Befehl aus, um ein neues Release manuell bereitzustellen:
RELEASE_NAME ist der Name des Release, das Sie manuell für das gewünschte Ziel hochstufen.
PIPELINE_NAME ist der Name der Lieferpipeline, die den automatisierten Bereitstellungsfortschritt beschreibt, den Sie überschreiben.
TARGET_NAME ist der Name des Ziels, auf das Sie die Bereitstellung manuell ausführen.
REGION ist der Name der Region, in der die Version erstellt werden soll, z. B. us-central1. Das ist ein Pflichtfeld.
Auswirkungen der manuellen Bereitstellung auf den Fortschritt
Wenn Sie etwas für ein bestimmtes Ziel manuell bereitstellen und dann den Release ohne Angabe eines Ziels hochstufen, stuft Cloud Deploy ihn zum korrekten nächsten Ziel in der Sequenz hoch. Dies liegt daran, dass der Dienst das höchste Ziel erfasst, für das ein Release bereitgestellt wurde. Wenn der Release bereits das letzte Ziel erreicht hat, gibt Cloud Deploy eine Nachricht zurück, die darauf hinweist, dass kein weiteres Ziel vorhanden ist.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-03 (UTC)."],[[["\u003cp\u003eThis page details the process of manually deploying an application to a specific target using Cloud Deploy, overriding the automated deployment progression.\u003c/p\u003e\n"],["\u003cp\u003eYou can manually deploy an existing release to a target using the \u003ccode\u003egcloud deploy releases promote\u003c/code\u003e command, specifying the release, pipeline, target, and region.\u003c/p\u003e\n"],["\u003cp\u003eA new release can also be manually deployed to a target other than the first one in the sequence, and the \u003ccode\u003egcloud deploy releases create\u003c/code\u003e command allows for the creation and deployment of a release to a specified target.\u003c/p\u003e\n"],["\u003cp\u003eWhen a manual deployment is done, Cloud Deploy keeps track of the furthest target the release has reached and will continue the automated sequence from there when asked to.\u003c/p\u003e\n"]]],[],null,["# Deploy manually\n\nThis page describes how to manually deploy your application to a specific target.\n\nDuring normal use, Cloud Deploy deploys your application into each\ntarget in the [progression](/deploy/docs/terminology#progression), in sequence.\nBut you can also manually deploy your application to any defined target.\n\nYou can manually deploy a new or an existing release.\n\nManually deploy an existing release\n-----------------------------------\n\nIf a release is already created, you can simply promote it to the intended\ntarget: \n\n gcloud deploy releases promote --release=\u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-n\"\u003eRELEASE_NAME\u003c/span\u003e\u003c/var\u003e \\\n --delivery-pipeline=\u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-n\"\u003ePIPELINE_NAME\u003c/span\u003e\u003c/var\u003e \\\n --to-target=\u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-n\"\u003eTARGET_NAME\u003c/span\u003e\u003c/var\u003e \\\n --region=\u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-n\"\u003eREGION\u003c/span\u003e\u003c/var\u003e\n\nWhere:\n\n- \u003cvar translate=\"no\"\u003eRELEASE_NAME\u003c/var\u003e is the name of the release which you're\n manually promoting to the intended target.\n\n- \u003cvar translate=\"no\"\u003ePIPELINE_NAME\u003c/var\u003e is the name of the delivery pipeline that\n describes the automated deployment progression you're overriding.\n\n- \u003cvar translate=\"no\"\u003eTARGET_NAME\u003c/var\u003e is the name of the target you're manually\n deploying to.\n\n- \u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e is the name of the region in which the release\n was created, for example `us-central1`. This is required.\n\nManually deploy a new release\n-----------------------------\n\nBy default, when you create a release Cloud Deploy automatically\ndeploys it to the first target in the promotion sequence. But you can specify a\ntarget other than the first one.\n\nAs with the default first target in the progression, Cloud Deploy\nautomatically creates the `rollout` for the specified target and deploys the\nrelease there.\n\nTo manually deploy a new release, run the following command: \n\n gcloud deploy releases create \\\n --release=\u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-n\"\u003eRELEASE_NAME\u003c/span\u003e\u003c/var\u003e \\\n --delivery-pipeline=\u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-n\"\u003ePIPELINE_NAME\u003c/span\u003e\u003c/var\u003e \\\n --to-target=\u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-n\"\u003eTARGET_NAME\u003c/span\u003e\u003c/var\u003e \\\n --region=\u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-n\"\u003eREGION\u003c/span\u003e\u003c/var\u003e\n\nWhere:\n\n- \u003cvar translate=\"no\"\u003eRELEASE_NAME\u003c/var\u003e is the name of the release which you're\n manually promoting to the intended target.\n\n- \u003cvar translate=\"no\"\u003ePIPELINE_NAME\u003c/var\u003e is the name of the delivery pipeline that\n describes the automated deployment progression you're overriding.\n\n- \u003cvar translate=\"no\"\u003eTARGET_NAME\u003c/var\u003e is the name of the target you're manually\n deploying to.\n\n- \u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e is the name of the region in which to create the\n release, for example `us-central1`. This is required.\n\nEffect of manual deployment on the progression\n----------------------------------------------\n\nWhen you manually deploy to a specific target and then promote the release\nwithout specifying a target, Cloud Deploy promotes it to the correct\nnext target in the progression. This is because the service tracks the furthest\ntarget to which a release has been deployed. If the release is already in the\nlast target in the progression, Cloud Deploy returns a message\nindicating there is no further target to promote to."]]