CliMA / slurm-buildkite

Run buildkite jobs on a slurm cluster
Other
8 stars 1 forks source link

add support for JULIA_VERSION environment variable #21

Closed simonbyrne closed 4 years ago

simonbyrne commented 4 years ago

This should make it easier to specify versions, as an env can be specified at the top level of the pipeline.yml to apply to all steps.

simonbyrne commented 4 years ago

i.e. you could write:

env:
  - JULIA_VERSION: 1.5.1
steps:
 ...
jakebolewski commented 4 years ago

LGTM. Do we want to eventually move to in tree module or env files? That way you can customize the environment without having the modify the runner.

simonbyrne commented 4 years ago

LGTM. Do we want to eventually move to in tree module or env files?

I think it makes sense to support in-tree versions via environment variables, not sure if we want to go all the way to customizing the environment.