Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: TestDebug/buildpacks by pinning go version #6463

Merged
merged 1 commit into from Aug 19, 2021
Merged

fix: TestDebug/buildpacks by pinning go version #6463

merged 1 commit into from Aug 19, 2021

Conversation

ahmetb
Copy link
Contributor

@ahmetb ahmetb commented Aug 19, 2021

Fixes: #6450
Related: GoogleContainerTools/container-debug-support#77

Description
This temporarily pins the Go version used by the buildpack-built image
used for testing in the "skaffold debug" integration test.

It does not fix the problem for the users (i.e. anyone using go1.17 with
skaffold debug will still hit this) but it helps us pass the tests on main
branch.

Follow-up Work
We need to find a solution to the user app <=> dlv version skew problem in
GoogleContainerTools/container-debug-support#77
and remove this version pinning (as the pinning itself eventually won't work
for being too old by the newer versions of dlv as we update it).

This temporarily pins the Go version used by the buildpack-built image
used for testing in the "skaffold debug" integration test.

It does not fix the problem for the users (i.e. anyone using go1.17 with
skaffold debug will still hit this) but it helps us pass the tests on main
branch.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
@ahmetb ahmetb requested a review from a team as a code owner August 19, 2021 17:44
@google-cla google-cla bot added the cla: yes label Aug 19, 2021
@ahmetb
Copy link
Contributor Author

ahmetb commented Aug 19, 2021

/cc @briandealwis

@codecov
Copy link

codecov bot commented Aug 19, 2021

Codecov Report

Merging #6463 (c7eae6f) into main (daba33e) will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #6463      +/-   ##
==========================================
+ Coverage   70.25%   70.27%   +0.01%     
==========================================
  Files         508      510       +2     
  Lines       22942    22976      +34     
==========================================
+ Hits        16119    16146      +27     
- Misses       5766     5773       +7     
  Partials     1057     1057              
Impacted Files Coverage Δ
pkg/skaffold/docker/parse.go 87.39% <0.00%> (-0.85%) ⬇️
pkg/skaffold/inspect/tests/list.go 100.00% <0.00%> (ø)
cmd/skaffold/app/cmd/inspect_tests.go 66.66% <0.00%> (ø)
pkg/skaffold/util/tar.go 65.51% <0.00%> (+2.29%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update daba33e...c7eae6f. Read the comment docs.

@gsquared94 gsquared94 merged commit 590d904 into GoogleContainerTools:main Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Flake] TestDebug/buildpacks is broken due to new Go version
3 participants