Skip to content

Remove -a flag from hack/test-integration.sh #11341

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

Merged
merged 2 commits into from
Oct 24, 2016

Conversation

enj
Copy link
Contributor

@enj enj commented Oct 12, 2016

@smarterclayton I believe you added this build flag, but it makes it a real pain to work on the integration tests (it takes under 30 seconds to a do an incremental build vs 8 minutes to do a full build). If we need it for some reason, I could add a new config flag to hack/test-integration.sh such as OPENSHIFT_INCREMENTAL_BUILD.

-a
    force rebuilding of packages that are already up-to-date.

Signed-off-by: Monis Khan [email protected]

@liggitt
Copy link
Contributor

liggitt commented Oct 12, 2016

do incremental builds actually work reliably?

@enj
Copy link
Contributor Author

enj commented Oct 12, 2016

They seemed to work fine for me when I was working on #11269.

@stevekuznetsov
Copy link
Contributor

@smarterclayton added the flag, any thoughts? LGTM

@smarterclayton
Copy link
Contributor

It's fine to remove. It's not needed after changes made during the rebase.

@enj
Copy link
Contributor Author

enj commented Oct 12, 2016

@stevekuznetsov Should os::build::build_static_binaries be updated as well or does it need the -a?

@stevekuznetsov
Copy link
Contributor

Sounds like we can toss it

@smarterclayton
Copy link
Contributor

smarterclayton commented Oct 12, 2016

Don't change build_static_binaries

EDIT: without testing that it still works

@smarterclayton
Copy link
Contributor

Edited the last, you need to verify that doesn't break base image builds. That's very old flags, I'm not 100% sure it's safe to remove it.

@enj
Copy link
Contributor Author

enj commented Oct 12, 2016

[test] Let's see if base image builds still work via conformance tests.

@@ -237,7 +237,7 @@ readonly -f os::build::setup_env
# OS_BUILD_PLATFORMS - Incoming variable of targets to build for. If unset
# then just the host architecture is built.
function os::build::build_static_binaries() {
CGO_ENABLED=0 os::build::build_binaries -a -installsuffix=cgo $@
CGO_ENABLED=0 os::build::build_binaries -installsuffix=cgo $@
Copy link
Contributor

Choose a reason for hiding this comment

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

While we're here...

CGO_ENABLED=0 os::build::build_binaries -installsuffix=cgo "$@"
                                                           ^  ^

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

@enj enj force-pushed the enj/i/test-integration.sh_speed branch from 48d026d to 9f6bde7 Compare October 12, 2016 21:09
@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 9f6bde7

@enj
Copy link
Contributor Author

enj commented Oct 13, 2016

@stevekuznetsov Any other tests you want to run?

@stevekuznetsov
Copy link
Contributor

No, LGTM on extended tests building images and launching containerized Origin with them. [merge]

@enj
Copy link
Contributor Author

enj commented Oct 17, 2016

Flake on #11381

@stevekuznetsov
Copy link
Contributor

re[merge]

@enj
Copy link
Contributor Author

enj commented Oct 18, 2016

Flake on #11381
@stevekuznetsov Please re-merge as that flake is fixed now.

@stevekuznetsov
Copy link
Contributor

@enj you're still in the queue

@enj
Copy link
Contributor Author

enj commented Oct 19, 2016

Flake #8427 #9490 #9548

@stevekuznetsov
Copy link
Contributor

re[merge]

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 9f6bde7

@enj
Copy link
Contributor Author

enj commented Oct 24, 2016

Flake AWS Error

@stevekuznetsov
Copy link
Contributor

I don't have the privilege to re-tag that one ... @danmcp

@openshift-bot
Copy link
Contributor

openshift-bot commented Oct 24, 2016

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/10535/) (Base Commit: 84cddbc) (Image: devenv-rhel7_5235)

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/10533/) (Base Commit: 84cddbc)

@openshift-bot openshift-bot merged commit 9195050 into openshift:master Oct 24, 2016
@stevekuznetsov
Copy link
Contributor

🎊

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.

5 participants