azukiapp / azk

azk is a lightweight open source development environment orchestration tool. Instantly & safely run any environment on your local machine.
http://azk.io
Apache License 2.0
898 stars 63 forks source link

Can I use import in Azkfile and have multiple Azkfiles? #704

Open srghma opened 6 years ago

srghma commented 6 years ago

I came here from this issue https://github.com/moby/moby/issues/31101 looking for a better tool to orchestrate projects. My requirements is similar to Yajo requirements (project)

I want to have config files Azkfile.common.js, Azkfile.test.js and others. And be able to import configuration from common to others

something like this would work perfectly:

// Azkfile.common.js
export default {
  be: {....},
  redis: { .. },
}
// Azkfile.test.js
import common from ...

system({
  ...common,
  be: {
    extends : common.be,
    ....
  },
})