-
Notifications
You must be signed in to change notification settings - Fork 4.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
Sync v0.1.0 rc2 #16908
Sync v0.1.0 rc2 #16908
Conversation
…service-catalog/' changes from 3aacfedec6..aa27078754 aa27078754 origin build: add origin tooling bcf37fd 0.1.0-rc2 chart updates (openshift#1410) 4ab0a0a add back 'Processing' message for instance deletion (openshift#1332) 0ecbcb1 Update logs for Cluster service plans. (openshift#1389) 8b491ef Fix a quoting nit (openshift#1400) 63685e4 add orphan mitigation-specific conditions for instances (openshift#1378) adee662 Updated missed fields in service and plan specs (openshift#1406) 2095919 Handle default plan setting when using k8s names (openshift#1405) 607ba66 Document rbacEnable. (openshift#1404) 268294e Adding rbac definition for v1 api endpoint. (openshift#1284) 103288d differentiate between failed updates and provisions during deletion (openshift#1383) eba8ba4 enable API aggregation and Service Catalog RBAC on Jenkins (openshift#1333) 5a93315 Validate relistDuration is non-negative (openshift#1395) e279d21 Fix log messages for secrets (openshift#1385) 87fa8c9 fix status update when starting orphan mitigation (openshift#1372) 11f18f3 Switch to wget for integration apiserver checks (openshift#1384) 8c44a7d update OSB client to 2.13 (openshift#1392) e64bbd1 default plan admission controller: filter list of service plans/service classes by the class name (openshift#1351) 6648c0e Check field names. Fix issue 1291 (openshift#1379) 5319841 update comment for instance generation check (openshift#1382) 7d5823f remove internal poll method (openshift#1381) 07d3068 Rework the logging for controller_instance. (openshift#1371) 5f4ca01 address PR comment as a followup (openshift#1380) 485d5e6 Add support for specifying plan using K8S names. (openshift#1377) 662bba8 Log number of secret keys created for binding credential (openshift#1375) 8ad6a31 Move controller constants into correct files (openshift#1373) 7bd66dd Adding type to log. (openshift#1339) 1ce5c4d Remove k8s/k8s dependency (openshift#1355) b458323 Adding log formatting for BindingController. (openshift#1352) 275eb11 rename test variables to be consistent (openshift#1315) ffd6b8b travis: skip cleanup before deploy (openshift#1368) d5ecc04 fix travis tag checker (openshift#1365) 2cae0ee Minor updates to README (openshift#1360) REVERT: 3aacfedec6 carry: Set external plan name for service-catalog walkthrough REVERT: 3ec9e5b07a origin build: add origin tooling git-subtree-dir: cmd/service-catalog/go/src/github.com/kubernetes-incubator/service-catalog git-subtree-split: aa2707875461dd51be3731b1d94b5cfc3b9a3976
/test service-catalog |
@pmorie ready to go, Jenkins catalog e2e passed. |
/test unit |
/retest |
Flaking... extended_confomance_gce failing with /retest |
same failure in extended_conformance_gce, error pruning ~/tmp/etcd |
/retest |
discussed with Cesar, created #16917 for the test flake |
/lgtm |
hack/lib/build/version.sh
Outdated
@@ -26,6 +26,19 @@ readonly -f os::build::version::get_vars | |||
function os::build::version::openshift_vars() { | |||
local git=(git --work-tree "${OS_ROOT}") | |||
|
|||
if [[ -z ${OS_GIT_CATALOG_VERSION-} ]]; then |
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.
if [[ -z "${OS_GIT_CATALOG_VERSION:-}" ]]; then
^ ^ ^
hack/lib/build/version.sh
Outdated
if [[ -z ${OS_GIT_CATALOG_VERSION-} ]]; then | ||
# search git merge commits for template text and extract version | ||
# subject template: Merge version v0.0.14 of Service Catalog from https://github.com/openshift/service-catalog:v0.0.14+origin | ||
local summary_text=$(${git[@]} log --merges --grep "Merge version v.* of Service Catalog from https://github.com/openshift/service-catalog" --pretty=%s -1) |
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.
Don't mix scoping statements with subshells.
local summary_text
summary_text="$( ... )"
hack/lib/build/version.sh
Outdated
# search git merge commits for template text and extract version | ||
# subject template: Merge version v0.0.14 of Service Catalog from https://github.com/openshift/service-catalog:v0.0.14+origin | ||
local summary_text=$(${git[@]} log --merges --grep "Merge version v.* of Service Catalog from https://github.com/openshift/service-catalog" --pretty=%s -1) | ||
if [[ $summary_text =~ Merge[[:space:]]version[[:space:]](v.*)[[:space:]]of[[:space:]]Service[[:space:]]Catalog ]]; then |
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.
if [[ "${summary_text}"
^ ^ ^^
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.
Since you have the grep
above in the git
call you can probably make this less busy if you want
if [[ "${summary_text}" =~ .*[[:space:]](v.*)[[:space:]].* ]]; then
hack/lib/build/version.sh
Outdated
# subject template: Merge version v0.0.14 of Service Catalog from https://github.com/openshift/service-catalog:v0.0.14+origin | ||
local summary_text=$(${git[@]} log --merges --grep "Merge version v.* of Service Catalog from https://github.com/openshift/service-catalog" --pretty=%s -1) | ||
if [[ $summary_text =~ Merge[[:space:]]version[[:space:]](v.*)[[:space:]]of[[:space:]]Service[[:space:]]Catalog ]]; then | ||
OS_GIT_CATALOG_VERSION=${BASH_REMATCH[1]} |
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.
OS_GIT_CATALOG_VERSION="${BASH_REMATCH[1]}"
^ ^
hack/lib/build/version.sh
Outdated
local summary_text=$(${git[@]} log --merges --grep "Merge version v.* of Service Catalog from https://github.com/openshift/service-catalog" --pretty=%s -1) | ||
if [[ $summary_text =~ Merge[[:space:]]version[[:space:]](v.*)[[:space:]]of[[:space:]]Service[[:space:]]Catalog ]]; then | ||
OS_GIT_CATALOG_VERSION=${BASH_REMATCH[1]} | ||
fi |
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.
Handle the else
with os::log::fatal
Currently the version is derived from the upstream service catalog tag. also adds build date in ldflags
96322a7
to
6520da4
Compare
/lgtm |
/test service-catalog |
/lgtm cancel |
/test service-catalog |
/retest |
Catalog failure looks like a flake |
/lgtm |
/retest |
build changes /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jboyd01, pmorie, stevekuznetsov The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/retest |
it's not necessary to keep retesting - conformance doesn't block the merge queue temporarily @jboyd01 Adding kind/bug because this closes several bugs. |
/retest |
/test extended_conformance_install_update |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue (batch tested with PRs 16896, 16908, 16935, 16898, 16090). |
1 similar comment
Automatic merge from submit-queue (batch tested with PRs 16896, 16908, 16935, 16898, 16090). |
@jboyd01: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
sync'ing Service Catalog v 0.1.0 rc2 to Origin