- 20 Jan, 2017 1 commit
-
-
Alain Takoudjou authored
It sometimes happend that buildout unistall/install the section with this recipe, which remore storage_path file and recreate it. In most of cases this is not wanted because the recipe is used to generate password, so that password will change when this happend. To prevent buildout to remove storage_path, I introduced a new option 'create-once' which, when set to True (the default value) will not let buildout play with storage_path file by returning None in install recipe. Also install won't remove the file if the size is not 0.
-
- 19 Jan, 2017 3 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Yusei Tahara authored
-
- 18 Jan, 2017 4 commits
-
-
Julien Muchembled authored
-
Vincent Pelletier authored
Needed by ERP5 software release.
-
Vincent Pelletier authored
Such complex recipes prevent evolution. Split it into individual components already covered by existing recipes.
-
Kazuhiko Shiozaki authored
-
- 17 Jan, 2017 6 commits
-
-
Tristan Cavelier authored
-
Julien Muchembled authored
The http one was redirecting to it.
-
Kirill Smelkov authored
/reviewed-by: TrustMe
-
Julien Muchembled authored
-
Julien Muchembled authored
In case of failure, it gives a change to inspect test data of the first line.
-
Kazuhiko Shiozaki authored
-
- 16 Jan, 2017 1 commit
-
-
Julien Muchembled authored
-
- 13 Jan, 2017 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 12 Jan, 2017 1 commit
-
-
Kirill Smelkov authored
The watcher should also watch for signals like SIGTERM killing sidekiq, which are trapped by sidekiq, with sidekiq exiting successfully (with exit code 0). To achieve this we rework our watcher-sigkill to be a generic watcher - that can be given a set of restart exit codes including signal names and monitors whether child process terminated with matching for restart exit code. Example usage: watcher 0,SIGKILL prog ... Based on patch by @iv. Discussion: https://lab.nexedi.com/lab.nexedi.com/lab.nexedi.com/issues/25#note_22085
-
- 11 Jan, 2017 3 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
- 09 Jan, 2017 5 commits
-
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
- 06 Jan, 2017 4 commits
-
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Alain Takoudjou authored
Also allow to change promise timeout by editing check_url_PROMISE_TIMEOUT file
-
Alain Takoudjou authored
-
- 05 Jan, 2017 1 commit
-
-
iv authored
An issue on Gitlab SR when pushing on protected branches occurs with git 2.11. Gitlab issue: https://gitlab.com/gitlab-org/gitlab-ce/issues/25601 Fixes: https://lab.nexedi.com/lab.nexedi.com/lab.nexedi.com/issues/37
-
- 04 Jan, 2017 1 commit
-
-
Nicolas Wavrant authored
Getting them from the runner backup avoids to get false positive if some of the instance's backup files were excluded using an exporter.exclude file
-
- 30 Dec, 2016 6 commits
-
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
iv authored
In prevision for gitlab-backup restore to be done in a script. In fact, it requires `sed` command to be available. We have to add /bin to the PATH as `which sed` returns `/bin/sed`.
-
- 29 Dec, 2016 3 commits
-
-
iv authored
# Upgrade * GitLab Software + patches ported to GitLab 8.8.9; * Configs synced with upstream and SlapOS-ified; * Fix promises due to curl upgrade @jerome @kazuhiko @kirr: if you have any comments, I would be glad to read them. There is a [demo instance](https://softinst69126.host.vifib.net) you can try. Check on the demo instance for the Gitlab configuration: - [x] migrations are all `up`, when running: `gitlab-rake db:migrate:status` - [x] promises don't fail (including slow ones) - [x] web UI seems fine - [x] git clone/fetch/push works well - [x] email notifications are sent and Nexedi edition patches: - [x] raw blobs download - [x] private ones with gitlab-ci token `curl -v https://user:token@testinstance/kirr/test/raw/master/hello.txt` - [x] applying patches in merge-request - [x] merge as topic in merge-request - [x] "Nexedi edition" being present on front page and on page footers with ICP - [x] clone protocol is only HTTPS (not SSH) No changes are made in gitlab-workhorse and gitlab-shell upstream this time, but Nexedi patches and a cherry-picked commit are applied in a merge request on gitlab-ce. Note: in order to build the gitlab SR, you need to change gitlab-ce repository to my own, as it is not merged yet: ``` --- a/software/gitlab/software.cfg +++ b/software/gitlab/software.cfg @@ -115,7 +115,7 @@ git-executable = ${git:location}/bin/git [gitlab-repository] <= git-repository #repository = https://gitlab.com/gitlab-org/gitlab-ce.git -repository = https://lab.nexedi.com/nexedi/gitlab-ce.git +repository = https://lab.nexedi.com/iv/gitlab-ce.git ``` # Gitlab backup (pull automation) The idea is to regularly do a gitlab-backup pull for now, so that later, we can add some code to configure the other gitlab instance (not in production) to pull the created backup repo. /reviewed-on nexedi/slapos!124
-
iv authored
- git-clone and build git-backup sources - add a cron job doing `gitlab-backup-pull` every 4 hours by default - add instance parameter to change backup frequency - add xnice for using less resources while backuping - add lock to avoid concurrent calls of backup script - add a specific software type `gitlab-export` doing all this instead of in `default`; this can be changed in Services > parameters (kirr's changes) `coreutils`, `grep` and `tar` components are used by `gitlab-backup-pull` script, as it is called from a cron and the PATH has to include these binaries paths
-