Include runtime dependencies for taggers in gcr.io/k8s-skaffold/skaffold#1987
Conversation
gcr.io/k8s-skaffold/skaffoldgcr.io/k8s-skaffold/skaffold
gcr.io/k8s-skaffold/skaffoldgcr.io/k8s-skaffold/skaffold
Codecov Report
@@ Coverage Diff @@
## master #1987 +/- ##
==========================================
+ Coverage 55.48% 55.49% +0.01%
==========================================
Files 173 173
Lines 7510 7512 +2
==========================================
+ Hits 4167 4169 +2
Misses 2952 2952
Partials 391 391
Continue to review full report at Codecov.
|
|
can you please rebase this to master? the kokoro failure is fixed now there. Thank you! |
deploy/skaffold/Dockerfile
Outdated
| FROM gcr.io/gcp-runtimes/ubuntu_16_0_4 as runtime_deps | ||
|
|
||
| # needed for dateTime tagger | ||
| COPY --from=golang:1.11 /usr/local/go/lib/time/zoneinfo.zip /usr/local/go/lib/time/zoneinfo.zip |
There was a problem hiding this comment.
hmmm...this smells a little bit for me...and not just me: golang/go#21881 (comment) - maybe we should try 4d63.com/tz ?
There was a problem hiding this comment.
Yes, absolutely! With 4d63.com/tz the dateTime tagger will also work on windows :)
Signed-off-by: Cornelius Weig <22861411+corneliusweig@users.noreply.github.com>
For the git tagger test, set up a dummy repo inside the testdata folder. Signed-off-by: Cornelius Weig <22861411+corneliusweig@users.noreply.github.com>
57ebf07 to
14ee49f
Compare
This ensures that te dateTime tagger works on windows when go is not installed. Signed-off-by: Cornelius Weig <22861411+corneliusweig@users.noreply.github.com>
|
@balopat PTAL. The first three commits were rebased as requested, the last one is new and adds |
|
@corneliusweig kokoro tests are failing: |
Git commits need a configured author. Signed-off-by: Cornelius Weig <22861411+corneliusweig@users.noreply.github.com>
|
...that was hard to find 😓 |
Also extend integration tests to assert on the expected image tags.
In addition, remove
helm-${HELM_VERSION}-linux-amd64.tar.gzfrom the skaffold image.Fixes #1979