CliMA / slurm-buildkite

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

Downstream testing #46

Open simonbyrne opened 1 year ago

simonbyrne commented 1 year ago

It looks like we could do this by having special labels on PRs, and using a trigger pipeline with conditionals. e.g. in ClimaCore-CI, we could have something like:

- trigger: ClimaAtmos-CI
  if: build.pull_request.labels includes "test-climaatmos"
  build:
    env:
      CLIMACORE_COMMIT: ${BUILDKITE_COMMIT}

then the ClimaAtmos-CI pipeline would need some mechanism to override the ClimaCore commit in all projects if CLIMACORE_COMMIT is set.