scriptburn / git-auto-deploy Goto Github PK
View Code? Open in Web Editor NEWDeploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or web hooks
Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or web hooks
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?
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
Hey, nice app, but there are some things I dont get:
ssh-copy-id -i ~/.ssh/mykey user@host
which is almost default?Thanks!
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
Would it be possible in a future release to create users?
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.
Hi again,
How i can update your project without without reinstalling everything?
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..
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..
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?
Are you still working on this? Otherwise I could contribute some hours if welcomed.
I had my domain point to the /public folder ... but i got a 404. May i know i did anything wrong? Where should the domain point to and are there additional configs i need to know about
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.
Hi, i tried to install your project but i got this error:
Unable to connect to db:SQLSTATE[HY000]: General error: 1364 Field 'email' doesn't have a default value
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: 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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.