Skip to content

build_deploy.sh: don't create temporary release dir#222

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
vrutkovs:build_deploy-fixes
Feb 13, 2020
Merged

build_deploy.sh: don't create temporary release dir#222
openshift-merge-robot merged 1 commit into
openshift:masterfrom
vrutkovs:build_deploy-fixes

Conversation

@vrutkovs
Copy link
Copy Markdown
Contributor

Its being handled by multistage build now. This fixes stage build errors

Its being handled by multistage build now. This fixes stage build errors
@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Feb 13, 2020
@vrutkovs
Copy link
Copy Markdown
Contributor Author

/cc @steveej @wking

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 13, 2020
Comment thread dist/build_deploy.sh
rmdir ${RELEASE_OUTPUT_DIR}
fi
}
trap cleanup EXIT
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.

Could you just remove this line and leave the cleanup function in place? It would be nice if we could just disable the trap on CI builds, because it's still useful for people running the testsuite locally in the container environment.

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.

it won't work, there is nothing to clean up because we don't create intermediate dir with binaries and dockerfile. This happens in builder stage of Dockerfile.deploy

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Because we are using a multi-stage build.

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'm not convinced but I'd like to get the builds working again, so I'll take a look at the end-result 🤷‍♂️

Copy link
Copy Markdown
Member

@LalatenduMohanty LalatenduMohanty left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 13, 2020
@LalatenduMohanty
Copy link
Copy Markdown
Member

/retest

Copy link
Copy Markdown
Contributor

@steveej steveej left a comment

Choose a reason for hiding this comment

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

/lgtm

Comment thread dist/build_deploy.sh
rmdir ${RELEASE_OUTPUT_DIR}
fi
}
trap cleanup EXIT
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'm not convinced but I'd like to get the builds working again, so I'll take a look at the end-result 🤷‍♂️

@openshift-ci-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: LalatenduMohanty, steveeJ, vrutkovs

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [LalatenduMohanty,steveeJ,vrutkovs]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit 024bf30 into openshift:master Feb 13, 2020
@openshift-ci-robot
Copy link
Copy Markdown

@vrutkovs: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/e2e de5b199 link /test e2e

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.

Details

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.

@vrutkovs vrutkovs deleted the build_deploy-fixes branch September 16, 2020 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants