Skip to content

Commit

Permalink
Merge pull request #158 from biomage-ltd/api-name-prod
Browse files Browse the repository at this point in the history
fixed wrong api app name in config
  • Loading branch information
kafkasl authored Sep 14, 2021
2 parents fa88199 + a2e5c54 commit ddaec6d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pipeline-runner/init.R
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ load_config <- function(development_aws_server) {
)
)

# temporary fix, in the future it would be good to unify the api app names for production / staging
if(config$cluster_env == 'production') {
config$api_url <- paste0("http://api.api-",sandbox,".svc.cluster.local:3000"),
}

config[["aws_config"]] <- list(region = config$aws_region)

# running in linux needs the IP of the host to work. If it is set as an environment variable (by makefile) honor it instead of the
Expand Down

0 comments on commit ddaec6d

Please sign in to comment.