Skip to content

Releases: mcuadros/ofelia

v0.3.11

06 Apr 16:05
d66bea0
Compare
Choose a tag to compare

What's Changed

  • Configure Renovate bot
  • chore(deps): update golang docker tag to v1.22 by @github-actions in #261
  • fix(deps): update module github.com/docker/docker to v25.0.4+incompatible by @github-actions in #260
  • fix(deps): update module github.com/fsouza/go-dockerclient to v1.11.0 by @github-actions in #262
  • Bump github.com/docker/docker from 25.0.4+incompatible to 25.0.5+incompatible by @dependabot in #265
  • fix(deps): update module github.com/docker/docker to v26 by @github-actions in #266

New Contributors

  • @github-actions made their first contribution in #261

Full Changelog: v0.3.10...v0.3.11

v0.3.10

18 Feb 19:57
Compare
Choose a tag to compare
  • Bumped go.mod dependency
  • Enabled docker-labels filter test
  • Improved job registration error logs
  • Refactored how docker labels are set
  • Setup GoReleaser to publish binaries

Full Changelog: v0.3.9...v0.3.10

v0.3.9

28 Jan 20:01
Compare
Choose a tag to compare

What's Changed

  • Add option in job-run config to set the container hostname by @jsixface in #240
  • Add cli flag for docker container filtering by @lacek in #212

New Contributors

Full Changelog: v0.3.8...v0.3.9

v0.3.8

27 Dec 16:55
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.3.7...v3.0.8

v0.3.7

01 Jan 17:05
Compare
Choose a tag to compare
  • Update Docker Go version to 1.19.4
  • Update Docker Alpine version to 3.17.0
  • Update Dependencies to latest versions
  • Add new configuration smtp-tls-skip-verify - #194

v0.3.6

02 Oct 18:15
Compare
Choose a tag to compare

Added way to provide environment variables for the job-run, job-exec and job-local.

See jobs.md for documentation.

Examples of usage new of new feature:

  • docker-compose.yml:

    version: "3"
    services:
    ofelia:
      image: mcuadros/ofelia:002a481
      depends_on:
        - alpine
      command: daemon --docker
      volumes:
        - /var/run/docker.sock:/var/run/docker.sock:ro
      environment:
        DOCKER: COMPOSE
      labels:
        ofelia.job-local.test1.schedule: "@every 5s"
        ofelia.job-local.test1.command: "env"
        ofelia.job-local.test1.environment: '["JOB=LOCAL", "TEST=1"]'
    
        ofelia.job-run.test2.command: "env"
        ofelia.job-run.test2.schedule: "@every 5s"
        ofelia.job-run.test2.image: "alpine"
        ofelia.job-run.test2.environment: '["JOB=RUN", "TEST=2"]'
    
    alpine:
      image: alpine
      command: tail -f /dev/null
      labels:
        ofelia.enabled: "true"
        ofelia.job-exec.test3.schedule: "@every 5s"
        ofelia.job-exec.test3.command: "env"
        ofelia.job-exec.test3.environment: '["JOB=EXEC", "TEST=3"]'
  • config.ini:

     [job-run "test1"]
     schedule = @every 5s
     image = alpine
     name = test1
     command = env
     environment = JOB=RUN
     environment = TEST=1
    
     [job-local "test2"]
     schedule = @every 5s
     command = env
     environment = JOB=LOCAL
     environment = TEST=2
    
     [job-exec "test3"]
     schedule = @every 5s
     container = some_container_that_must_be_running
     command = env
     environment = TEST=3
     environment = JOB=EXEC
    

v0.3.5

02 Oct 14:57
Compare
Choose a tag to compare

Fixes #150 :

  • Update Docker Go version to 1.17.1
  • Update Docker Alpine version to 3.14.2
  • Update Dependencies to latest versions

v0.3.4

03 Feb 20:41
Compare
Choose a tag to compare

Issues fixed:

#136 - add datetime to the log entries 2021-02-03T20:38:00.602Z scheduler.go:34 ▶ NOTICE New job registered...
#141 - fix issue, when logs were not fetched if job-run failed

v0.3.3

02 Dec 18:05
Compare
Choose a tag to compare

Fixes:

  • #135 - false in config was ignored for some parameters
  • #130 - High memory consumption / memory leak fix by removing storing of jobs history
  • #132 - set "since" parameter for container logs
  • #128 - stdout/stderr can be either sent via mail or stored as file

v0.3.2

09 Oct 19:43
Compare
Choose a tag to compare

Improvements for fetching private images and custom registries:

  • Support more types of image names #119
  • try to fetch auth for default docker registry URLs 76fa41b