ofelia

A docker job scheduler (aka. crontab for docker)

MIT License

Stars
2.8K
Committers
36

Bot releases are visible (Hide)

ofelia - v0.3.13 Latest Release

Published by taraspos 4 months ago

What's Changed

Security fix

Dependency updates

Full Changelog: https://github.com/mcuadros/ofelia/compare/v0.3.12...v0.3.13

ofelia - v0.3.12

Published by taraspos 5 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/mcuadros/ofelia/compare/v0.3.11...v0.3.12

ofelia - v0.3.11

Published by taraspos 7 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/mcuadros/ofelia/compare/v0.3.10...v0.3.11

ofelia - v0.3.10-alpha

Published by github-actions[bot] 8 months ago

Changelog

  • 8905afa Enable labels filter test and improve logging
  • fe13b82 Bump go.mod dependencies
  • 551fac8 Setup goreleaser
  • 44efb21 Use docker/metadata-action for labels/tags
ofelia - v0.3.10

Published by taraspos 8 months ago

  • Bumped go.mod dependency
  • Enabled docker-labels filter test
  • Improved job registration error logs
  • Refactored how docker labels are set

Full Changelog: https://github.com/mcuadros/ofelia/compare/v0.3.9...v0.3.10

ofelia - v0.3.9

Published by taraspos 9 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/mcuadros/ofelia/compare/v0.3.8...v0.3.9

ofelia - v0.3.8

Published by Trane9991 10 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/mcuadros/ofelia/compare/v0.3.7...v3.0.8

ofelia - v0.3.7

Published by Trane9991 almost 2 years ago

  • 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
ofelia - v0.3.6

Published by Trane9991 about 3 years ago

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
    
    
ofelia - v0.3.5

Published by Trane9991 about 3 years ago

Fixes #150 :

  • Update Docker Go version to 1.17.1
  • Update Docker Alpine version to 3.14.2
  • Update Dependencies to latest versions
ofelia - v0.3.4

Published by Trane9991 over 3 years ago

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

ofelia - v0.3.3

Published by Trane9991 almost 4 years ago

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
ofelia - v0.3.2

Published by Trane9991 about 4 years ago

Improvements for fetching private images and custom registries:

ofelia - v0.3.1

Published by Trane9991 about 4 years ago

  • Add mounts support for the job-run #114
  • Fix retrieving of logs for the job-run #115
  • Update of the docker client and other dependencies #116
ofelia - v0.3.0

Published by mcuadros over 4 years ago

ofelia - v0.2.2

Published by mcuadros almost 8 years ago

Go 1.7

ofelia - v0.2.1

Published by mcuadros almost 9 years ago

  • Fix email middleware, was triggering when is empty
ofelia - v0.2.0

Published by mcuadros almost 9 years ago

  • Local jobs
ofelia - v0.1.0

Published by mcuadros almost 9 years ago

  • New job-run, running commands in a new container, pulling the image if required
  • The algo job section in config is now call job-exec
ofelia - v0.0.4

Published by mcuadros about 9 years ago

  • Global config section, having global middleware across all the jobs
  • Slack middleware
  • Proper global logging