Giter Club home page Giter Club logo

git-auto-deploy's People

Contributors

scriptburn avatar xpablos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

git-auto-deploy's Issues

suddenly I'm having a 404 error in /webhook

It's very weird, I'm using bitbucket, everything was working perfectly and I don't think I touched anything, but obviously something happened. maybe a change of ips?

The landing with loging its ok, just the webhook is with issues

Log:
2018/04/05 23:25:51 [error] 1471#1471: *1306 open() "/home/forge/myweb.com/public/webhook" failed (2: No such file or directory), client: 104.192.142.193, server: myweb.com, request: "POST /webhook HTTP/1.1", host: "myweb.com"
2018/04/05 23:25:59 [error] 1471#1471: *1306 FastCGI sent in stderr: "PHP message: 1522970751.8685-/home/forge/myweb.com/vendor/scriptburn/db-version-update/src/UpdateDb.php@maybeUpdate():119-->
PHP message: Db already uptodate 2 >= 2" while reading response header from upstream, client: 104.192.142.193, server: myweb.com, request: "POST /webhook HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: "myweb.com"

Any clue?

Hook is not working

Hello

First to all thanks for this amazing script and lovely admin panel. I need to ask that i create ssh keys like you said make sudomain which have you system. Than i create post_hook.php in my project file as an example. But when i try to commit and push it didnt work every time shows me hook failed and no error log shows just content not fond

Unclear

Hey, nice app, but there are some things I dont get:

  1. What is pbcopy? Is it a MAC Only thing? What about ssh-copy-id -i ~/.ssh/mykey user@host which is almost default?
  2. Does this app has to be installed for each app for each domain? Or just 1 time on some server mydomain.com and if you want to deploy someappforcustomer.com you will still use mydomain.com to do the job?

Thanks!

Just a small security improve

I think there's not limit of attempts to login, I'd be perfect to implement that to avoid a potential hacker to get that password and try luck with the rest of the services ;)
Also, it would be perfect to add no robots to the index headers to make hacker's life a bit more interesting

Create user

Would it be possible in a future release to create users?

What is the license?

Hi

I didn't find any license information and specially LICENSE file in the root directory of the project. As you know, despite releasing the source code, not using license means it is a proprietary software.

May you please release the code under one of the approved Free/Libre and Open Source software licenses by FSF or OSI? GPL-3.0 would be great.

Update project

Hi again,
How i can update your project without without reinstalling everything?

Class 'Scriptburn\Settings' not found

Trace

#0 /home1/allofads/public_html/deploy/vendor/pimple/pimple/src/Pimple/Container.php(118): {closure}(Object(Slim\Container))
#1 /home1/allofads/public_html/deploy/vendor/slim/slim/Slim/Container.php(123): Pimple\Container->offsetGet('setting')
#2 /home1/allofads/public_html/deploy/vendor/slim/slim/Slim/Container.php(172): Slim\Container->get('setting')
#3 /home1/allofads/public_html/deploy/app/middleware.php(5): Slim\Container->__get('setting')
#4 [internal function]: Closure->{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
#5 /home1/allofads/public_html/deploy/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Closure), Array)
#6 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
#7 /home1/allofads/public_html/deploy/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
#8 /home1/allofads/public_html/deploy/vendor/bryanjhv/slim-session/src/Slim/Middleware/Session.php(78): Slim\App->Slim{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#9 [internal function]: Slim\Middleware\Session->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#10 /home1/allofads/public_html/deploy/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Slim\Middleware\Session), Array)
#11 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#12 /home1/allofads/public_html/deploy/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#13 /home1/allofads/public_html/deploy/app/middleware.php(38): Slim\App->Slim{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#14 [internal function]: Closure->{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#15 /home1/allofads/public_html/deploy/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Closure), Array)
#16 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#17 /home1/allofads/public_html/deploy/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#18 /home1/allofads/public_html/deploy/vendor/akrabat/ip-address-middleware/src/IpAddress.php(93): Slim\App->Slim{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#19 [internal function]: RKA\Middleware\IpAddress->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#20 /home1/allofads/public_html/deploy/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(RKA\Middleware\IpAddress), Array)
#21 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#22 /home1/allofads/public_html/deploy/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#23 /home1/allofads/public_html/deploy/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#24 /home1/allofads/public_html/deploy/vendor/slim/slim/Slim/App.php(406): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#25 /home1/allofads/public_html/deploy/vendor/slim/slim/Slim/App.php(314): Slim\App->process(Object(Slim\Http\Request), Object(Slim\Http\Response))
#26 /home1/allofads/public_html/deploy/public/index.php(28): Slim\App->run()
#27 {main}

Every time I try to do anything with it..

Question: webhook url

Hi,

first of all thanks for sharing your script! I followed your instructions, got the admin interface running and I created a first project.

The following is unclear to me. You Say

Put http://< your-domain >/webhook as WebHook url in appropriate repository

I did setup a subdomain where the subdomain is pointing to the public folder of your app.
For me it's not clear why providing the http://< your-domain >/webhook as webhook url (in my case in bitbucket) because that folder does not exist. Could you explain what the purpose of that URL is and describe in general terms where the url should point to?

I'm sorry if my question is kind of stupid - would be nice to get some help with this!

EDIT: I won't get a public key for my webserver (it's a shared server..) so never mind..

Trying to configure this in 2020

There were a few deprecated dependencies I had to get past but I managed. Now I'm getting this... It shows that the request failed but the response was 200.

Github is getting this response.
{"status":0,"message":"Unknown remote branch"}

My branch is master so I'm not sure why it wouldn't work... Do I need a local branch maybe?

Question?

Are you still working on this? Otherwise I could contribute some hours if welcomed.

Class 'Scriptburn\Settings' not found

Hello,

I try to install git-auto-deploy but I have an error and I don't undestand why. I'm follow the instructions, I try "composer" installation, "git clone" and "wget .zip" and the result is the same : "Class 'Scriptburn\Settings' not found".

I think is a issue.

Thanks for your work and answer.

error.log

Please provide some more example of deploy script

The provided example of deploy script is not enough please provide some more examples on how to git pull repository on my local folder at my server.
I have two application yii2 and laravel lumen.
I just want to git pull changes to my server once I push changes to gitlab.

Parse error after logon

Parse error: syntax error, unexpected 'list' (T_LIST), expecting identifier (T_STRING) in /home/devrede/deploy.dev.eunarede.com/app/src/Controllers/ProjectsController.php on line 27

This happens after logon

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.