Skip to content

infinite redeployment... #788

@f18m

Description

@f18m

Description

Hi,
I think I'm running again into the same issue described in #577
I.e. in the last 8hours or so, doco-cd is re-deploying the same stack over and over.

Steps to reproduce the issue

I entered in this loop just a few hours ago with the following steps:

1. I added to my .doco-cd.yaml a new docker-compose stack; see below for the Docker Compose and Deployment Config
2. I committed a few times on the file "config.yml" referenced by the docker-compose
3. See logs of infinite redeployment cycle

Operating System

Linux

Docker Compose File

services:
  homer:
    image: b4bz/homer:v25.11.1
    volumes:
      #- /home/landing-page:/www/assets # Make sure your local config directory exists
      - ./config.yml:/www/assets/config.yml # Make sure your local config directory exists
    ports:
      - 8080:8080
    user: 1000:1000 # default
    environment:
      - INIT_ASSETS=1 # default, requires the config directory to be writable for the container user (see user option)
    restart: unless-stopped

Deployment Config

name: landing-page
working_dir: config_files/MASTERMIND/landing-page
compose_files:
  - docker-compose.yml

Logs

{"time":"2025-11-20T00:19:05.755316522+01:00","level":"info","msg":"polling repository","repository":"github.com/f18m/my-ha-setup","job_id":"019a9e6a-1d14-78e7-b916-0c8cc3d05034","trigger":
{"event":"poll","config":{"CloneUrl":"https://github.com/f18m/my-ha-setup.git","Reference":"main","Interval":60,"CustomTarget":"","RunOnce":false,"Deployments":[]}}}
{"time":"2025-11-20T00:19:15.412829889+01:00","level":"info","msg":"deploying stack","repository":"github.com/f18m/my-ha-setup","job_id":"019a9e6a-1d14-78e7-b916-0c8cc3d05034","stack":"landing-page","reference":"main","repository":"github.com/f18m/my-ha-setup","stack":"landing-page","forced":false}
{"time":"2025-11-20T00:19:20.413477324+01:00","level":"info","msg":"deployment in progress","repository":"github.com/f18m/my-ha-setup","job_id":"019a9e6a-1d14-78e7-b916-0c8cc3d05034","stack":"landing-page","reference":"main","repository":"github.com/f18m/my-ha-setup","stack":"landing-page"}
{"time":"2025-11-20T00:19:21.38162942+01:00","level":"info","msg":"job completed successfully","repository":"github.com/f18m/my-ha-setup","job_id":"019a9e6a-1d14-78e7-b916-0c8cc3d05034","elapsed_time":"15.633s","next_run":"2025-11-20T00:20:21+01:00"}
{"time":"2025-11-20T00:20:21.409677382+01:00","level":"info","msg":"polling repository","repository":"github.com/f18m/my-ha-setup","job_id":"019a9e6b-4496-7e78-b71f-5426da1421c1","trigger":{"event":"poll","config":{"CloneUrl":"https://github.com/f18m/my-ha-setup.git","Reference":"main","Interval":60,"CustomTarget":"","RunOnce":false,"Deployments":[]}}}
{"time":"2025-11-20T00:20:30.254152938+01:00","level":"info","msg":"job completed successfully","repository":"github.com/f18m/my-ha-setup","job_id":"019a9e6b-4496-7e78-b71f-5426da1421c1","elapsed_time":"8.855s","next_run":"2025-11-20T00:21:30+01:00"}
{"time":"2025-11-20T00:21:30.293130225+01:00","level":"info","msg":"polling repository","repository":"github.com/f18m/my-ha-setup","job_id":"019a9e6c-51a7-770f-8cf2-39cb5d1b8f25","trigger":{"event":"poll","config":{"CloneUrl":"https://github.com/f18m/my-ha-setup.git","Reference":"main","Interval":60,"CustomTarget":"","RunOnce":false,"Deployments":[]}}}
{"time":"2025-11-20T00:21:39.097116873+01:00","level":"info","msg":"job completed successfully","repository":"github.com/f18m/my-ha-setup","job_id":"019a9e6c-51a7-770f-8cf2-39cb5d1b8f25","elapsed_time":"8.817s","next_run":"2025-11-20T00:22:39+01:00"}
{"time":"2025-11-20T00:22:39.110812875+01:00","level":"info","msg":"polling repository","repository":"github.com/f18m/my-ha-setup","job_id":"019a9e6d-5e7a-7e71-a472-16acd810d088","trigger":{"event":"poll","config":{"CloneUrl":"https://github.com/f18m/my-ha-setup.git","Reference":"main","Interval":60,"CustomTarget":"","RunOnce":false,"Deployments":[]}}}
{"time":"2025-11-20T00:22:47.791500956+01:00","level":"info","msg":"job completed successfully","repository":"github.com/f18m/my-ha-setup","job_id":"019a9e6d-5e7a-7e71-a472-16acd810d088","elapsed_time":"8.692s","next_run":"2025-11-20T00:23:47+01:00"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions