Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Override environment.yaml name

See original GitHub issue

Is there a way to override the name of the environment created from an environment.yaml file (a.k.a. the --name flag)?

BTW, thanks for your work, it saved me a lot fo time!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

JulioVcommented, Dec 20, 2020

@jaimergp, thanks, that’s what I thought. For anyone seeing this in the future I did

- run: "sed -i 's/name:.*/name: my_new_name/g' environment.yml"

Quick edit: note the white space between name: and my_new_name, it’s mandatory. Because of this we need to quote the whole command, otherwise, it’s invalid YAML syntax

goanpecacommented, Dec 24, 2020

Thanks @bollwyvl closing for now

Read more comments on GitHub >

github_iconTop Results From Across the Web

Override `environment.yml` configuration with command like ...
yml , ignoring any dependencies defined afterwards in the command line. It would be great to be able to override dependencies with these...
Read more >
Managing environments - Conda
Create the environment from the environment.yml file: conda env create -f environment.yml. The first line of the yml file sets the new environment's...
Read more >
Override Values YAML Files - Docs
In an Environment, in Service Configuration Overrides, click Add Configuration Overrides. · In Service(s), click All Services or the name ...
Read more >
How to use a YAML file or environment variables to populate ...
This guide will explain how to use a YAML file and/or environment variables to populate credentials (or any value) in your great_expectations.yml project...
Read more >
Environmentalize your YAML configuration
The YAML configuration format replaces the environmentalization done via Policy Studio (using the Earth icon). The conversion process will look after the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found