Skip to main content

CLI: Ability to propagate multiple environment variables on group level

Currently we can deploy group variables by defining them in check group under environmentVariables parameter. Unfortunately this requires us to hardcode their values here or pass them one by one when deploying (e.g. $ VAR1=1; VAR2=2; VAR3=3; checkly deploy).

It would be great if Checkly CLI could automatically read .env file and propagate variables into its process. Or it could simply accept --env-file flag as checkly test does.

Is something like this possible please? It would make integrating into CI much more convenient.

1 comment

Log in to comment and vote

Comments1

  • Vaclav Nosek

    •

    Aug 25, 2023

    Also another way how we could do this would be via checkly env add by saving all variables once to Checkly - this sadly isn't currently available on checks group level.