question-mark
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.

Add tests and documentation of support for `env` key for `schedules`

See original GitHub issue

Related to:

schedules:
- name: gitlab
  interval: '@daily'
  job: gitlab
  env:
    DBT_MODELS: +gitlab+

Precedence discussion in https://github.com/meltano/meltano/issues/6386#issuecomment-1179138398

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
cjohnhansoncommented, Jul 12, 2022

@tayloramurphy I think it’s reasonable to include fixing the behavior in the scope of this issue. With adding testing for other levels of env support we were starting from scratch, whereas here it’s more a matter of adding test cases than writing an entire new test suite from the ground up.

1reaction
tayloramurphycommented, Jul 11, 2022

@kgpayne @cjohnhanson you’ve both had a look at the environment code:

  • Can you confirm that env is a valid top-level key for schedules?
  • Can you confirm that its inheritance is in line with what we’re discussing in https://github.com/meltano/meltano/issues/6386 ?
  • Can you confirm if this is indeed tested or not currently?

Note I’m adding this to Iteration 8 because not having this documented (and possibly not tested) is a big risk for users.

Edit: Seems like it is documented in https://docs.meltano.com/guide/integration#pipeline-specific-configuration but that’s a weird place for the only mention of it to be!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating Environments for Tests | Sauce Labs Documentation
Select Add item. Enter a name for your environment, then click Confirm. Click Create variable, enter Key and Value pairs, then click Confirm ......
Read more >
Introduction to environment variables - CircleCI
Introduction. Use environment variables to set up various configuration options, and keep your set-up secure with secrets, private keys, and contexts.
Read more >
Test Environment for Software Testing - Guru99
A testing environment is a setup of software and hardware for the testing teams to execute test cases. In other words, it supports...
Read more >
TEST PLAN: What is, How to Create (with Example) - Guru99
1. How can you test a product without any information about it? The answer is Impossible. You must learn a product thoroughly before...
Read more >
How to create a test plan for software testing - WeAreDevelopers
A test plan is a document that sets out the scope, approach, and schedule of intended testing activities. The test plan may also...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found