Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Add --override to env targets cli#865

Merged
underrun merged 1 commit intoksonnet:masterfrom
underrun:add_env_targets_overrides
Sep 19, 2018
Merged

Add --override to env targets cli#865
underrun merged 1 commit intoksonnet:masterfrom
underrun:add_env_targets_overrides

Conversation

@underrun
Copy link
Collaborator

To bring them in line with env set and env add operations on override environments.

closes #857

@underrun underrun requested a review from a team September 19, 2018 00:46
@coveralls
Copy link

coveralls commented Sep 19, 2018

Pull Request Test Coverage Report for Build 1345

  • 13 of 13 (100.0%) changed or added relevant lines in 4 files are covered.
  • 4 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.02%) to 70.485%

Files with Coverage Reduction New Missed Lines %
pkg/app/base_app.go 4 63.88%
Totals Coverage Status
Change from base Build 1339: -0.02%
Covered Lines: 12545
Relevant Lines: 17798

💛 - Coveralls

Copy link
Collaborator

@shomron shomron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One delete-a-comment, the rest looks good 👍.

spec.Targets = targets

isOverride := ba.IsEnvOverride(envName)
//isOverride := ba.IsEnvOverride(envName)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be removed.

@underrun underrun force-pushed the add_env_targets_overrides branch from cc0f930 to d268d2c Compare September 19, 2018 14:03
to bring them in line with env set and env add operations on override
environments. also fixes e2e tests for new behavior.

Signed-off-by: Derek Wilson <derek@heptio.com>
@underrun underrun force-pushed the add_env_targets_overrides branch from d268d2c to ede3eea Compare September 19, 2018 16:36
@underrun underrun merged commit 1c1fb81 into ksonnet:master Sep 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

unify environment override behavior to be entirely --override flag based

3 participants