fix myorg assistant

This commit is contained in:
Roger Oriol
2026-07-11 19:22:57 +02:00
parent 04b736287b
commit a5b90994a4
7 changed files with 12 additions and 6 deletions

View File

@@ -30,7 +30,8 @@ spec:
imagePullPolicy: Always
command:
- python
- run_job.py
- -c
- "from src.scheduler.jobs import run_job; import sys; run_job(sys.argv[1])"
- deadline-checker
env:
- name: MYORG_REPO_PATH

View File

@@ -30,7 +30,8 @@ spec:
imagePullPolicy: Always
command:
- python
- run_job.py
- -c
- "from src.scheduler.jobs import run_job; import sys; run_job(sys.argv[1])"
- evening-summary
env:
- name: MYORG_REPO_PATH

View File

@@ -30,7 +30,8 @@ spec:
imagePullPolicy: Always
command:
- python
- run_job.py
- -c
- "from src.scheduler.jobs import run_job; import sys; run_job(sys.argv[1])"
- git-sync
env:
- name: MYORG_REPO_PATH

View File

@@ -30,7 +30,8 @@ spec:
imagePullPolicy: Always
command:
- python
- run_job.py
- -c
- "from src.scheduler.jobs import run_job; import sys; run_job(sys.argv[1])"
- morning-briefing
env:
# From ConfigMap

View File

@@ -30,7 +30,8 @@ spec:
imagePullPolicy: Always
command:
- python
- run_job.py
- -c
- "from src.scheduler.jobs import run_job; import sys; run_job(sys.argv[1])"
- waiting-followup
env:
- name: MYORG_REPO_PATH

View File

@@ -34,7 +34,7 @@ spec:
git config user.name "${GIT_USERNAME}"
git config user.email "${GIT_USERNAME}@rogi.casa"
git config credential.helper store
echo "https://${GIT_USERNAME}:${GIT_TOKEN}@gitea.rogi.casa" > ~/.git-credentials
echo "https://${GIT_USERNAME}:${GIT_TOKEN}@git.rogi.casa" > ~/.git-credentials
else
echo "Repository already exists, pulling latest changes..."
cd /data/myorg