@_xtribe/cli 1.0.21 → 1.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@_xtribe/cli",
3
- "version": "1.0.21",
3
+ "version": "1.0.23",
4
4
  "description": "TRIBE multi-agent development system - Zero to productive with one command",
5
5
  "main": "install-tribe.js",
6
6
  "bin": {
@@ -117,6 +117,8 @@ spec:
117
117
  labels:
118
118
  app: gitea
119
119
  spec:
120
+ securityContext:
121
+ fsGroup: 1000
120
122
  initContainers:
121
123
  - name: wait-for-db
122
124
  image: busybox:1.35
@@ -152,12 +154,13 @@ spec:
152
154
  SECRET_KEY = changeme
153
155
  EOF
154
156
 
155
- # Run migrations
156
- gitea migrate
157
-
158
- # Create admin user
159
- gitea admin user create --admin --username gitea_admin --password admin123 --email admin@example.com || true
157
+ # Fix permissions
158
+ chown -R 1000:1000 /data
160
159
  env:
160
+ - name: USER_UID
161
+ value: "1000"
162
+ - name: USER_GID
163
+ value: "1000"
161
164
  - name: GITEA_WORK_DIR
162
165
  value: /data
163
166
  - name: GITEA_CUSTOM
@@ -171,6 +174,10 @@ spec:
171
174
  ports:
172
175
  - containerPort: 3000
173
176
  env:
177
+ - name: USER_UID
178
+ value: "1000"
179
+ - name: USER_GID
180
+ value: "1000"
174
181
  - name: GITEA_WORK_DIR
175
182
  value: /data
176
183
  - name: GITEA_CUSTOM
@@ -184,6 +191,15 @@ spec:
184
191
  port: 3000
185
192
  initialDelaySeconds: 30
186
193
  periodSeconds: 10
194
+ lifecycle:
195
+ postStart:
196
+ exec:
197
+ command:
198
+ - /bin/bash
199
+ - -c
200
+ - |
201
+ sleep 30
202
+ su git -c 'gitea admin user create --admin --username gitea_admin --password admin123 --email admin@example.com' || true
187
203
  volumes:
188
204
  - name: gitea-data
189
205
  emptyDir: {}
@@ -224,7 +240,7 @@ spec:
224
240
  image: tribexal/tribe:latest-taskmaster
225
241
  imagePullPolicy: IfNotPresent
226
242
  ports:
227
- - containerPort: 5000
243
+ - containerPort: 8080
228
244
  env:
229
245
  - name: FLASK_ENV
230
246
  value: development
@@ -236,8 +252,8 @@ spec:
236
252
  value: will-be-set-by-init-job
237
253
  readinessProbe:
238
254
  httpGet:
239
- path: /
240
- port: 5000
255
+ path: /health
256
+ port: 8080
241
257
  initialDelaySeconds: 10
242
258
  periodSeconds: 5
243
259
  ---
@@ -251,6 +267,7 @@ spec:
251
267
  app: taskmaster
252
268
  ports:
253
269
  - port: 5000
270
+ targetPort: 8080
254
271
  ---
255
272
  # Bridge
256
273
  apiVersion: apps/v1