File tree 2 files changed +10
-9
lines changed 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -96,30 +96,30 @@ To iterate on the development of the `sf-operator` you can either start the oper
96
96
```
97
97
98
98
then run the operator with the following command:
99
-
99
+
100
100
```sh
101
101
sf-operator --namespace sf operator
102
102
```
103
103
104
104
!!! note
105
105
The command does not return and wait for events to run the reconcile.
106
-
106
+
107
107
You can kill and restart this process every time you modify the code base
108
108
to see your changes applied to the deployed resources.
109
-
109
+
110
110
Any change on the applied `SofwareFactory`'s `CR` will re-trigger the reconcile.
111
111
112
112
=== "standalone mode"
113
113
114
114
Run the operator with the following command:
115
-
115
+
116
116
```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
118
118
```
119
-
119
+
120
120
!!! note
121
121
The command returns when the expected state is applied.
122
-
122
+
123
123
Each change to the `CR`, passed as parameter, will require a new run of the command to `reconcile` the change.
124
124
125
125
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ Then you can run the operator by providing the environment variable `ZUUL_LOCAL_
98
98
For instance (using the standalone mode) :
99
99
100
100
` ` `
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
102
102
` ` `
103
103
104
104
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
130
130
tar -xf /tmp/zuul-web.tar usr/local/lib/python3.11/site-packages/zuul/web/static
131
131
mv usr/local/lib/python3.11/site-packages/zuul/web/static static
132
132
rm -Rf usr
133
- ` ` `
133
+ ` ` `
134
+
You can’t perform that action at this time.
0 commit comments