by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 08 16:09
    odarino opened #274
  • Aug 04 01:31
    BrockWills commented #215
  • Jul 27 14:32
    gregberge labeled #270
  • Jul 27 14:32
    gregberge commented #271
  • Jul 27 14:32
    gregberge labeled #271
  • Jul 27 14:32
    gregberge commented #267
  • Jul 21 21:54

    dependabot[bot] on npm_and_yarn

    (compare)

  • Jul 21 21:54

    dependabot[bot] on npm_and_yarn

    (compare)

  • Jul 21 21:54
    dependabot[bot] commented #273
  • Jul 21 21:54
    dependabot[bot] commented #272
  • Jul 21 21:54
    gregberge closed #273
  • Jul 21 21:54
    gregberge closed #272
  • Jul 21 12:41
    dependabot[bot] labeled #273
  • Jul 21 12:41
    dependabot[bot] opened #273
  • Jul 21 12:41

    dependabot[bot] on npm_and_yarn

    chore(deps-dev): bump codecov f… (compare)

  • Jul 17 06:31
    dependabot[bot] labeled #272
  • Jul 17 06:31
    dependabot[bot] opened #272
  • Jul 17 06:31

    dependabot[bot] on npm_and_yarn

    chore(deps): bump lodash from 4… (compare)

  • Jun 29 13:05
    Bodom78 commented #267
  • Jun 21 21:54
    gremo commented #268
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.