-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
refactor bootstrap image, bump images #8874
refactor bootstrap image, bump images #8874
Conversation
/area images |
I guess push and attach a build log from some job that uses the latest image? |
SGTM, will do that soonish
…On Sat, Jul 28, 2018 at 9:02 PM Sen Lu ***@***.***> wrote:
I guess push and attach a build log from some job that uses the latest
image?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8874 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA4Bq-I9lNrwfYHPkaIIHJQ_dKzPXeBQks5uLTPGgaJpZM4Vk1v0>
.
|
going to rebase onto #8883 and just make this a bump PR as well |
c458d1d
to
f0e0e9a
Compare
images/bootstrap/Dockerfile
Outdated
|
||
ENTRYPOINT ["/workspace/runner"] | ||
ENTRYPOINT ["/user/bin/entrypoint.sh"] |
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.
grrr this should be /usr/bin/entrypoint.sh
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.
fixed
images/bootstrap/runner.sh
Outdated
if [[ -d "./test-infra" ]]; then | ||
./test-infra/images/bootstrap/create_bazel_cache_rcs.sh | ||
else | ||
/usr/local/bin/create_bazel_cache_rcs.sh | bash |
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.
we have to pipe the output into bash? (we don't do this on line 28)
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.
oops, yeah, I initially thought about curl | bash the latest from test-infra but felt terrible about that and did this instead. forgot to drop the pipe to bash 🤦♂️
thanks!
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.
fixed
./test-infra/jenkins/bootstrap.py \ | ||
--job="${JOB_NAME}" \ | ||
--service-account="${GOOGLE_APPLICATION_CREDENTIALS}" \ | ||
--upload='gs://kubernetes-jenkins/logs' \ |
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.
should this be configurable? (i remember some jobs have pr-logs or something)
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.
you can specify it again and overwrite it IIRC. I didn't want to touch these flags as this is how they were in the image now. ideally we will phase out using ENTRYPOINT for this and just have some jobs use the runner script + podutils
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.
👍
f0e0e9a
to
c1d092c
Compare
4902db2
to
c3257f6
Compare
c3257f6
to
eae9bec
Compare
…r|experimental|releases) (using generate_tests and manual)
rebased, fixed the paths, re-bumped |
https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/ci-kubernetes-e2e-gce-canary/19553/?log#log
|
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: BenTheElder, krzyzacy 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 |
/hold cancel |
FYI @neolit123 this is going out now. 🤞 |
hummmmmm |
missed a hook ?! I cannot find any related logs I'll work on #8892 now |
COPY
instead ofADD
...ADD
is more magicalcreate_bazel_cache_rcs.sh
into the image/usr/local/bin/runner.sh my-test-command
with envDOCKER_IN_DOCKER_ENABLED
. still sorta gross, but it should help us move forward for now. I may refactor further at some point.create_bazel_cache_rcs.sh
when we don't have a test-infra checkout (so bazel caching should also work in podutils jobs now)