mirror of
https://github.com/moghtech/komodo.git
synced 2026-07-16 01:59:56 -05:00
[GH-ISSUE #927] [Bug] Repo "On Clone"/"On Pull" scripts not usefull for Sync/Deploy Stack #23974
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @joecksma on GitHub (Oct 19, 2025).
Original GitHub issue: https://github.com/moghtech/komodo/issues/927
Hello,
I want to use Repos scripts to use sops to decrypt my env files. This works as expected. But the decrypted files are not available to "Run Sync" and "Deploy Stack" Executions (as they seem to use the /repo-cache).
Is it intended that the scripts only edit the periphery copy and not the /repo-cache?
Example of an Error:
The file exists, but only under /data/repos/repo/services/server/it-tools/compose.env
My config
compose.yaml
komodo-config.toml
Thank you in advance for your help.
@jpod20 commented on GitHub (Oct 20, 2025):
I was running into the same issue but I think I discovered the solution. In the new compose files it no longer lists the repo-cache as a volume to be mounted. I removed it from my set up and I no longer receive that error.
https://github.com/moghtech/komodo/blob/main/compose/mongo.compose.yaml
@joecksma commented on GitHub (Oct 23, 2025):
I removed the repo cache from the volume mapping, but the behaviour is unchanged.
The Stack-UI reads the file from
/repo-cache/github.com/gitaccount-repo/main/latest/services/server/it-tools/compose.env(core)while the repo is executing the script on
${KOMODO_BASE_PATH}/data/repos/homelab(periphery)@Rustymage commented on GitHub (Oct 30, 2025):
I have this issue too.