Skip to content

Releases: mcuadros/ofelia

v0.3.13

06 Jul 19:46
Compare
Choose a tag to compare

What's Changed

Security fix

  • Do not marshal SMPT User/Password and SlackWebhookURL in JSON file by @taraspos in #289

Dependency updates

  • chore(deps): update dependency go to v1.22.4 by @github-actions in #278
  • fix(deps): update module github.com/docker/docker to v26.1.4+incompatible by @github-actions in #279
  • fix(deps): update module github.com/jessevdk/go-flags to v1.6.1 by @github-actions in #281
  • fix(deps): update module github.com/docker/docker to v27 by @github-actions in #282
  • fix(deps): update module github.com/docker/docker to v27.0.3+incompatible by @github-actions in #286
  • chore(deps): update dependency go to v1.22.5 by @github-actions in #287
  • Update dependencies and Github Actions in 6394070

Full Changelog: v0.3.12...v0.3.13

v0.3.12

26 May 13:06
Compare
Choose a tag to compare

What's Changed

  • Update jobs.md by @scls19fr in #271
  • chore(deps): update dependency go to v1.22.2 by @github-actions in #272
  • Bump github.com/docker/docker from 26.0.0+incompatible to 26.0.2+incompatible by @dependabot in #273
  • chore(deps): update alpine docker tag to v3.20 by @github-actions in #276
  • chore(deps): update dependency go to v1.22.3 by @github-actions in #274
  • fix(deps): update module github.com/docker/docker to v26.1.3+incompatible by @github-actions in #268
  • chore(deps): update renovatebot/github-action action to v40.1.11 by @github-actions in #275

New Contributors

  • @scls19fr made their first contribution in #271

Full Changelog: v0.3.11...v0.3.12

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