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

Move push-ci-build.sh functionality to release repo. #29

Merged
merged 1 commit into from
Aug 1, 2016

Conversation

david-mcmahon
Copy link
Contributor

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

@david-mcmahon david-mcmahon force-pushed the ci-api branch 2 times, most recently from e479db2 to 0e5d6ff Compare July 7, 2016 22:38
@david-mcmahon david-mcmahon changed the title WIP: Continuous Integration API development. WIP: Moving push-ci-image.sh from kubernetes to release repo Jul 7, 2016
@david-mcmahon david-mcmahon changed the title WIP: Moving push-ci-image.sh from kubernetes to release repo WIP: Moving push-ci-build.sh from kubernetes to release repo Jul 7, 2016
@david-mcmahon david-mcmahon force-pushed the ci-api branch 3 times, most recently from 7111d82 to e476cae Compare July 12, 2016 20:57
@david-mcmahon david-mcmahon changed the title WIP: Moving push-ci-build.sh from kubernetes to release repo Move push-ci-build.sh functionality to release repo. Jul 12, 2016
@david-mcmahon david-mcmahon force-pushed the ci-api branch 7 times, most recently from 3430c8a to ed07a89 Compare July 13, 2016 22:14
@ixdy
Copy link
Member

ixdy commented Jul 21, 2016

Is this ready for review?

@david-mcmahon david-mcmahon force-pushed the ci-api branch 3 times, most recently from ad35991 to b717284 Compare July 22, 2016 01:29
@david-mcmahon
Copy link
Contributor Author

Yes, I'd like to push this soon to test out the new release-based push mechanism.

@david-mcmahon
Copy link
Contributor Author

@ixdy @spxtr Yes, if you could review this now. Please focus on what might be missing when run from within a Jenkins context. ref kubernetes/test-infra#279

@david-mcmahon
Copy link
Contributor Author

ping. If you can just give this a quick check, that should be fine. I expect to iterate on this, but I need to get something in to feed initial jenkins job.

@@ -0,0 +1,3 @@
# Continuous Integration How-to

Called from hack/jenkins/build.sh
Copy link
Member

Choose a reason for hiding this comment

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

I assume another PR is going to do that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ixdy
Copy link
Member

ixdy commented Jul 25, 2016

cc @zmerlynn too

elif [[ -z "$version_prerelease" && -n "$gcs_version_prerelease" ]]; then
: # fall out
elif [[ "$version_prerelease" < "$gcs_version_prerelease" ]]; then
greater=false
greater=0
elif [[ "$version_prerelease" > "$gcs_version_prerelease" ]]; then
: # fall out
# Finally resort to -le here, since we want strictly-greater-than.
Copy link
Member

Choose a reason for hiding this comment

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

comment may need to be updated?

@@ -584,16 +605,16 @@ release::gcs::publish_official () {
# @param version - release version
# @return 1 if new version is not greater than the GCS version
#
release::gcs::verify_release_gt() {
release::gcs::verify_latest_update () {
Copy link
Member

Choose a reason for hiding this comment

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

tangential note: this method really wants unit tests.

@david-mcmahon
Copy link
Contributor Author

Thanks for the comments. All addressed in some form. Agree on the unit test for release::gcs::verify_latest_update(). TODO for the moment. Plan to get some in shortly.

@david-mcmahon david-mcmahon force-pushed the ci-api branch 2 times, most recently from 9d63d18 to 8009c0d Compare July 30, 2016 01:34
@david-mcmahon
Copy link
Contributor Author

@ixdy PTAL. Unit test added for release::gcs::verify_latest_update().

Add unit test for release::gcs::verify_latest_update().
@david-mcmahon
Copy link
Contributor Author

If this is otherwise fine and good enough for testing the test yaml I'm going to merge this sometime this week.

@ixdy
Copy link
Member

ixdy commented Aug 1, 2016

LGTM

@david-mcmahon david-mcmahon merged commit 11089f2 into kubernetes:master Aug 1, 2016
adam-stokes pushed a commit to adam-stokes/release that referenced this pull request Oct 18, 2018
* Fix docker builds

This updates to a recent stable container for building snaps via docker.

Signed-off-by: Adam Stokes <battlemidget@users.noreply.github.com>

* Include file in container, link magic db

Signed-off-by: Adam Stokes <battlemidget@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants