summaryrefslogtreecommitdiffstats
path: root/GitAutoDeploy.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix truncated command and optionsAurelio Jargas2016-06-101-1/+1
| | | | | | | | | | | | | | | Before: ```console $ python GitAutoDeploy.py --daemon-mode [WARNING] GitAutoDeploy.py is deprecated. Please use 'python gitautodeploy--daemon-mode' instead. ``` Now: ```console $ python GitAutoDeploy.py --daemon-mode [WARNING] GitAutoDeploy.py is deprecated. Please use 'python gitautodeploy --daemon-mode' instead. ```
* Merge with stuff from masterOliver Poignant2016-03-131-1/+0
|\
| * Post PR editsOliver Poignant2016-03-131-8/+3
| |
| * Changes to a more versatile filter mechanism.ETL2016-03-121-28/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | I found myself needing to filter the build events using the build status (GitLab sends web hook events on build status changes so you get "running" events which aren't very useful in deploy context). Instead of building a whole lot of variable, parsing all possible options I or others may want in the future, I coded the changes so that any element from the web hook data is simply available for filtering. I put in some code so that the earlier functionality works too - specifically the action filter option which isn't an attribute in GitLab's web hook data.
* | MergeOliver Poignant2016-03-121-0/+1
|\ \ | |/
| * Modified event filtering implementation (same behavior)Oliver Poignant2016-03-121-11/+33
| |
| * Adds event filtering support for GitLab and documentation.ETL2016-03-111-3/+14
| | | | | | | | | | | | | | Filtering is now possible with GitLab events using the action and ref values. Documentation for the configuration file also added. Fixes #74 and relates to #43
| * Fixed new issue with GitWrapperOliver Poignant2016-03-061-7/+1
| |
* | Moved init filesOliver Poignant2016-03-121-1/+1
| |
* | Renamed start scriptOliver Poignant2016-03-061-1/+1
| |
* | Moved files around into new project structureOliver Poignant2016-03-061-11/+5
| |
* | Module based file structure. Separated service specific implementations into ↵Oliver Poignant2016-03-061-940/+1
|/ | | | their own classes.
* CleanupOliver Poignant2016-03-061-6/+15
|
* Fixed mistage. Cleanup.Oliver Poignant2016-03-061-17/+30
|
* Updated docs. Removed shortcuts.Oliver Poignant2016-03-061-4/+4
|
* Added more command line and environment variable optionsOliver Poignant2016-03-061-2/+39
|
* Added the ability to configure one repository using environment variablesOliver Poignant2016-03-061-9/+48
|
* Support for basic configuration based on environment variablesOliver Poignant2016-03-051-1/+13
|
* Use of argparse module for argument parsing. Code cleanup.Oliver Poignant2016-03-051-30/+38
|
* Fixed issue with daemon mode due to new logging. Fixed issue that occurred ↵Oliver Poignant2016-03-051-50/+31
| | | | when no logging handler were present (nor terminal nor file). Simplified config handling.
* Fixed issue with new logging implementation. Simplified config initialization.Oliver Poignant2016-03-051-49/+81
|
* Improved use of logging module. Refactoring.Oliver Poignant2016-03-051-58/+88
|
* Refactoring and cleanup after last PROliver Poignant2016-03-051-64/+108
|
* PEP8 polishingOliver Poignant2016-03-041-21/+18
|
* now stdout from console command write in a log file tooOleg Levitsky2016-02-281-15/+38
|
* add get_base_config method to log initial eventsOleg Levitsky2016-02-271-21/+34
|
* Try to add loggingOleg Levitsky2016-02-271-53/+69
|
* now you can leave path key in config empty and repo will not cloneOleg Levisky2016-02-271-46/+62
|
* add reading parameters from pull requestOleg Levisky2016-02-271-11/+29
|
* Improve clone error message; Refactor if statementsTorben2015-12-111-5/+2
|
* Fix cloning error when config defines no branchTorben2015-12-111-1/+4
|
* Add branch option to clone command lineTorben2015-12-111-3/+6
|
* Replace push event handler for old GitLab syntax by generic push event handlerTorben2015-12-081-15/+16
|
* add option: remoteJulien Bisconti2015-12-031-2/+3
|
* Refactoringv0.1Oliver Poignant2015-09-191-6/+22
|
* Merge branch 'gitlabci-support' of https://github.com/ares86/Git-Auto-Deploy ↵Oliver Poignant2015-09-191-13/+35
|\ | | | | | | into ares86-gitlabci-support
| * Improving Gitlab CI supportAlvaro Echeverria2015-09-181-10/+8
| |
| * Adding basic support for Gitlab CIAlvaro Echeverria2015-09-181-13/+37
| |
* | Fixed bug causing config scan to not work when starting in daemon modeOliver Poignant2015-09-191-3/+9
|/
* Fixed incorrect hardcoded pathOliver Poignant2015-08-281-2/+2
|
* Removed git update-index since it makes deployment fail in some casesOliver Poignant2015-08-231-1/+2
|
* Added legacy detection code for older GitLab versionsOliver Poignant2015-08-231-0/+11
|
* Avoid crash when user agent http header is missingOliver Poignant2015-08-231-3/+2
|
* Improved daemon support. Scanning for config files.Oliver Poignant2015-08-201-7/+83
|
* Fixed new bug in daemon mode. Fixed bug where git pull were invoked twice.Oliver Poignant2015-08-201-21/+25
|
* Improved Bitbucket support. Support for deploying one repository to multiple ↵Oliver Poignant2015-08-191-37/+54
| | | | destinations.
* Fixed bug in bitbucket repo URLsOliver Poignant2015-08-191-1/+5
|
* Updated documentationOliver Poignant2015-08-191-2/+9
|
* Implemented fs mutex lock in Python instead of shOliver Poignant2015-08-181-48/+111
|
* RefactoringOliver Poignant2015-08-181-266/+315
|
* PEP 8 and refactoringOliver Poignant2015-08-161-307/+367
|
* Merge pull request #28 from letorbi/submodule-supportOliver Poignant2015-07-091-2/+2
|\ | | | | Fix for locked repo bug & submodule support
| * Add support for git submodulesTorben2015-07-071-2/+2
| |
| * Fix locked repo bug by updating git deploy command lineTorben2015-07-071-1/+1
| |
* | Make HTTP server listen only on localhost by default; Add config option to ↵Torben2015-07-071-1/+3
|/ | | | change listen host
* Added --ssh-keyscan option.Alexander Kjeldaas2015-06-061-1/+16
|
* Merge branch 'clone' into lockchivorotkiv2015-05-101-1/+6
|\
| * If repo is not yet cloned, try to clone it instead of erroringchivorotkiv2015-05-031-1/+6
| | | | | | | | Got it here: https://github.com/Phyks/Github-Gitlab-Auto-Deploy/commit/35a6571b66699b0b053bbbf2ab6d9628e27ac509
* | Fix stupid error.chivorotkiv2015-05-091-2/+3
| |
* | Remove lock files on startup.chivorotkiv2015-05-091-0/+4
| |
* | Make "pull" process more stable: Reduce probability of .git/index.lock problemchivorotkiv2015-05-031-3/+6
| |
* | If deploy process is already running the second thread is waiting for finish ↵chivorotkiv2015-05-021-3/+17
|/ | | | and repeats deploy process. Third, fourth and all other threads see that some thread is waiting and do nothing just exit.
* Fix case if there is no branch in config filechivorotkiv2015-05-021-1/+1
|
* Configure branch name in config filechivorotkiv2015-05-021-7/+10
|
* Fix invalid syntaxAlexander Nestorov2014-11-201-1/+1
|
* WIP Start working on #17Alexander Nestorov2014-10-301-12/+38
|
* Set some more exit codes when things went wrongAlexander Nestorov2014-10-161-3/+3
|
* Play nicer with some shells and exit code/statusAlexander Nestorov2014-10-151-7/+11
|
* Hard reset to origin, no matter whatAlexander Nestorov2014-10-081-1/+1
|
* Reply to GitHub/Gitlab immediately to avoid false errors/timeouts while ↵Alexander Nestorov2014-10-041-0/+4
| | | | waiting the deploy to finish
* Now this is even better!Alexander Nestorov2014-10-041-1/+1
|
* Avoid SIGPIPE (Broken pipe errno 32) errorAlexander Nestorov2014-10-031-0/+1
|
* Revert "Reset to HEAD better"Alexander Nestorov2014-09-251-1/+1
| | | | This reverts commit 1ada5d09e53d877c232ff260abd3a2174a34b5b1.
* Reset to HEAD betterAlexander Nestorov2014-09-251-1/+1
|
* Remove some debug printsAlexander Nestorov2014-09-231-2/+0
|
* New option to force run when port is used'J.A. Nache2014-09-201-8/+33
|
* Simplify a little bit the signal handlerAlexander Nestorov2014-09-201-7/+5
|
* Small code enhancementAlexander Nestorov2014-09-201-1/+1
|
* Close pid file after RWAlexander Nestorov2014-09-201-7/+4
|
* Python is not CAlexander Nestorov2014-09-201-3/+3
|
* Make debug code throw less exceptions and be more readable, less levels of ↵Alexander Nestorov2014-09-201-38/+47
| | | | indent
* Debug code, detect process running at configured portJ.A. Nache2014-09-191-3/+44
|
* kill -HUP now restart server, socket error handler, pid file generatorJ.A. Nache2014-09-191-9/+39
|
* Add global deploy commandsAlexander Nestorov2014-09-191-3/+16
|
* Implement signal handler for kill -HUP and more laterJ.A. Nache2014-09-191-15/+21
|
* Speed up a little bit Gitlab vs Github parsingAlexander Nestorov2014-09-181-3/+2
|
* Do not use Yoda statementsAlexander Nestorov2014-09-181-1/+1
|
* Call respond() after finishing deployAlexander Nestorov2014-09-181-0/+1
|
* Do a hard pull to avoid conflictsAlexander Nestorov2014-09-181-7/+7
|
* GitLab supportOliver Poignant2013-06-061-104/+114
|
* Add support for deploying from same repoStuart Carnie2012-12-181-5/+8
| | | Same source URL can be used to deploy to multiple local repositories
* Added script header - fixes #5Logsol2012-11-201-0/+2
|
* daemon-mode is mis-spelled - fixes #3Logsol2012-11-201-5/+5
|
* using && instead of ; between directory change and subsequent command. fixes #2logsol2012-06-231-2/+2
|
* added deamon modelogsol2011-12-261-4/+16
|
* improved exception handling and output controllogsol2011-12-251-17/+28
|
* initial commitlogsol2011-12-241-0/+88