modules icon indicating copy to clipboard operation
modules copied to clipboard

feat: allow execution ordering of coder modules

Open djarbz opened this issue 2 years ago • 4 comments
trafficstars

How can we specify the order in which modules run?

For example, I want the Personalize module to run after my Dotfiles have been fully cloned as I have a personalization script in my dotfiles.

djarbz avatar Oct 18 '23 02:10 djarbz

Both of these modules make use of coder_script resource. So that needs to support the order first.

matifali avatar Oct 18 '23 12:10 matifali

Ok, do I need to open an issue elsewhere?

djarbz avatar Oct 18 '23 19:10 djarbz

@djarbz A linked issue is created on the coder/coder repo. https://github.com/coder/coder/issues/10352

matifali avatar Oct 19 '23 21:10 matifali

@matifali could there at least be an option for an initial script to run from the main agent, like a init_script that can do some things ahead of any other scripts. Like copying some resources, that can later on be referenced?

michaelbrewer avatar May 23 '24 22:05 michaelbrewer