Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation is missing for how to set environmentVariables for the deployed model #272

Open
mattk09 opened this issue Apr 30, 2020 · 1 comment

Comments

@mattk09
Copy link

@mattk09 mattk09 commented Apr 30, 2020

We are currently deploying to ACI using the devops extension and yml files based off of this repo. There is not an example of how to set environment variables to pickup from our scoring script. In the running container we can see this one set (also appears in a json config from this sample.
EXAMPLE_ENV_VAR | EXAMPLE_VALUE

But we have no idea how to set our own.

@j-so
Copy link
Contributor

@j-so j-so commented Apr 30, 2020

We recently switched to setting the dependency requirements in conda_dependency.yml and removing the environment json file. We should add the ability to set environment variables in the future.

For now, you can alter the environment you're using. You can update this python file to change restored_environment with your environment variables. (restored_environment.environment_variables).

It's not an ideal workaround - setting this as an enhancement that should be made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.