checkly / public-roadmap

Checkly public roadmap. All planned features, updates and tweaks.
https://checklyhq.com
37 stars 7 forks source link

Add GROUP_BASE_URL as an environment variable for use in setup/teardown scripts #263

Closed rdelcampog closed 1 year ago

rdelcampog commented 1 year ago

💡 For general support requests and bug reports, please go to checklyhq.com/support

Is your feature request related to a problem? Please describe. Would be great that the {{GROUP_BASE_URL}} variable can be used in a Setup script by using "process.env.GROUP_BASE_URL" as for now, this variable can only be used in the URL field.

If you run a console.log(process.env) inside a setup script, you'll see that there is no GROUP_BASE_URL variable defined.

tnolet commented 1 year ago

@rdelcampog great idea. That variable started out as an "internal" thing but I see no reason why you should be able to have access to it.

tnolet commented 1 year ago

@ianaya89 should be a quick fix

zdumitru commented 1 year ago

Would be great to have the variable available.

tnolet commented 1 year ago

@ianaya89 could we add this?

ianaya89 commented 1 year ago

@nahuelon was taking care of this. We will catch up and get back.

nahuelon commented 1 year ago

@ianaya89 @tnolet , https://github.com/checkly/checkly-backend/pull/3659 is ready for review.

nahuelon commented 1 year ago

@rdelcampog , good morning. We just added two new environment variables: GROUP_BASE_URL and REQUEST_URL. You'll find them in our docs. Thanks for your feature request.

rdelcampog commented 1 year ago

@rdelcampog , good morning. We just added two new environment variables: GROUP_BASE_URL and REQUEST_URL. You'll find them in our docs. Thanks for your feature request.

Thank you!