Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Various deploy fixes #3955

Merged
merged 2 commits into from Oct 23, 2013
Merged

Various deploy fixes #3955

merged 2 commits into from Oct 23, 2013

Conversation

ncdc
Copy link
Member

@ncdc ncdc commented Oct 22, 2013

Certain containers (e.g. Tomcat) cache the path to the deployment
directory, and we want to replace the current deployment directory with
a new one when we activate a new deployment.

Replace app-root/runtime/{repo, dependencies, build-dependencies}
symlinks with actual directories. Sync content from the deployment
directory into these directories on activation.

Modify create_dependency_directories to create the directories in
app-root/runtime instead of in the deployment directory.

No need to create cartridge dependency directories any more when
creating a new deployment directory.

Recreate the cartridge dependency directories when building with
force_clean_build enabled.

Clean dependencies if preparing a binary deployment.

Don't use FileUtils.cd when creating the by-id link.

Bug 1020660 - fix jbossews hot deploy
Bug 1021399 - fix nodejs 0.10 hot deploy
Bug 1021411 - fix nodejs 0.6 hot deploy
Bug 1021414 - fix nodejs 0.6/0.10 force clean build
Bug 1019723 - rhc deploy should activate all gears
Bug 1018387 - Drupal quickstart should no longer be broken
Bug 1021798 - fix Python 3.3 with Jenkins
Bug 1018654 - fix Jenkins hot deploy

@ncdc
Copy link
Member Author

ncdc commented Oct 22, 2013

[test]

Certain containers (e.g. Tomcat) cache the path to the deployment
directory, and we want to replace the current deployment directory with
a new one when we activate a new deployment.

Replace app-root/runtime/{repo, dependencies, build-dependencies}
symlinks with actual directories. Sync content from the deployment
directory into these directories on activation.

Modify create_dependency_directories to create the directories in
app-root/runtime instead of in the deployment directory.

No need to create cartridge dependency directories any more when
creating a new deployment directory.

Recreate the cartridge dependency directories when building with
force_clean_build enabled.

Clean dependencies if preparing a binary deployment.

Don't use FileUtils.cd when creating the by-id link.

Specify --first-time when calling gear prereceive and gear postreceive
when doing an initial build so the pre_ and post_receive methods in the
container are invoked even though there's no commit data from STDIN.

Bug 1020660 - fix jbossews hot deploy
Bug 1021399 - fix nodejs 0.10 hot deploy
Bug 1021411 - fix nodejs 0.6 hot deploy
Bug 1021414 - fix nodejs 0.6/0.10 force clean build
Bug 1019723 - rhc deploy should activate all gears
Bug 1018387 - Drupal quickstart should no longer be broken
Bug 1021798 - fix Python 3.3 with Jenkins
Bug 1018654 - fix Jenkins hot deploy
@ncdc
Copy link
Member Author

ncdc commented Oct 22, 2013

[test]

@ncdc
Copy link
Member Author

ncdc commented Oct 22, 2013

@openshift-bot
Copy link

Restore code that created the
app-root/{repo,dependencies,build-dependencies} -> runtime/$dir
symlinks (it was accidentally removed).
@ncdc
Copy link
Member Author

ncdc commented Oct 23, 2013

[test]

@danmcp
Copy link
Contributor

danmcp commented Oct 23, 2013

[merge]

@openshift-bot
Copy link

Online Merge Results: SUCCESS (https://ci.dev.openshift.redhat.com/jenkins/job/test_pull_requests/4919/) (Image: devenv_3934)

@openshift-bot
Copy link

Evaluated for online up to 0bd2f24

openshift-bot pushed a commit that referenced this pull request Oct 23, 2013
@openshift-bot openshift-bot merged commit 3f6a40e into openshift:master Oct 23, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants