-
Notifications
You must be signed in to change notification settings - Fork 159
fix missing variable when building the image on cloudbuild #761
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
Conversation
on the master branch, the cloudbuild is failing. I will debug and fix in a followup PR |
when running the cloudbuilld
|
ahhh!! I will fix it in a follow up if that is fine |
when running the cloudbuild i see this error
it is in the |
for reference: kubernetes/release#1983 |
/assign @sarandia Ziyuan, can you look at the arm issue? |
@mattcary: GitHub didn't allow me to assign the following users: sarandia. Note that only kubernetes-sigs members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@mattcary i'm checking and i have a running cloudbuild now :) |
The commit in PR #751 should resolve this. Did it work? |
@sarandia not yet, working in a fix, running cloudbuild now to validate, will push soon |
now it is failing in the last stage
I will debug that and try to fix it tomorrow. |
build that in my account and now it works!
|
previous run
/test pull-gcp-compute-persistent-disk-csi-driver-kubernetes-integration |
looks like the same flaky error as other PRs that I was following /test pull-gcp-compute-persistent-disk-csi-driver-kubernetes-integration |
That /sbin/rm thing is weird... Thx for updating the debian base. /lgtm |
WORKDIR /go/src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver | ||
ADD . . | ||
RUN make gce-pd-driver | ||
# RUN mkdir -p bin \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this line and the following?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh my bad! :(
will remove that in a follow up pr
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cpanato, jingxu97 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
STAGINGVERSION=${REV} | ||
endif | ||
|
||
GCFLAGS="" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GCFLAGS was removed too, is this ok?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They aren't used anymore, but this will allow them to be set from an env. That was my understanding at any rate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the value of GCFLAGS was set conditionally based on this flag before:
GCFLAGS=""
ifdef GCE_PD_CSI_DEBUG
GCFLAGS="all=-N -l"
endif
GCE_PD_CSI_DEBUG
is set in Dockerfile.debug
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ohh, my fault! i might remove that by mistake :(
Oh, sorry, I missed that. My bad, I'll put it back in. |
What type of PR is this?
/kind bug
What this PR does / why we need it:
When we built the image
k8s.gcr.io/cloud-provider-gcp/gcp-compute-persistent-disk-csi-driver:v1.2.1
we missed one parameter that needs to be set during the compilation processThis PR fix that, making it similar to how we build the image for windows.
built on my gcp account and now we can run the image without the error we saw before
/assign @msau42 @mattcary @saikat-royc
PR for release-1.2: #760
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: