Skip to content

Make it easier to extract content from hack/env#10458

Merged
openshift-bot merged 1 commit intoopenshift:masterfrom
smarterclayton:go17
Aug 18, 2016
Merged

Make it easier to extract content from hack/env#10458
openshift-bot merged 1 commit intoopenshift:masterfrom
smarterclayton:go17

Conversation

@smarterclayton
Copy link
Copy Markdown
Contributor

@smarterclayton smarterclayton commented Aug 16, 2016

OS_BUILD_ENV_PRESERVE=_output/local/releases hack/env make release

Allows content to be extracted back to the working dir (relative) after
a build.

[test] @stevekuznetsov for bashisms

fixes #10445 by removing tip from travis matrix

go:
- 1.6
- tip
- 1.7
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I thought you argued to keep tip?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Basically tip gets unstable after a release - probably half way through 1.8
we'll turn tip on. Otherwise would be failing all the time.

On Tue, Aug 16, 2016 at 12:41 PM, Steve Kuznetsov notifications@github.com
wrote:

In .travis.yml
#10458 (comment):

@@ -2,7 +2,7 @@ language: go

go:

  • 1.6
      • tip
      • 1.7

I thought you argued to keep tip?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/openshift/origin/pull/10458/files/4b046250753fe0e53bf15c100edb397d81ac6315#r74972318,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABG_pwAOcjhcjIDk_08kGQixr2ueJzNVks5qgehHgaJpZM4Jlmyi
.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Like it is now

Copy link
Copy Markdown
Contributor

@liggitt liggitt Aug 17, 2016

Choose a reason for hiding this comment

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

you could always do

go:
  - 1.6
  - 1.7
  - tip

matrix:
  fast_finish: true
  allow_failures:
  - go: tip

and just toggle off allowing failures on tip mid-release

keeps travis green, lets you see tip status easily (see #10472 / https://travis-ci.org/openshift/origin/builds/152847351)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think tip is going to be bad for a while, and we don't care about tip much yet.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

okeydoke

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I feel like Jordan's approach is probably better so that people who care can look at the errors on tip and file upstream bugs as necessary, helps us all be part of a good open source community and all that jazz

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@smarterclayton
Copy link
Copy Markdown
Contributor Author

Addressed comment [merge]

hack/common.sh Outdated

# extract content from the image
if [[ -n "${OS_BUILD_ENV_PRESERVE}" ]]; then
local workingdir="$(docker inspect -f '{{ index . "Config" "WorkingDir" }}' "${container}")"
Copy link
Copy Markdown
Contributor

@stevekuznetsov stevekuznetsov Aug 17, 2016

Choose a reason for hiding this comment

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

Sorry, didn't see this before. You never want to do scoping (local, export) in the same line as anything else with a return code since the return code of the "other thing" - your sub shell expansion here and below for parent - will be aliased masked by the return code of the scoping statement, which is basically always 0.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ugh

@smarterclayton
Copy link
Copy Markdown
Contributor Author

[test]

@smarterclayton smarterclayton mentioned this pull request Aug 17, 2016
@smarterclayton
Copy link
Copy Markdown
Contributor Author

Proto test was not running cleanly, not sure why that changed.

    OS_BUILD_ENV_PRESERVE=_output/local/releases hack/env make release

Allows content to be extracted back to the working dir (relative) after
a build.
@openshift-bot
Copy link
Copy Markdown
Contributor

Evaluated for origin test up to 82402c7

@openshift-bot
Copy link
Copy Markdown
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/8078/)

@smarterclayton
Copy link
Copy Markdown
Contributor Author

[merge]

@openshift-bot
Copy link
Copy Markdown
Contributor

Evaluated for origin merge up to 82402c7

@openshift-bot
Copy link
Copy Markdown
Contributor

openshift-bot commented Aug 17, 2016

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/8078/) (Image: devenv-rhel7_4864)

@openshift-bot openshift-bot merged commit 7816a92 into openshift:master Aug 18, 2016
@smarterclayton
Copy link
Copy Markdown
Contributor Author

[merge]

@stevekuznetsov
Copy link
Copy Markdown
Contributor

@danmcp re: editing comments ... look at what we see above. it makes no sense.

@danmcp
Copy link
Copy Markdown

danmcp commented Aug 18, 2016

@stevekuznetsov Because the merge request is after the merge comment?

We changed a while back to recreate on a few cases. Namely on failures to make sure people got emails. I don't mind making the success comment also recreate. It would just mean more emails for people.

@stevekuznetsov
Copy link
Copy Markdown
Contributor

Yes, because the timeline doesn't make sense -- we should be recreating in this case.

@danmcp
Copy link
Copy Markdown

danmcp commented Aug 18, 2016

@stevekuznetsov Actually I remembered now why I didn't before. You already get an email from GitHub on merge. So it would be redundant. Wasn't sure it was worth it to get the comment moved down. Still debating.

@stevekuznetsov
Copy link
Copy Markdown
Contributor

I don't like optimizing for e-mail over the web interface ... the merge tests succeeding and the merge happening are two distinct occurrences.

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.

[travis] internal compiler error: schedule does not include all values

5 participants