Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ff2b8fc0f5 | |||
| af1e94d85d | |||
| df35cd0630 | |||
| 04b3a210fe | |||
| df30877b5e |
@@ -36,6 +36,9 @@ jobs:
|
||||
fetch-depth: 0
|
||||
token: ${{ secrets.AI_REVIEW_TOKEN }}
|
||||
|
||||
- name: Update submodules to remote
|
||||
run: git submodule update --remote --merge
|
||||
|
||||
- name: Run inline review
|
||||
uses: docker://nikitafilonov/ai-review:v0.64.0
|
||||
with:
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
[submodule "shared-prompts"]
|
||||
path = shared-prompts
|
||||
url = https://git.forteapps.net/Forte/ai-review-prompts.git
|
||||
branch = main
|
||||
|
||||
|
||||
@@ -77,6 +77,12 @@ spec:
|
||||
mc rm --recursive --force --older-than 30d "obj/${S3_BUCKET}/_pgbackups/" || true
|
||||
echo "backup retention pass complete"
|
||||
env:
|
||||
# mc writes its config under $MC_CONFIG_DIR; point it at the shared
|
||||
# emptyDir (writable by uid 65532 via fsGroup). Without this it tries
|
||||
# to mkdir /.mc on the read-only-to-nonroot root fs -> "mkdir /.mc:
|
||||
# permission denied" and every run fails before uploading.
|
||||
- name: MC_CONFIG_DIR
|
||||
value: "/work/.mc"
|
||||
- name: S3_ENDPOINT
|
||||
valueFrom:
|
||||
secretKeyRef: { name: forte-drop-secrets, key: S3_ENDPOINT }
|
||||
|
||||
@@ -233,6 +233,8 @@ spec:
|
||||
value: "{{ regex_replace_all('https?://[^/]*', request.object.metadata.annotations.\"policies.forteapps.io/auth-oidc-callback-path\", '') }}"
|
||||
- name: AUTH_OIDC_SCOPES
|
||||
value: "{{ request.object.metadata.annotations.\"policies.forteapps.io/auth-oidc-scopes\" || 'openid,profile,email' }}"
|
||||
- name: AUTH_OIDC_COOKIE_DOMAIN
|
||||
value: "{{ request.object.metadata.annotations.\"policies.forteapps.io/auth-oidc-cookie-domain\" || '' }}"
|
||||
- name: AUTH_PUBLIC_PATHS
|
||||
value: "{{ request.object.metadata.annotations.\"policies.forteapps.io/auth-public-paths\" || '/healthz' }}"
|
||||
- name: AUTH_OIDC_COOKIE_SECRET
|
||||
|
||||
Reference in New Issue
Block a user