This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-docs.git
The following commit(s) were added to refs/heads/gh-pages by this push:
new 132aa9157 deploy: c4cd9adb7077282c1dd0998aac8c40fd3799377f
132aa9157 is described below
commit 132aa915711a0d39b93beb294878f21d9958cd34
Author: ricardozanini <[email protected]>
AuthorDate: Tue Dec 26 21:31:08 2023 +0000
deploy: c4cd9adb7077282c1dd0998aac8c40fd3799377f
---
search-index.js | 2 +-
.../cloud/operator/build-and-deploy-workflows.html | 31 ++++++++++++++++++++++
2 files changed, 32 insertions(+), 1 deletion(-)
diff --git a/search-index.js b/search-index.js
index 212ffeade..b3dfe0b0a 100644
--- a/search-index.js
+++ b/search-index.js
@@ -1 +1 @@
-antoraSearch.initSearch(lunr,
{"index":{"version":"2.3.9","fields":["title","name","text","component"],"fieldVectors":[["title/1-1",[0,43.284,1,26.597]],["name/1-1",[]],["text/1-1",[]],["component/1-1",[]],["title/1-2",[2,44.204,3,47.486]],["name/1-2",[]],["text/1-2",[]],["component/1-2",[]],["title/1-3",[4,34.011]],["name/1-3",[]],["text/1-3",[]],["component/1-3",[]],["title/1-4",[5,17.617,6,34.349]],["name/1-4",[]],["text/1-4",[]],["component/1-4",[]],["title/1-5",[6,34.349,7,25.152]],
[...]
\ No newline at end of file
+antoraSearch.initSearch(lunr,
{"index":{"version":"2.3.9","fields":["title","name","text","component"],"fieldVectors":[["title/1-1",[0,43.284,1,26.597]],["name/1-1",[]],["text/1-1",[]],["component/1-1",[]],["title/1-2",[2,44.204,3,47.486]],["name/1-2",[]],["text/1-2",[]],["component/1-2",[]],["title/1-3",[4,34.011]],["name/1-3",[]],["text/1-3",[]],["component/1-3",[]],["title/1-4",[5,17.617,6,34.349]],["name/1-4",[]],["text/1-4",[]],["component/1-4",[]],["title/1-5",[6,34.349,7,25.152]],
[...]
\ No newline at end of file
diff --git
a/serverlessworkflow/main/cloud/operator/build-and-deploy-workflows.html
b/serverlessworkflow/main/cloud/operator/build-and-deploy-workflows.html
index 9271c94ac..5419d525d 100644
--- a/serverlessworkflow/main/cloud/operator/build-and-deploy-workflows.html
+++ b/serverlessworkflow/main/cloud/operator/build-and-deploy-workflows.html
@@ -1293,6 +1293,37 @@ GREETING_SVC=$(oc get route/greeting
--template='{{.spec.host}}')</code></pre>
</div>
</div>
<div class="sect1">
+<h2 id="_restarting_a_build"><a class="anchor"
href="#_restarting_a_build"></a>Restarting a build</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p>If you require to restart the build for some reason, you can add or edit
the annotation <code>sonataflow.org/restartBuild: true</code> in the
<code>SonataFlowBuild</code> instance.</p>
+</div>
+<div class="paragraph">
+<p>For example:</p>
+</div>
+<div class="listingblock">
+<div class="title">Example of a SonataFlowBuild marked to restart</div>
+<div class="content">
+<pre class="highlightjs highlight"><code class="language-json hljs"
data-lang="json">apiVersion: sonataflow.org/v1alpha08
+kind: SonataFlowBuild
+metadata:
+ name: greeting
+ annotations:
+ sonataflow.org/restartBuild: true</code></pre>
+</div>
+</div>
+<div class="paragraph">
+<p>After editing the resource, the operator will start a new build of the
workflow. Once this is finished, the workflow will be notified and updated
accordingly.</p>
+</div>
+<div class="paragraph">
+<p>If the build fails, but the workflow has a working deployment, the operator
won’t rollout a new deployment.</p>
+</div>
+<div class="paragraph">
+<p>Ideally you should use this feature if there’s a problem with your
workflow or the initial build revision.</p>
+</div>
+</div>
+</div>
+<div class="sect1">
<h2 id="_additional_resources"><a class="anchor"
href="#_additional_resources"></a>Additional resources</h2>
<div class="sectionbody">
<div class="ulist">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]