Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Include docker image environment variables back in #235

Merged
merged 1 commit into from Feb 26, 2019

Conversation

sargun
Copy link
Contributor

@sargun sargun commented Feb 26, 2019

  • Factor out environment variable file generation code
  • Change the way that docker image env variables are added
    so they don't squash over normal environment variables

@coveralls
Copy link

coveralls commented Feb 26, 2019

Pull Request Test Coverage Report for Build 3283

  • 13 of 18 (72.22%) changed or added relevant lines in 2 files are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.07%) to 25.846%

Changes Missing Coverage Covered Lines Changed/Added Lines %
executor/runtime/docker/docker_env.go 13 15 86.67%
executor/runtime/docker/docker.go 0 3 0.0%
Files with Coverage Reduction New Missed Lines %
executor/runtime/docker/docker.go 2 6.18%
Totals Coverage Status
Change from base Build 3258: 0.07%
Covered Lines: 2995
Relevant Lines: 11588

💛 - Coveralls

@codecov
Copy link

codecov bot commented Feb 26, 2019

Codecov Report

Merging #235 into master will increase coverage by 0.03%.
The diff coverage is 69.23%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #235      +/-   ##
==========================================
+ Coverage   35.81%   35.84%   +0.03%     
==========================================
  Files          71       72       +1     
  Lines        9064     9067       +3     
==========================================
+ Hits         3246     3250       +4     
  Misses       5412     5412              
+ Partials      406      405       -1
Impacted Files Coverage Δ
executor/runtime/docker/seccomp/seccomp.go 28.81% <ø> (ø) ⬆️
executor/runtime/docker/docker.go 55.15% <0%> (-0.01%) ⬇️
executor/runtime/docker/docker_env.go 75% <75%> (ø)

* Factor out environment variable file generation code
* Change the way that docker image env variables are added
  so they don't squash over normal environment variables

P.S. Golang has map traversals that are non-deterministic
at code authoring time. These tests might break, if that happens
because the traversal order might change. If this happens, good
luck.
@sargun sargun merged commit bdf9a2f into master Feb 26, 2019
@sargun sargun deleted the dont-crush-peoples-env branch February 26, 2019 16:20
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.

None yet

3 participants