Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 11 11:45
    jfilla commented #215
  • Dec 09 11:38

    gregberge on master

    docs: update logo (compare)

  • Nov 23 17:12
    EduardsE commented #207
  • Nov 23 17:12
    EduardsE commented #207
  • Nov 08 15:40
    blackgearit opened #259
  • Nov 04 15:56
    lachieh synchronize #258
  • Oct 31 13:33
    lachieh edited #258
  • Oct 31 13:32
    lachieh opened #258
  • Oct 31 13:31
    lachieh synchronize #257
  • Oct 31 13:30
    lachieh opened #257
  • Oct 31 13:29
    lachieh opened #256
  • Oct 17 17:34
    NYSMuseum closed #255
  • Oct 17 17:34
    NYSMuseum commented #255
  • Oct 17 17:25
    NYSMuseum edited #255
  • Oct 17 17:25
    NYSMuseum opened #255
  • Oct 14 10:51
    Edo78 commented #254
  • Oct 14 10:49
    Edo78 commented #254
  • Oct 14 10:45
    Edo78 commented #225
  • Oct 11 08:38
    Edo78 opened #254
  • Oct 06 08:41

    neoziro on master

    docs(funding): add neoziro (compare)

ahmar siddiqui
@ahhmarr
can i share my shipit file.js
Fabian Becker
@halfdan
sure, but it's been a long time since I've used shipit so I may not be the best of help
ahmar siddiqui
@ahhmarr

module.exports = function (shipit) {
require('shipit-deploy')(shipit);

shipit.initConfig({
default: {
workspace: '/tmp/app',
deployTo: '/var/www/app',
repositoryUrl: 'git@repo',
ignores: ['.git', 'node_modules','bower_components'],
rsync: ['--del'],
keepReleases: 5,
key: '~/.ssh/id_rsa_new',
shallowClone: true,
branch : 'dev'
},
production: {
servers: 'user@ip.address'
}
});
shipit.on('deploy:init',function(){
console.log('calle dit')
return shipit.remote('pwd');
})
};

Fabian Becker
@halfdan
could you put it on gist.github.com or any other code paste website?
ahmar siddiqui
@ahhmarr
yea just a min
Fabian Becker
@halfdan
or surround it by triple ticks to preserve the spacing
ahmar siddiqui
@ahhmarr

```module.exports = function (shipit) {
require('shipit-deploy')(shipit);

shipit.initConfig({
default: {
workspace: '/tmp/app',
deployTo: '/var/www/app',
repositoryUrl: 'git@repo',
ignores: ['.git', 'node_modules','bower_components'],
rsync: ['--del'],
keepReleases: 5,
key: '~/.ssh/id_rsa_new',
shallowClone: true,
branch : 'dev'
},
production: {
servers: 'user@ip.address'
}
});
shipit.on('deploy:init',function(){
console.log('calle dit')
return shipit.remote('pwd');
})
};```

Fabian Becker
@halfdan
test
Fabian Becker
@halfdan
-.-
well.. indenting your code would be a good idea
ahmar siddiqui
@ahhmarr
m extremely sorry
will update it asap
Fabian Becker
@halfdan
nah got it
http://jsbeautifier.org/ to the rescue
the event is called deployed
deploy:init / deploy:finish are shipit tasks that emit events
ahmar siddiqui
@ahhmarr
just a min
man u are such a life saver
thnx a ton
Fabian Becker
@halfdan
no worries dude
glad I could help
ahmar siddiqui
@ahhmarr
just last question
how do you find the event is deployed
mean is there any event list i could find
Fabian Becker
@halfdan
ahmar siddiqui
@ahhmarr
u sir just got a follower
cheers
Fabian Becker
@halfdan
:)
Matt Walters
@mateodelnorte
Has anybody used shipit with Windows?
Seth Stone
@sethstone
I was trying to yesterday, but didn't get too far. :|
I couldn't figure out how to get the rsync environment to use my SSH agent
Weyert de Boer
@weyert
Good morning :)
Weyert de Boer
@weyert
How can I do a local build and then push the result (in a directory build) to the remote server?
Markus Köhler
@markuskoehler
hey all, where is the best place to find good shipit documentation? seems like i am unable to find detailed instructions on advanced scripts...
Adrian Chen
@ChennyBaBy
hi hi peeps~!
anyone know if shipit wont deploy files thats listed onto the gitignore in the project?
irwinbraganza
@irwinbraganza
hey guys need help
im getting 'deploy:publish' errored after 1.01 s
Error: Command failed: ssh -i ~/.ssh/id_rsa koro@glenkinchie.cloudapp.net "cd /var/www/koro && if [[ -d current && ! (-L current) ]]; then echo \"ERR: could not make symlink\"; else ln -nfs releases/20170804182939 current_tmp && mv -fT current_tmp current; fi"
sh: 1: Syntax error: word unexpected (expecting "then") while deploying
Tarcísio Abadio de Magalhães Júnior
@tarcisiojr
Hi!
I need a help to solve a problem. I have a pool of server e sometimes a need to deploy a specific version in only one server. After that, Shipt does not allow to deploy a new version on pool, occurs a error because there is a different version on pool. Is there a way to force or other method do solve this issue?
Greg Bergé
@neoziro
Hmm
You have a pool: [A, B] and you want to create a pool [A] and deploy on it, right? Yes you will have a problem of sync. For now I don't have any solution. Shipit deploy doesn't handle this use-case. Can you add an issue on https://github.com/shipitjs/shipit/issues we will take care of this in next versions.
@tarcisiojr ping
Greg Bergé
@neoziro
@/all we are looking for help for shipitjs/shipit#156, if you want to contribute let me know!
Tarcísio Abadio de Magalhães Júnior
@tarcisiojr
@neoziro thx. For now, I solved manualy update unsynced server.
Renato Marinho
@renatomarinho
This message was deleted
David Banks
@amoe
Hello, I don't understand how you should do something like a build step before a deployment. For instance, I attach a task to an event handler, using shipit.on('fetched', ...). But then when I enter the task, any commands that I run through shipit.local() are not run in the same directory as the fresh git checkout.
Renato Marinho
@renatomarinho
This message was deleted
1rjun
@1rjun
hye
everyone
Robbie
@Rob-bie
How do you do a build step before deployment? I attach a task to an event handler, using shipit.on('fetched', ...). But then when I enter the task, any commands that I run through shipit.local() are not run in the same directory as the git checkout.