Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 09 17:55
    LoveAndHappiness commented #689
  • Jul 02 12:50
    hemorej closed #661
  • Apr 09 08:27
    lukassteiner commented #689
  • Mar 11 14:13
    BechirAhmed edited #776
  • Mar 11 14:12
    BechirAhmed opened #776
  • Mar 11 13:38
    xuanquynh commented #773
  • Mar 11 13:38
    xuanquynh commented #773
  • Mar 11 13:23
    xuanquynh commented #746
  • Jan 28 13:30
    DanielRuf commented #775
  • Jan 28 13:22
    Anahkiasen commented #775
  • Jan 28 13:18
    Anahkiasen commented #775
  • Jan 26 14:56
    DanielRuf opened #775
  • Nov 12 2018 21:28
    nathanpurcell opened #774
  • Nov 05 2018 09:51
    AllyRobins opened #773
  • Sep 28 2018 11:16
    nathanpurcell closed #772
  • Sep 28 2018 11:16
    nathanpurcell commented #772
  • Sep 27 2018 16:25
    nathanpurcell opened #772
  • Sep 18 2018 08:36
    sweebee commented #771
  • Sep 18 2018 08:22
    Anahkiasen commented #771
  • Sep 18 2018 07:50
    sweebee opened #771
Maxime Fabre
@Anahkiasen
The logic for it is a bit complicated so
Kind of wary about backporting it
TheMassassian
@TheMassassian
Alright thx for the info
my problem is, when I active relative symlinks, the process tries to link to stage/releases/21332434234 instead of releases/21332434234
Gianluca
@GMaxera
I have a strange use case, typically the stage is used for "production" or "staging" or similar, but I need deploy a slight different code for some subdomains. And I'd like to avoid to specify all of them into the rocketeer config. I tried to deploy passing into command line --stage=something where something is not a stage into config ... rocketeer in any case deploy but it didn't create "something" directory. Is it possible to instruct rocketeer to create "something" directory ?
I'm not sure if I make it clear enough :-( If not, tell me
Napoleon Arouldas
@nepsdotin
when github credential has @! for a repo, git clone fails. Pls help.
Sergio Bruder
@sdbruder
Hi Guys. Im looking to upgrade our simple home-made deploy script and found rocketeer (among others). Saw build: failing and dependencies: out of date of got a little worried, how is rocketeer development going on ?
Brian Freytag
@brianfreytag
is there some trick to adding a directory to a current shared directory?
for example, we have an uploads directory
inside of there we have a docs and a finance directory that were there when we deployed the code the first time
we now have a new subdirectory inside of uploads uploads/receipts but no matter what I do, it won't be added to the shared directory
I had to manually add the uploads/receipts
Gianluca
@GMaxera
I tried to deploy a website that use rocketeer as a Laravel 4 package. But After deployment the live website is not working anymore. Rocketeer Service provider throw an exception saying it cannot find the user home directory
Can someone help me please ?
The website was done by previous developers and I've never used rocketeer as package but always outside without including it as service provider
So, I'm wondering what I should do for fix this problem
Toan Nguyen
@nntoan
Is this project still alive?
mobragauk
@mobragauk
+1 as reported by @GMaxera above.
blob
Steven Klar
@stevenklar
How active is rocketeers, thought about using it but dev branch does not seem to work right now?
Maxime Fabre
@Anahkiasen
@stevenklar it's still maintained but I don't have a lot of time to dedicate to it atm, if you need a package that is hands on (ie where if you open an issue you get an answer quick) I'd suggest something else for now like Deployer maybe
(if you want to stay in PHP of course, otherwise the usual apply, Capistrano etc)
Steven Klar
@stevenklar
@Anahkiasen allright, thanks!
Nafania
@Nafania
Hello, guys. I have an issue with enabling plugins. I've downloaded plugin for newrelic https://github.com/houseofdross/rocketeer-newrelic, installed it and added to plugins section in my config.php, but it didn't call. What am i doing wrong?
$ rocketeer -V Rocketeer version 2.2.5 $ rocketeer plugin:list +----------------------------------------------+ | Plugin | +----------------------------------------------+ | Rocketeer\Plugins\Newrelic\RocketeerNewrelic | +----------------------------------------------+
here is the part from config.php
'plugins' => [ RocketeerNewrelic::class, ],
i've tried to create my own plugin also, and just add some debug lines there for output, but it hadn't called also
Nafania
@Nafania
anyone?
Brian Freytag
@brianfreytag
Is there any way to suppress the output of a command?
for example, I'm running commands to get the deployment information from aws codedeploy and I don't want to get ALL of the info, just the status
so I do something like this:
do {
                    $deployment = json_decode($task->runForCurrentRelease('aws deploy get-deployment --deployment-id ' . $deploymentId . ' 2>&1'), true);

                    $status = $deployment['deploymentInfo']['status'];

                    echo $status . "...\n";

                    if ($status === 'Failed') {
                        $task->halt('The AWS Deployment Failed!');
                    }

                    sleep(10);
                } while (!in_array($status, ['Failed', 'Succeeded']));
\
but every time it loops through, it echos the ENTIRE json response
I tried adding the 2>&1 thinking that might work, but it doesn't
Brian Freytag
@brianfreytag
@Anahkiasen If you're around, I'd appreciate some help here
Renato Parreira
@renatop7_gitlab
Is this project abandoned?
cr7IT
@duongphan24289
Hi everybody.
I'm using rocketeer to deploy source code and got one issue.
To connect web server (use SSH) via Bastion server.
How to configure in rocketeer to deploy.
Thank you for your support.
Nuttapon Pramoolsin
@nuttapon.p1_gitlab
Hi. Guys
Can i ask some questions about Task timeout
Zhu Ming
@blackpuppy

I am using Rocketeer 2.2.5. If I define the following in config.php:

return [
    'on' => [
        'connections' => [
            'production' => [
                'remote' => [
                    'root_directory' => '/some/folder',
                    'app_directory'  => '/another/folder',

How do I get this information within an event, such as in events.php:

Rocketeer::addTaskListeners('deploy', 'before-symlink', function ($task) {
    $task->connections->getConnection();  // this returns only a string, like 'production'

How do I get the value for root_directory and app_directory?

Maxime Fabre
@Anahkiasen
@blackpuppy It's been a while but I think getCurrentConnection is the one returning an object
should have the config on it, otherwise I think there's a task->config service
Zhu Ming
@blackpuppy
@Anahkiasen Thanks! Let me try.
Zhu Ming
@blackpuppy
$task->connections->getCurrentConnection(); // PHP Fatal error: Call to undefined method Rocketeer\Services\Connections\ConnectionsHandler::getCurrentConnection() in ...
Maxime Fabre
@Anahkiasen
ah yeah sorry i'm looking at develop :D
getConnectionCredentials maybe?
Zhu Ming
@blackpuppy
ya, trying the methods on ConnectionsHandler
Zhu Ming
@blackpuppy
no, ConnectionsHandler’s methods only returns connections but not on.connections from config.php