Skip to content

Instantly share code, notes, and snippets.

@consense
consense / gitlab-runner-virtualbox-windows-7.md
Created January 15, 2018 17:50 — forked from vgoma/gitlab-runner-virtualbox-windows-7.md
Gitlab Virtualbox Windows 7 runner

Gitlab Virtualbox Windows 7 runner

Первоисточник

В результате выполнения шагов у вас будет готовый runner на виртуальной машине с Windows 7 с Cygwin, к которой можно будет подключиться по ssh.

Устанавливаем Cygwin

Качаем установочный файл cygwin например в C:\dev\cygwin.

Пакеты для Cygwin устанавливаются именно из него

Запускаем файл с правами администратора:

@consense
consense / .git_hooks_pre-commit
Created May 8, 2017 13:44 — forked from leucos/.git_hooks_pre-commit
ansible-vault pre-commit hook
#!/bin/sh
#
# Pre-commit hook that verifies if all files containing 'vault' in the name
# are encrypted.
# If not, commit will fail with an error message
#
# Original author: @ralovely
# https://www.reinteractive.net/posts/167-ansible-real-life-good-practices
#
# File should be .git/hooks/pre-commit and executable