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: umbraco-cloud/build-and-customize-your-solution/handle-deployments-and-environments/umbraco-cicd/README.md
-4Lines changed: 0 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,10 +20,6 @@ Explore the practical benefits of using Umbraco CI/CD Flow for your development
20
20
21
21
* Umbraco CI/CD Flow allows for greater scalability and flexibility in your deployment process. You can adapt your existing CI/CD pipeline to handle larger projects or more complex workflows without having to overhaul your Umbraco Cloud setup.
22
22
23
-
{% hint style="info" %}
24
-
Attaching a CI/CD pipeline to a flexible environment is currently not possible. The CI/CD workflow must go through the mainline deployment workflow.
25
-
{% endhint %}
26
-
27
23
**Centralized Management**
28
24
29
25
* With Umbraco CI/CD Flow, you can centralize the management of your deployments, tests, and workflows. This makes it easier to monitor, troubleshoot, and optimize your processes, leading to more efficient and reliable deployments. Automating deployment minimizes the risk for human errors that could have a negative effect on the target environment.
Copy file name to clipboardExpand all lines: umbraco-cloud/build-and-customize-your-solution/handle-deployments-and-environments/umbraco-cicd/troubleshooting.md
+19-2Lines changed: 19 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,12 @@ The reason for this is that the KUDU deploy process fails. This process takes th
10
10
11
11
To resolve this issue, remove the `RestorePackagesWithLockFile` to allow the deployments to go through as expected.
12
12
13
+
### Deployment reports: No changes detected - cleaning up
14
+
15
+
The package you uploaded didn't contain any changes that would affect the Git repository on the Cloud Environment. The CI/CD job will skip the remaining steps and complete.
16
+
17
+
If you expected the deployment to create changes in the Cloud Environment, make sure you are uploading the correct ZIP file.
18
+
13
19
## Cloud Sync
14
20
15
21
### The projects left-most mainline environment has changed
@@ -163,16 +169,27 @@ In rare cases deployments fail, and the cloud infrastructure doesn't clean up co
163
169
164
170
In order to fix this issue, you need to use [KUDU](../../../optimize-and-maintain-your-site/monitor-and-troubleshoot/power-tools/) to remove the leftover marker file.
165
171
166
-
1. Access KUDU on the "left-most" environment
172
+
1. Access KUDU on the affected environment
167
173
168
174
* If you only have one environment you want the live environment
169
-
* If you have more than one environment, you want the left-most mainline environment
175
+
* If you use V1 endpoints and have more than one environment, you want the left-most mainline environment
170
176
171
177
3. Navigate to `site` > `locks` folder In there, there should be a file named `updating`
172
178
4. Remove the `updating` file.
173
179
174
180
Once the marker file is removed, run your pipeline again.
175
181
182
+
### Unable to verify Deployment has finished
183
+
184
+
This error will be shown when the system is unable to verify that the latest deployment has been pushed and deployed in Kudu.
185
+
When a change is pushed to a Cloud Environment the Kudu deployment is started. CI/CD is also utilizing this flow.
186
+
187
+
A couple of steps to try:
188
+
- Make sure your code can compile and run (relevant only if you have enabled the `skipBuildAndRestore` toggle in V2)
189
+
- Running npm commands via `.csproj` files is generally unsupported on Umbraco Cloud
190
+
- Create and commit a small change and try deploying again
191
+
- A small change can be adding a dummy text file next to your code files or adding a comment in a `.cs` file.
192
+
176
193
## Environment errors after deployment
177
194
178
195
### Unable to determine environment by its {environment-id}
Copy file name to clipboardExpand all lines: umbraco-cloud/build-and-customize-your-solution/handle-deployments-and-environments/umbraco-cicd/umbracocloudapi.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -277,15 +277,18 @@ Should the deployment fail, check the `deploymentStatusMessages` for more inform
277
277
],
278
278
"createdUtc": string,
279
279
"completedUtc":string,
280
-
"modifiedUtc": string
280
+
"modifiedUtc": string,
281
+
"cloudRepositoryUpdated": boolean
281
282
}
282
283
```
283
284
284
285
## Query Deployments and fetch Changes
285
286
286
287
### Get Deployments
287
288
288
-
The endpoint lets you retrieve a list of completed deployments. It can only list deployments that have been run through the api.
289
+
The endpoint retrieves a list of deployments that have created a change in the Git repository of the cloud environment. A deployment can have the state **Completed** or **Failed**.
290
+
291
+
It only lists deployments that have been run through the API.
289
292
290
293
The API allows you to filter and limit the number of returned deployments using query parameters:
291
294
@@ -327,6 +330,7 @@ The response from this API call will return an object containing a list of deplo
0 commit comments