Closed tduffield closed 2 years ago
Alright, fully rebased with unit and functional tests!
I'm not sure when I will be able to give it a full review and try it out, but I wanted to say that it looks pretty cool.
Thanks for working on it!
@dnephin I've rebased and updated my PR based on your most recent changes. I'd love to see if we can get this into the upstream so I can avoid having to maintain a fork. Thanks!
Hosted support optimizes the behavior of Dobi for a hosted CI environment such as Jenkins, TravisCI, CircleCI, or Buildkite.
Hosted Mode changes two key behaviors:
git
rather than the file modification time to determine when a file has last been modified..dobi
need to be stored outside of the workspace, theLastModified
value is kept inside the record, rather than being determined based on the file modification time.To enable Hosted Mode, simply set
DOBI_HOSTED
to any value. You can also setmeta.hosted
totrue
in your Dobi YAML.Closes #182.