AlexsLemonade / AlexsLemonade/refinebio

Add environment variable for gathering and surveying per stage

Open
#3,090 0 comments 0 reactions 1 assignee Assigned to @davidsmejia View on GitHub
Dominant language
Python
Stars
135
Forks
21
PR merge metrics
No merged PRs in 30d

Description

### Context

We don't want both prod and staging to process the same amount of experiment accessions per cycle. We can fix this by making envvars for each stage and then define settings from those values.

### Problem or idea

- add envars to terraform - variable.tf / environment.tpl
- add values to environment files - environment/stage.tfvars
- update cron job to utilize envars
- add setting that reads from envars
- update `gather_weekly_accessions` to use the new setting
- update foreman + api to use setting

If you need an example you can look for any setting that is defined by an env var that is not initially defined in github secrets.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.