-
-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Hi.
I just installed doco-cd this weekend, so maybe I am missing something completely. It seems that doco-cd does not pull (or fetch) updates from GitHub anymore since #980.
My setup is currently using polling.
According to the logs here the commit SHAs are identical, although on GitHub there's a newer version pushed already. Additionally, checkout is skipped here.
I downgraded to v0.63.0 and everything works as I was expecting.
Steps to reproduce the issue
1. Use latest release 0.67.0
2. Push changes to repo
3. Wait for polling interval
4. See in the logs "skipping checkout, already at correct reference" and "comparing commits" with the same old commit sha, although a newer commit was pushed.Operating System
Linux
Docker Compose File
name: doco-cd
services:
app:
image: ghcr.io/kimdre/doco-cd:0.67.0 # updates are not recognized
#image: ghcr.io/kimdre/doco-cd:0.63.0 # updates are successfully recognized
restart: unless-stopped
depends_on:
- docker-socket-proxy
ports:
- "80:80" # Webhook endpoint
- "9120:9120" # Prometheus metrics
# For all available settings, see https://github.com/kimdre/doco-cd/wiki/App-Settings
environment:
- LOG_LEVEL=debug
- DOCKER_QUIET_DEPLOY=false
- DOCKER_SWARM_FEATURES=false
- GIT_ACCESS_TOKEN_FILE=/run/secrets/git_access_token
- WEBHOOK_SECRET_FILE=/run/secrets/webhook_secret
- SOPS_AGE_KEY_FILE=/run/secrets/sops_age_key
- POLL_CONFIG_FILE=/poll.yml
- DOCKER_HOST=tcp://docker-socket-proxy:2375
env_file:
- ../global.env
secrets:
- git_access_token
- webhook_secret
- sops_age_key
volumes:
- ${VOLUMES_BASE_DIR:-/opt/homelab}/doco-cd/data:/data
configs:
- source: poll.yml
target: /poll.yml
networks:
- internal
healthcheck:
test: ["CMD", "/doco-cd", "healthcheck"]
start_period: 15s
interval: 30s
timeout: 5s
retries: 3
docker-socket-proxy:
image: ghcr.io/tecnativa/docker-socket-proxy:latest
restart: unless-stopped
environment:
- LOG_LEVEL=notice
- POST=1
- VERSION=1
- INFO=1
- CONTAINERS=1
- IMAGES=1
- NETWORKS=1
- VOLUMES=1
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- internal
security_opt:
- no-new-privileges:true
healthcheck:
test: wget --spider http://localhost:2375/version || exit 1
interval: 60s
retries: 3
start_period: 5s
timeout: 5s
secrets:
git_access_token:
file: git_access_token.secret.txt
webhook_secret:
file: webhook.secret.txt
sops_age_key:
file: sops_age_key.secret.txt
configs:
poll.yml:
file: poll.yml
networks:
internal:
driver: bridgeDeployment Config
name: homelab
reference: refs/heads/main
working_dir: apps/
env_files:
# ./global.env
- ../../global.env
auto_discover: true
auto_discover_opts:
depth: 1
delete: trueLogs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working