Closed arthurgousset closed 3 months ago
Starting work on this now. My estimates account for the fact that we're at a team offsite this week, and I won't have continuous undistracted time.
Asked the DevOpsRE team for help to define the variable on Slack:
Hi devopsre :wave: Could someone with Github admin permissions for the celo-org (GitHub org) please help me out. I'd like to define a "variable" at the celo-org level that can be read across workflows in celo-org/celo-monorepo and celo-org/developer-tooling. More context in this issue: Fix Foundry version across GitHub workflows using an env variable#11032
Defining variables can be done in a few simple clicks (see screenshot): Creating configuration variables for an organization
- Variable name:
SUPPORTED_FOUNDRY_VERSION
- Variable value:
nightly-f625d0fa7c51e65b4bf1e8f7931cd1c6e2e285e9
I'm planning to read the variable in workflows like this:
env: # Foundry version set at celo-org (GitHub organisation) level, for consistency across workflows. FOUNDRY_VERSION: ${{ vars.SUPPORTED_FOUNDRY_VERSION }}
Let me know if you have any concerns, or there is a better way to do this. Thanks!
Discussed in https://github.com/celo-org/celo-monorepo/discussions/11027