Skip to content

Commit 8e5b396

Browse files
Microzuul CIGerrit Code Review
Microzuul CI
authored and
Gerrit Code Review
committed
Merge "Update doc sf-operator dev command (apply)"
2 parents 244a869 + b3b9945 commit 8e5b396

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

doc/developer/getting_started.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -96,30 +96,30 @@ To iterate on the development of the `sf-operator` you can either start the oper
9696
```
9797

9898
then run the operator with the following command:
99-
99+
100100
```sh
101101
sf-operator --namespace sf operator
102102
```
103103

104104
!!! note
105105
The command does not return and wait for events to run the reconcile.
106-
106+
107107
You can kill and restart this process every time you modify the code base
108108
to see your changes applied to the deployed resources.
109-
109+
110110
Any change on the applied `SofwareFactory`'s `CR` will re-trigger the reconcile.
111111

112112
=== "standalone mode"
113113

114114
Run the operator with the following command:
115-
115+
116116
```sh
117-
sf-operator --namespace sf apply --cr playbooks/files/sf.yaml
117+
sf-operator --namespace sf dev create standalone-sf --cr playbooks/files/sf.yaml
118118
```
119-
119+
120120
!!! note
121121
The command returns when the expected state is applied.
122-
122+
123123
Each change to the `CR`, passed as parameter, will require a new run of the command to `reconcile` the change.
124124

125125

doc/developer/images.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Then you can run the operator by providing the environment variable `ZUUL_LOCAL_
9898
For instance (using the standalone mode):
9999

100100
```
101-
ZUUL_LOCAL_SOURCE=/home/cloud-user/git/zuul/zuul sf-operator --namespace sf apply --cr playbooks/files/sf.yaml
101+
ZUUL_LOCAL_SOURCE=/home/cloud-user/git/zuul/zuul sf-operator --namespace sf dev create standalone-sf --cr playbooks/files/sf.yaml
102102
```
103103

104104
After any code change, you can restart the Zuul pods, for instance the zuul-scheduler pod:
@@ -130,4 +130,5 @@ podman export -o /tmp/zuul-web.tar zuul-web
130130
tar -xf /tmp/zuul-web.tar usr/local/lib/python3.11/site-packages/zuul/web/static
131131
mv usr/local/lib/python3.11/site-packages/zuul/web/static static
132132
rm -Rf usr
133-
```
133+
```
134+

0 commit comments

Comments
 (0)