volanja / ansible-gitlab Goto Github PK
View Code? Open in Web Editor NEWGitlab by ansible
Gitlab by ansible
push時に以下のエラーが出てPushできない。
$ git push -u origin master
fatal: 'username/test01.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
この時のoriginは以下のとおり。
[email protected]:username/test01.git
以下のようにすればアクセス(push)できるが、変なのでrepositoriesなしでもpushできるようにしたい。
[email protected]:repositories/username/test01.git
参考
https://github.com/gitlabhq/gitlabhq/issues/3686
https://github.com/gitlabhq/gitlab-public-wiki/wiki/Trouble-Shooting-Guide#wiki-could-not-read-from-remote-repository
https://app.wercker.com/#buildstep/5550ce373ff4b3ee380c3ee0
TASK: [gitlab | Initialize Database and Activate Advanced Features] ***********
failed: [dest] => {"changed": true, "cmd": "export force=yes && bundle exec rake gitlab:setup RAILS_ENV=production", "delta": "0:00:07.942081", "end": "2015-05-11 15:56:59.871571", "rc": 1, "start": "2015-05-11 15:56:51.929490", "warnings": []}
stderr: /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/fog-core-1.21.1/lib/fog/core/collection.rb:148: warning: circular argument reference - filters
/home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/fog-1.21.0/lib/fog/rackspace/mock_data.rb:43: warning: duplicated key at line 81 ignored: "name"
rake aborted!
ExecJS::RuntimeUnavailable: Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes.
/home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/execjs-2.0.2/lib/execjs/runtimes.rb:51:in `autodetect'
/home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/execjs-2.0.2/lib/execjs.rb:5:in `<module:ExecJS>'
/home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/execjs-2.0.2/lib/execjs.rb:4:in `<top (required)>'
/home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:247:in `require'
/home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:247:in `block in require'
/home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:232:in `load_dependency'
/home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:247:in `require'
/home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `<top (required)>'
/home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:247:in `require'
/home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:247:in `block in require'
/home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:232:in `load_dependency'
/home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:247:in `require'
/home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `<top (required)>'
/home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:247:in `require'
/home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:247:in `block in require'
/home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:232:in `load_dependency'
/home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:247:in `require'
/home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/coffee-rails-4.0.1/lib/coffee-rails.rb:1:in `<top (required)>'
/home/git/gitlab/config/application.rb:6:in `<top (required)>'
/home/git/gitlab/Rakefile:5:in `require'
/home/git/gitlab/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)
FATAL: all hosts have already failed -- aborting
But nginx & postgresql false. Because it manually install.
OAuthプラグインを追加し、RedmineをOAuthプロバイダとして用いる。
Redmineの起動ユーザがGitlabの起動ユーザと同一グループでも/home/git/repositoriesを参照できない。
NginxとGitlabの設定値を変更する。
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.