Skip to content

chore: validate env version for task run --generate-cmd#3987

Merged
mergify[bot] merged 15 commits intoaws:mainlinefrom
huanjani:version
Sep 22, 2022
Merged

chore: validate env version for task run --generate-cmd#3987
mergify[bot] merged 15 commits intoaws:mainlinefrom
huanjani:version

Conversation

@huanjani
Copy link
Copy Markdown
Contributor

@huanjani huanjani commented Sep 9, 2022

Follow-up to #3942. Fails earlier if user's env version doesn't support the --generate-cmd flag for the task run command due to missing permissions.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.

@huanjani huanjani requested a review from a team as a code owner September 9, 2022 23:22
@huanjani huanjani requested review from dannyrandall and removed request for a team September 9, 2022 23:22
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Sep 9, 2022

Codecov Report

Merging #3987 (160cb2b) into mainline (cb07b65) will decrease coverage by 0.01%.
The diff coverage is 56.66%.

@@             Coverage Diff              @@
##           mainline    #3987      +/-   ##
============================================
- Coverage     68.65%   68.64%   -0.02%     
============================================
  Files           248      248              
  Lines         35067    35097      +30     
  Branches        264      264              
============================================
+ Hits          24076    24093      +17     
- Misses         9801     9813      +12     
- Partials       1190     1191       +1     
Impacted Files Coverage Δ
internal/pkg/cli/task_run.go 53.34% <56.66%> (+0.11%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Comment thread internal/pkg/cli/task_run.go Outdated
Copy link
Copy Markdown
Contributor

@Lou1415926 Lou1415926 left a comment

Choose a reason for hiding this comment

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

Overall LGTM! Just two small questions!

Comment thread internal/pkg/cli/task_run.go Outdated
Comment thread internal/pkg/cli/task_run.go Outdated
Comment thread internal/pkg/cli/task_run.go Outdated
Copy link
Copy Markdown
Contributor

@Lou1415926 Lou1415926 left a comment

Choose a reason for hiding this comment

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

:shipit: !

Comment thread internal/pkg/cli/task_run.go Outdated
Comment thread internal/pkg/cli/task_run.go
Comment thread internal/pkg/cli/task_run.go Outdated
@mergify mergify Bot merged commit 10ef3f8 into aws:mainline Sep 22, 2022
@huanjani huanjani deleted the version branch October 25, 2022 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants