OpenShift二进制部署,tar.gz结构

And*_*rew 2 deployment war openshift

我正在尝试将*.war文件部署到OpenShift.

在查看OpenShift文档后,我找到了将二进制文件部署到OpenSHift的方法:

rhc deploy path_to_binary -a application_name
Run Code Online (Sandbox Code Playgroud)

但是,部署简单的*.war文件失败,并显示以下消息:
错误消息:无法使用命令提取部署存档:/ bin/tar -xz
看起来OpenShift要求将二进制文件打包为tar.gz存档.

所以,我的问题是:
*.tar.gz的结构是什么,我可以将其部署到OpenShift?
奇怪,但我无法在文档中找到此信息.

ncd*_*cdc 5

对于jbossas应用程序,请创建一个包含以下内容的tar.gz文件:

build_dependencies/ (empty directory)
dependencies/jbossas/deployments/ROOT.war
repo/ (empty directory, or you can include .openshift/... if you need hooks or markers)
Run Code Online (Sandbox Code Playgroud)

或者对于jbosseap:

build_dependencies/ (empty directory)
dependencies/jbosseap/deployments/ROOT.war
repo/ (empty directory, or you can include .openshift/... if you need hooks or markers)
Run Code Online (Sandbox Code Playgroud)

或者对于jbossews:

build_dependencies/ (empty directory)
dependencies/jbossews/webapps/ROOT.war
repo/ (empty directory, or you can include .openshift/... if you need hooks or markers)
Run Code Online (Sandbox Code Playgroud)