flox / floxdocs

Curated Flox Documentation
https://flox.dev/docs/
1 stars 0 forks source link

Describe how to use CI to automatically update environments #69

Open zmitchell opened 6 days ago

zmitchell commented 6 days ago

Ping @garbas to describe his workflow idea.

garbas commented 6 days ago

Example at work is at flox/floxenvs.

  1. There should be an existing "CI" workflow which activates an environment and runs some "tests" that verify that things work as expected. You know, the usual stuff you do in CI.
  2. In addition to "CI" workflow there should be and "Flox Upgrade" workflow which runs flox upgrade and opens a PR, which in triggers above mentioned CI workflow. (eg. https://github.com/flox/floxenvs/blob/main/.github/workflows/update.yml)