使用DeployBundle在projet中部署

时间:2016-01-04 20:36:18

标签: symfony webdeploy

我正在尝试使用DeployBundle在我的项目中部署一个并进行以下设置:

parameter.yml

jordi_llonch_deploy:
    config:
        project: delivve
        vcs: git
        servers_parameter_file: app/config/parameters_deployer_servers.yml
        local_repository_dir: /home/deploy/local_repository
        clean_max_deploys: 7
        ssh:
            proxy: cli
            user: user
            password: 'password'
            public_key_file: '/home/user/.ssh/id_rsa.pub'
            private_key_file: '/home/user/.ssh/id_rsa'
            private_key_file_pwd: 'password'
    zones:
        prod_myproj:
            deployer: delivve
            environment: prod
            checkout_url: 'https://user@bitbucket.org/user/project-webservice.git'
            checkout_branch: master
            repository_dir: /var/www/production/delivve/deploy
            production_dir: /var/www/production/delivve/code

parameters_deployer_servers.yml

prod_myproj:
    urls:
        - user@localhost:22

它还有服务和设置,但似乎这个部分正在制定。

我的问题是当我发出命令时:

sudo php app/console deployer:initialize --zones=prod_myproj

出现以下错误:

[prod_myproj]
[2016-01-04 18:25:55] app.CRITICAL: Not implemented  
ROLLBACK [prod_myproj]
[2016-01-04 18:25:55] app.CRITICAL: Not implemented  

任何人都知道这会发生什么,以及如何解决或部署此捆绑包?

1 个答案:

答案 0 :(得分:1)