- 30 Dec, 2016 5 commits
-
-
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
-
- 28 Dec, 2016 1 commit
-
-
Alain Takoudjou authored
-
- 21 Dec, 2016 1 commit
-
-
Julien Muchembled authored
No need to parse. This fixes several issues: - key comments were messing up everything - sometimes keys were repeated - no way to remove key
-
- 20 Dec, 2016 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 19 Dec, 2016 4 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
- 16 Dec, 2016 6 commits
-
-
Iliya Manolov authored
The purpose of the added script is to shorten calling neoctl by removing the need to constantly supply things SlapOS can provide on its own like certificates and admin address. A sample command is now as simple as: ~/srv/runner/instance/slappartX/bin/neoctl set cluster STARTING_BACKUP /reviewed-on nexedi/slapos!120
-
Tristan Cavelier authored
As `setuptools.archive_util.unpack_archive` (or self.extract from slapos.recipe.build) is not able to handle .tar.xz archives, tar component is added to wkhtmltopdf build dependencies.
-
Tristan Cavelier authored
-
Tristan Cavelier authored
As wkhtmltopdf sometimes needs to get files in current working directory ONLY, this has to be set correctly. E.g. `wkhtmltopdf toc --xsl-style-sheet no_absolute_path.xsl input.html output.pdf`
-
Julien Muchembled authored
After some upstream refactoring, a #include is missing (at least up to 2.3.14), but still pulled implicitely when openssl is built with engines. This commit fixes the configure step, so that HAVE_OPENSSL_ENGINE is true as expected. More on https://community.openvpn.net/openvpn/ticket/792
-
Ivan Tyagov authored
/reviewed-on !122
-
- 15 Dec, 2016 2 commits
-
-
Nicolas Wavrant authored
-
iv authored
The 'pidfile' parameter is passed to 'createWrapper' method in order to avoid concurrent calls.
-
- 13 Dec, 2016 1 commit
-
-
Kirill Smelkov authored
This reverts commit 7f6729de. ZODB has been switched to ZODB4 in 447b27e6 (Switch from ZODB3 (3.10.7) to ZODB (4.4.4)) including raising transaction version requirement to 1.7.0 so we can try to introduce zodbtools one more time. /proposed-for-review-on nexedi/slapos!121
-
- 12 Dec, 2016 1 commit
-
-
Julien Muchembled authored
-
- 08 Dec, 2016 7 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Julien Muchembled authored
Without it, the interest of tweaking the partition table is limited, because: - it is impossible to free space efficiently - 'optimize table' is even slower
-
Nicolas Wavrant authored
slaprunner: export script shouldn't succeed if the backup of the contained instances are running at the same time
-
Alain Takoudjou authored
-
Julien Muchembled authored
-
- 07 Dec, 2016 1 commit
-
-
Nicolas Wavrant authored
-
- 06 Dec, 2016 1 commit
-
-
Julien Muchembled authored
-
- 05 Dec, 2016 4 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 03 Dec, 2016 1 commit
-
-
Julien Muchembled authored
- version up: setuptools 30.1.0 - revert commit 1d0a8073
-
- 02 Dec, 2016 1 commit
-
-
Nicolas Wavrant authored
-