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

Test build for testing new release infra push-ci-build.sh #279

Merged
merged 1 commit into from
Aug 2, 2016

Conversation

david-mcmahon
Copy link
Contributor

@david-mcmahon david-mcmahon commented Jul 13, 2016

I'm sure this is completely wrong, but just moving the conversation to a PR. Please advise.
ref kubernetes/kubernetes#28922
ref kubernetes/kubernetes#16529

@spxtr
Copy link
Contributor

spxtr commented Jul 13, 2016

You'll need to make a PR to put the build.sh script under the kubernetes repo. Once that is in we can start running these new jobs.

# limitations under the License.

###
### NOTE: Replacement for hack/jenkins/build.sh ???
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at build.sh, it sure looks like a candidate to move into test-infra anyway, no?
It's very jenkins specific and very test-infra specific and no doubt only lives in kubernetes proper for historical reasons. Adding this modified new version here in the hopes I can help make this the first of many scripts moved out of hack/jenkins over to test-infra?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, but we are holding off on bringing code from hack/jenkins to this repository until we have CI set up for them. Currently, hack/jenkins/build.sh gets hit by PR Jenkins so at least we have a little bit of signal that it works.

@david-mcmahon
Copy link
Contributor Author

PTAL

export KUBE_GCS_RELEASE_BUCKET=kubernetes-federation-release
export KUBE_GCS_RELEASE_BUCKET_MIRROR=kubernetes-federation-release
jobs:
- 'kubernetes-{djmm}'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's confusing, but {djmm} is a variable that expands to the job name. You never define the djmm variable so it's invalid. What do you want to name your Jenkins jobs?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I knew that one was wrong. I just didn't know what it should be. :) I mean, I just want jobs called kubernetes-djmm for now. That seems reasonable, right? But how do I do that? Or is there a better naming convention? Can I leave that up to you? I don't care. I just want my own namespace, however that looks best in a jenkins context.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ping. I need your guidance here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, right, sorry.

The template will expand any values of djmm into the name of the job. Here you don't define that anywhere, so it doesn't work. Do you want to make two jobs or just one?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I see. we'll keep {build} then and change kubernetes to djmm. The job name will appear as djmm-build on kubekins.dls.corp.google.com, yes?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep. You'll also need to change the last line to 'djmm-{build}.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yes, thanks. done.

@david-mcmahon david-mcmahon force-pushed the test-build branch 2 times, most recently from 0331b07 to 53d7305 Compare July 14, 2016 22:05
- shell: 'JENKINS_BUILD_STARTED=true bash <(curl -fsS --retry 3 "https://raw.githubusercontent.com/kubernetes/kubernetes/master/hack/jenkins/upload-to-gcs.sh")'
- shell: |
{job-env}
TODO: How do I call the new build.sh from test-infra here?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. Thanks. Done.

external-deletion-command: 'sudo rm -rf %s'

- project:
name: kubernetes-builds
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this needs to be unique between all jobs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hopefully that does it?

@spxtr
Copy link
Contributor

spxtr commented Jul 15, 2016

Looks fine. Merge whenever it's time, and keep an eye on Jenkins.

@spxtr spxtr added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 15, 2016
@david-mcmahon david-mcmahon merged commit 749b09f into kubernetes:master Aug 2, 2016
@caesarxuchao
Copy link
Member

The job has been failing since the first run and has been sending out warning emails to many people. Is it possible stop the emails until the build is stable? Thanks.

@david-mcmahon
Copy link
Contributor Author

@caesarxuchao Thanks for telling me. I had no idea. @ixdy @spxtr How do I disable email notifications for this test job?

publishers:
- claim-build
- log-parser
- email-ext:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete this publisher to make it stop sending emails.

@david-mcmahon
Copy link
Contributor Author

#325 @spxtr

ostromart pushed a commit to ostromart/test-infra that referenced this pull request Jul 26, 2019
grantr pushed a commit to grantr/test-infra that referenced this pull request Feb 21, 2020
Part of knative/serving#2555.

Bonus: block running E2E tests using knative-nightly GCR as well.
MushuEE pushed a commit to MushuEE/test-infra that referenced this pull request Mar 17, 2022
* refactor: rename apps to cmd and add go.mod

* Structure Makefile and go.mod files for multimodule builds+testing.

Co-authored-by: Tim Burks <timburks@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/jenkins lgtm "Looks good to me", indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants