@@ -88,17 +88,17 @@ running Zuul pods.
88
88
Follow these steps on your MicroShift instance
89
89
90
90
` ` ` sh
91
- mkdir -p /home/centos /git && cd /home/centos /git
91
+ mkdir -p /home/cloud-user /git && cd /home/cloud-user /git
92
92
git clone https://opendev.org/zuul/zuul
93
93
# Clone at the current version provided by sf-operator or use master branch
94
- git checkout 9.3 .0
94
+ cd zuul; git checkout 10.1 .0
95
95
` ` `
96
96
97
97
Then you can run the operator by providing the environment variable `ZUUL_LOCAL_SOURCE=<full-path-to-zuul-source>`.
98
- For instance (using the standalone mode) :
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 dev create standalone-sf --cr playbooks/files/sf.yaml
101
+ ZUUL_LOCAL_SOURCE=/home/cloud-user/git/zuul/zuul go run ./main.go --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 :
@@ -110,6 +110,8 @@ kubectl rollout restart -n sf sts/zuul-merger
110
110
kubectl rollout restart -n sf deploy/zuul-web
111
111
` ` `
112
112
113
+ The Zuul web UI won't work, to re-enable it the [following section](#zuul-web).
114
+
113
115
# ## Zuul-web
114
116
115
117
zuul-web static assets are located under the Zuul source tree on the container image. The local copy, from
@@ -124,8 +126,8 @@ Either,
124
126
To Fetch the built asset from the zuul-web container image, run the following process from the microshift machine.
125
127
126
128
` ` ` sh
127
- cd /home/centos /git/zuul/zuul/web
128
- podman create --name zuul-web quay.io/software-factory/zuul-web:9.3 .0-1
129
+ cd /home/cloud-user /git/zuul/zuul/web
130
+ podman create --name zuul-web quay.io/software-factory/zuul-web:10.1 .0-1
129
131
podman export -o /tmp/zuul-web.tar zuul-web
130
132
tar -xf /tmp/zuul-web.tar usr/local/lib/python3.11/site-packages/zuul/web/static
131
133
mv usr/local/lib/python3.11/site-packages/zuul/web/static static
0 commit comments